rk30: io: add DDR_PCTL and DDR_PUBL map

This commit is contained in:
黄涛
2012-03-28 16:21:34 +08:00
parent 8bafdf91e5
commit a1cb08641a
2 changed files with 4 additions and 0 deletions

View File

@@ -157,6 +157,7 @@
#define RK30_DMAC1_PHYS 0x2001c000
#define RK30_DMAC1_SIZE SZ_16K
#define RK30_DDR_PCTL_PHYS 0x20020000
#define RK30_DDR_PCTL_BASE RK30_IO_TO_VIRT1(RK30_DDR_PCTL_PHYS)
#define RK30_DDR_PCTL_SIZE SZ_16K
#define RK30_I2C0_PHYS 0x2002c000
@@ -182,6 +183,7 @@
#define RK30_GPIO2_BASE RK30_IO_TO_VIRT1(RK30_GPIO2_PHYS)
#define RK30_GPIO2_SIZE SZ_8K
#define RK30_DDR_PUBL_PHYS 0x20040000
#define RK30_DDR_PUBL_BASE RK30_IO_TO_VIRT1(RK30_DDR_PUBL_PHYS)
#define RK30_DDR_PUBL_SIZE SZ_16K
#define RK30_WDT_PHYS 0x2004c000

View File

@@ -53,6 +53,8 @@ static struct map_desc rk30_io_desc[] __initdata = {
RK30_DEVICE(TIMER2),
RK30_DEVICE(PWM01),
RK30_DEVICE(PWM23),
RK30_DEVICE(DDR_PCTL),
RK30_DEVICE(DDR_PUBL),
};
void __init rk30_map_common_io(void)