|
|
|
@ -132,4 +132,88 @@ typedef volatile struct GPIO_registers {
|
|
|
|
|
#define GAFR2_L_OFFSET 0x64
|
|
|
|
|
#define GAFR2_U_OFFSET 0x68
|
|
|
|
|
|
|
|
|
|
/* GPIO bits */
|
|
|
|
|
|
|
|
|
|
#define GPIO0_GP0 bit(0)
|
|
|
|
|
#define GPIO0_GP1 bit(1)
|
|
|
|
|
#define GPIO0_GP2 bit(2)
|
|
|
|
|
#define GPIO0_GP3 bit(3)
|
|
|
|
|
#define GPIO0_GP4 bit(4)
|
|
|
|
|
#define GPIO0_GP5 bit(5)
|
|
|
|
|
#define GPIO0_GP6 bit(6)
|
|
|
|
|
#define GPIO0_GP7 bit(7)
|
|
|
|
|
#define GPIO0_GP8 bit(8)
|
|
|
|
|
#define GPIO0_GP9 bit(9)
|
|
|
|
|
#define GPIO0_GP10 bit(10)
|
|
|
|
|
#define GPIO0_GP11 bit(11)
|
|
|
|
|
#define GPIO0_GP12 bit(12)
|
|
|
|
|
#define GPIO0_GP13 bit(13)
|
|
|
|
|
#define GPIO0_GP14 bit(14)
|
|
|
|
|
#define GPIO0_GP15 bit(15)
|
|
|
|
|
#define GPIO0_GP16 bit(16)
|
|
|
|
|
#define GPIO0_GP17 bit(17)
|
|
|
|
|
#define GPIO0_GP18 bit(18)
|
|
|
|
|
#define GPIO0_GP19 bit(19)
|
|
|
|
|
#define GPIO0_GP20 bit(20)
|
|
|
|
|
#define GPIO0_GP21 bit(21)
|
|
|
|
|
#define GPIO0_GP22 bit(22)
|
|
|
|
|
#define GPIO0_GP23 bit(23)
|
|
|
|
|
#define GPIO0_GP24 bit(24)
|
|
|
|
|
#define GPIO0_GP25 bit(25)
|
|
|
|
|
#define GPIO0_GP26 bit(26)
|
|
|
|
|
#define GPIO0_GP27 bit(27)
|
|
|
|
|
#define GPIO0_GP28 bit(28)
|
|
|
|
|
#define GPIO0_GP29 bit(29)
|
|
|
|
|
#define GPIO0_GP30 bit(30)
|
|
|
|
|
#define GPIO0_GP31 bit(31)
|
|
|
|
|
#define GPIO1_GP32 bit(0)
|
|
|
|
|
#define GPIO1_GP33 bit(1)
|
|
|
|
|
#define GPIO1_GP34 bit(2)
|
|
|
|
|
#define GPIO1_GP35 bit(3)
|
|
|
|
|
#define GPIO1_GP36 bit(4)
|
|
|
|
|
#define GPIO1_GP37 bit(5)
|
|
|
|
|
#define GPIO1_GP38 bit(6)
|
|
|
|
|
#define GPIO1_GP39 bit(7)
|
|
|
|
|
#define GPIO1_GP40 bit(8)
|
|
|
|
|
#define GPIO1_GP41 bit(9)
|
|
|
|
|
#define GPIO1_GP42 bit(10)
|
|
|
|
|
#define GPIO1_GP43 bit(11)
|
|
|
|
|
#define GPIO1_GP44 bit(12)
|
|
|
|
|
#define GPIO1_GP45 bit(13)
|
|
|
|
|
#define GPIO1_GP46 bit(14)
|
|
|
|
|
#define GPIO1_GP47 bit(15)
|
|
|
|
|
#define GPIO1_GP48 bit(16)
|
|
|
|
|
#define GPIO1_GP49 bit(17)
|
|
|
|
|
#define GPIO1_GP50 bit(18)
|
|
|
|
|
#define GPIO1_GP51 bit(19)
|
|
|
|
|
#define GPIO1_GP52 bit(20)
|
|
|
|
|
#define GPIO1_GP53 bit(21)
|
|
|
|
|
#define GPIO1_GP54 bit(22)
|
|
|
|
|
#define GPIO1_GP55 bit(23)
|
|
|
|
|
#define GPIO1_GP56 bit(24)
|
|
|
|
|
#define GPIO1_GP57 bit(25)
|
|
|
|
|
#define GPIO1_GP58 bit(26)
|
|
|
|
|
#define GPIO1_GP59 bit(27)
|
|
|
|
|
#define GPIO1_GP60 bit(28)
|
|
|
|
|
#define GPIO1_GP61 bit(29)
|
|
|
|
|
#define GPIO1_GP62 bit(30)
|
|
|
|
|
#define GPIO1_GP63 bit(31)
|
|
|
|
|
#define GPIO2_GP64 bit(0)
|
|
|
|
|
#define GPIO2_GP65 bit(1)
|
|
|
|
|
#define GPIO2_GP66 bit(2)
|
|
|
|
|
#define GPIO2_GP67 bit(3)
|
|
|
|
|
#define GPIO2_GP68 bit(4)
|
|
|
|
|
#define GPIO2_GP69 bit(5)
|
|
|
|
|
#define GPIO2_GP70 bit(6)
|
|
|
|
|
#define GPIO2_GP71 bit(7)
|
|
|
|
|
#define GPIO2_GP72 bit(8)
|
|
|
|
|
#define GPIO2_GP73 bit(9)
|
|
|
|
|
#define GPIO2_GP74 bit(10)
|
|
|
|
|
#define GPIO2_GP75 bit(11)
|
|
|
|
|
#define GPIO2_GP76 bit(12)
|
|
|
|
|
#define GPIO2_GP77 bit(13)
|
|
|
|
|
#define GPIO2_GP78 bit(14)
|
|
|
|
|
#define GPIO2_GP79 bit(15)
|
|
|
|
|
#define GPIO2_GP80 bit(16)
|
|
|
|
|
|
|
|
|
|
#endif /* PXA2X0_GPIO_H */
|
|
|
|
|