include/asm-arm/arch-mx6/mx6.h:
#define GPIO3_BASE_ADDR (AIPS1_OFF_BASE_ADDR + 0x24000)
#define AIPS1_OFF_BASE_ADDR (ATZ1_BASE_ADDR + 0x80000)
#define ATZ1_BASE_ADDR AIPS1_ARB_BASE_ADDR
#define AIPS1_ARB_BASE_ADDR 0x02000000
GDIR
#define GPIO_GDIR 0x04
20E_03A8 reset value:0001_B0B0h
Address: 20E_0000h base + 3A8h offset = 20E_03A8h
2000000
80000
24000
20a4000
///
i2c2
KEY_COL3 SW_PAD_CTL_PAD_KEY_COL3 20E_05E0
Address: 20E_0000h base + 5E0h offset = 20E_05E0h
KEY_ROW3 SW_PAD_CTL_PAD_KEY_ROW3 20E_05E4
Address: 20E_0000h base + 5E4h offset = 20E_05E4h
GPIO4_BASE_ADDR + GPIO_DR
#define GPIO4_BASE_ADDR (AIPS1_OFF_BASE_ADDR + 0x28000)
#define AIPS1_OFF_BASE_ADDR (ATZ1_BASE_ADDR + 0x80000)
#define ATZ1_BASE_ADDR AIPS1_ARB_BASE_ADDR
#define AIPS1_ARB_BASE_ADDR 0x02000000
#define GPIO_DR 0x00
2000000
80000
28000