device source code for phoenix base on A20