diff options
Diffstat (limited to 'arch/mips/jmr3927/rbhma3100/setup.c')
-rw-r--r-- | arch/mips/jmr3927/rbhma3100/setup.c | 61 |
1 files changed, 49 insertions, 12 deletions
diff --git a/arch/mips/jmr3927/rbhma3100/setup.c b/arch/mips/jmr3927/rbhma3100/setup.c index 9359cc413494..308e6cdcd245 100644 --- a/arch/mips/jmr3927/rbhma3100/setup.c +++ b/arch/mips/jmr3927/rbhma3100/setup.c | |||
@@ -82,17 +82,54 @@ struct { | |||
82 | struct resource sio0; | 82 | struct resource sio0; |
83 | struct resource sio1; | 83 | struct resource sio1; |
84 | } jmr3927_resources = { | 84 | } jmr3927_resources = { |
85 | { "RAM0", 0, 0x01FFFFFF, IORESOURCE_MEM }, | 85 | { |
86 | { "RAM1", 0x02000000, 0x03FFFFFF, IORESOURCE_MEM }, | 86 | .start = 0, |
87 | { "PCIMEM", 0x08000000, 0x07FFFFFF, IORESOURCE_MEM }, | 87 | .end = 0x01FFFFFF, |
88 | { "IOB", 0x10000000, 0x13FFFFFF }, | 88 | .name = "RAM0", |
89 | { "IOC", 0x14000000, 0x14FFFFFF }, | 89 | .flags = IORESOURCE_MEM |
90 | { "PCIIO", 0x15000000, 0x15FFFFFF }, | 90 | }, { |
91 | { "JMY1394", 0x1D000000, 0x1D3FFFFF }, | 91 | .start = 0x02000000, |
92 | { "ROM1", 0x1E000000, 0x1E3FFFFF }, | 92 | .end = 0x03FFFFFF, |
93 | { "ROM0", 0x1FC00000, 0x1FFFFFFF }, | 93 | .name = "RAM1", |
94 | { "SIO0", 0xFFFEF300, 0xFFFEF3FF }, | 94 | .flags = IORESOURCE_MEM |
95 | { "SIO1", 0xFFFEF400, 0xFFFEF4FF }, | 95 | }, { |
96 | .start = 0x08000000, | ||
97 | .end = 0x07FFFFFF, | ||
98 | .name = "PCIMEM", | ||
99 | .flags = IORESOURCE_MEM | ||
100 | }, { | ||
101 | .start = 0x10000000, | ||
102 | .end = 0x13FFFFFF, | ||
103 | .name = "IOB" | ||
104 | }, { | ||
105 | .start = 0x14000000, | ||
106 | .end = 0x14FFFFFF, | ||
107 | .name = "IOC" | ||
108 | }, { | ||
109 | .start = 0x15000000, | ||
110 | .end = 0x15FFFFFF, | ||
111 | .name = "PCIIO" | ||
112 | }, { | ||
113 | .start = 0x1D000000, | ||
114 | .end = 0x1D3FFFFF, | ||
115 | .name = "JMY1394" | ||
116 | }, { | ||
117 | .start = 0x1E000000, | ||
118 | .end = 0x1E3FFFFF, | ||
119 | .name = "ROM1" | ||
120 | }, { | ||
121 | .start = 0x1FC00000, | ||
122 | .end = 0x1FFFFFFF, | ||
123 | .name = "ROM0" | ||
124 | }, { | ||
125 | .start = 0xFFFEF300, | ||
126 | .end = 0xFFFEF3FF, | ||
127 | .name = "SIO0" | ||
128 | }, { | ||
129 | .start = 0xFFFEF400, | ||
130 | .end = 0xFFFEF4FF, | ||
131 | .name = "SIO1" | ||
132 | }, | ||
96 | }; | 133 | }; |
97 | 134 | ||
98 | /* don't enable - see errata */ | 135 | /* don't enable - see errata */ |
@@ -201,7 +238,7 @@ static void jmr3927_board_init(void); | |||
201 | extern struct resource pci_io_resource; | 238 | extern struct resource pci_io_resource; |
202 | extern struct resource pci_mem_resource; | 239 | extern struct resource pci_mem_resource; |
203 | 240 | ||
204 | void __init plat_setup(void) | 241 | void __init plat_mem_setup(void) |
205 | { | 242 | { |
206 | char *argptr; | 243 | char *argptr; |
207 | 244 | ||