ARM: LPC32xx: DTS adjustment for using pl18x primecell
[deliverable/linux.git] / arch / arm / boot / dts / lpc32xx.dtsi
CommitLineData
e04920d9
RS
1/*
2 * NXP LPC32xx SoC
3 *
4 * Copyright 2012 Roland Stigge <stigge@antcom.de>
5 *
6 * The code contained herein is licensed under the GNU General Public
7 * License. You may obtain a copy of the GNU General Public License
8 * Version 2 or later at the following locations:
9 *
10 * http://www.opensource.org/licenses/gpl-license.html
11 * http://www.gnu.org/copyleft/gpl.html
12 */
13
14/include/ "skeleton.dtsi"
15
16/ {
17 compatible = "nxp,lpc3220";
18 interrupt-parent = <&mic>;
19
20 cpus {
21 cpu@0 {
22 compatible = "arm,arm926ejs";
23 };
24 };
25
26 ahb {
27 #address-cells = <1>;
28 #size-cells = <1>;
29 compatible = "simple-bus";
30 ranges = <0x20000000 0x20000000 0x30000000>;
31
32 /*
33 * Enable either SLC or MLC
34 */
35 slc: flash@20020000 {
36 compatible = "nxp,lpc3220-slc";
37 reg = <0x20020000 0x1000>;
38 status = "disable";
39 };
40
6d1c3e93 41 mlc: flash@200a8000 {
e04920d9 42 compatible = "nxp,lpc3220-mlc";
6d1c3e93
RS
43 reg = <0x200a8000 0x11000>;
44 interrupts = <11 0>;
e04920d9
RS
45 status = "disable";
46 };
47
48 dma@31000000 {
49 compatible = "arm,pl080", "arm,primecell";
50 reg = <0x31000000 0x1000>;
51 interrupts = <0x1c 0>;
52 };
53
54 /*
55 * Enable either ohci or usbd (gadget)!
56 */
57 ohci@31020000 {
58 compatible = "nxp,ohci-nxp", "usb-ohci";
59 reg = <0x31020000 0x300>;
60 interrupts = <0x3b 0>;
61 status = "disable";
62 };
63
64 usbd@31020000 {
65 compatible = "nxp,lpc3220-udc";
66 reg = <0x31020000 0x300>;
67 interrupts = <0x3d 0>, <0x3e 0>, <0x3c 0>, <0x3a 0>;
68 status = "disable";
69 };
70
71 clcd@31040000 {
72 compatible = "arm,pl110", "arm,primecell";
73 reg = <0x31040000 0x1000>;
74 interrupts = <0x0e 0>;
75 status = "disable";
76 };
77
78 mac: ethernet@31060000 {
79 compatible = "nxp,lpc-eth";
80 reg = <0x31060000 0x1000>;
81 interrupts = <0x1d 0>;
82 };
83
84 apb {
85 #address-cells = <1>;
86 #size-cells = <1>;
87 compatible = "simple-bus";
88 ranges = <0x20000000 0x20000000 0x30000000>;
89
90 ssp0: ssp@20084000 {
91 compatible = "arm,pl022", "arm,primecell";
92 reg = <0x20084000 0x1000>;
93 interrupts = <0x14 0>;
94 };
95
96 spi1: spi@20088000 {
97 compatible = "nxp,lpc3220-spi";
98 reg = <0x20088000 0x1000>;
99 };
100
101 ssp1: ssp@2008c000 {
102 compatible = "arm,pl022", "arm,primecell";
103 reg = <0x2008c000 0x1000>;
104 interrupts = <0x15 0>;
105 };
106
107 spi2: spi@20090000 {
108 compatible = "nxp,lpc3220-spi";
109 reg = <0x20090000 0x1000>;
110 };
111
112 i2s0: i2s@20094000 {
113 compatible = "nxp,lpc3220-i2s";
114 reg = <0x20094000 0x1000>;
115 };
116
117 sd@20098000 {
2c7fa286 118 compatible = "arm,pl18x", "arm,primecell";
e04920d9
RS
119 reg = <0x20098000 0x1000>;
120 interrupts = <0x0f 0>, <0x0d 0>;
2c7fa286 121 status = "disabled";
e04920d9
RS
122 };
123
124 i2s1: i2s@2009C000 {
125 compatible = "nxp,lpc3220-i2s";
126 reg = <0x2009C000 0x1000>;
127 };
128
129 uart3: serial@40080000 {
130 compatible = "nxp,serial";
131 reg = <0x40080000 0x1000>;
132 };
133
134 uart4: serial@40088000 {
135 compatible = "nxp,serial";
136 reg = <0x40088000 0x1000>;
137 };
138
139 uart5: serial@40090000 {
140 compatible = "nxp,serial";
141 reg = <0x40090000 0x1000>;
142 };
143
144 uart6: serial@40098000 {
145 compatible = "nxp,serial";
146 reg = <0x40098000 0x1000>;
147 };
148
149 i2c1: i2c@400A0000 {
150 compatible = "nxp,pnx-i2c";
151 reg = <0x400A0000 0x100>;
152 interrupts = <0x33 0>;
153 #address-cells = <1>;
154 #size-cells = <0>;
155 pnx,timeout = <0x64>;
156 };
157
158 i2c2: i2c@400A8000 {
159 compatible = "nxp,pnx-i2c";
160 reg = <0x400A8000 0x100>;
161 interrupts = <0x32 0>;
162 #address-cells = <1>;
163 #size-cells = <0>;
164 pnx,timeout = <0x64>;
165 };
166
167 i2cusb: i2c@31020300 {
168 compatible = "nxp,pnx-i2c";
169 reg = <0x31020300 0x100>;
170 interrupts = <0x3f 0>;
171 #address-cells = <1>;
172 #size-cells = <0>;
173 pnx,timeout = <0x64>;
174 };
175 };
176
177 fab {
178 #address-cells = <1>;
179 #size-cells = <1>;
180 compatible = "simple-bus";
181 ranges = <0x20000000 0x20000000 0x30000000>;
182
183 /*
184 * MIC Interrupt controller includes:
185 * MIC @40008000
186 * SIC1 @4000C000
187 * SIC2 @40010000
188 */
189 mic: interrupt-controller@40008000 {
190 compatible = "nxp,lpc3220-mic";
191 interrupt-controller;
192 reg = <0x40008000 0xC000>;
193 #interrupt-cells = <2>;
194 };
195
196 uart1: serial@40014000 {
197 compatible = "nxp,serial";
198 reg = <0x40014000 0x1000>;
199 };
200
201 uart2: serial@40018000 {
202 compatible = "nxp,serial";
203 reg = <0x40018000 0x1000>;
204 };
205
206 uart7: serial@4001C000 {
207 compatible = "nxp,serial";
208 reg = <0x4001C000 0x1000>;
209 };
210
211 rtc@40024000 {
212 compatible = "nxp,lpc3220-rtc";
213 reg = <0x40024000 0x1000>;
214 interrupts = <0x34 0>;
215 };
216
217 gpio: gpio@40028000 {
218 compatible = "nxp,lpc3220-gpio";
219 reg = <0x40028000 0x1000>;
a035254a
RS
220 gpio-controller;
221 #gpio-cells = <3>; /* bank, pin, flags */
e04920d9
RS
222 };
223
224 watchdog@4003C000 {
225 compatible = "nxp,pnx4008-wdt";
226 reg = <0x4003C000 0x1000>;
227 };
228
229 /*
230 * TSC vs. ADC: Since those two share the same
231 * hardware, you need to choose from one of the
232 * following two and do 'status = "okay";' for one of
233 * them
234 */
235
236 adc@40048000 {
237 compatible = "nxp,lpc3220-adc";
238 reg = <0x40048000 0x1000>;
239 interrupts = <0x27 0>;
240 status = "disable";
241 };
242
243 tsc@40048000 {
244 compatible = "nxp,lpc3220-tsc";
245 reg = <0x40048000 0x1000>;
246 interrupts = <0x27 0>;
247 status = "disable";
248 };
249
250 key@40050000 {
251 compatible = "nxp,lpc3220-key";
252 reg = <0x40050000 0x1000>;
a6d1be0e
RS
253 interrupts = <54 0>;
254 status = "disabled";
e04920d9
RS
255 };
256
257 };
258 };
259};
This page took 0.229479 seconds and 5 git commands to generate.