mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
rk30: io: add DDR_PCTL and DDR_PUBL map
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user