blob: 254d586d4b1a90383e3eadece3592df75d9ef65d [file] [log] [blame]
Roland Stiggee04920d2012-04-22 12:01:19 +02001/*
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
Roland Stigge6d1c3e92012-06-14 16:16:17 +020041 mlc: flash@200a8000 {
Roland Stiggee04920d2012-04-22 12:01:19 +020042 compatible = "nxp,lpc3220-mlc";
Roland Stigge6d1c3e92012-06-14 16:16:17 +020043 reg = <0x200a8000 0x11000>;
44 interrupts = <11 0>;
Roland Stiggee04920d2012-04-22 12:01:19 +020045 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 {
118 compatible = "arm,pl180", "arm,primecell";
119 reg = <0x20098000 0x1000>;
120 interrupts = <0x0f 0>, <0x0d 0>;
121 };
122
123 i2s1: i2s@2009C000 {
124 compatible = "nxp,lpc3220-i2s";
125 reg = <0x2009C000 0x1000>;
126 };
127
128 uart3: serial@40080000 {
129 compatible = "nxp,serial";
130 reg = <0x40080000 0x1000>;
131 };
132
133 uart4: serial@40088000 {
134 compatible = "nxp,serial";
135 reg = <0x40088000 0x1000>;
136 };
137
138 uart5: serial@40090000 {
139 compatible = "nxp,serial";
140 reg = <0x40090000 0x1000>;
141 };
142
143 uart6: serial@40098000 {
144 compatible = "nxp,serial";
145 reg = <0x40098000 0x1000>;
146 };
147
148 i2c1: i2c@400A0000 {
149 compatible = "nxp,pnx-i2c";
150 reg = <0x400A0000 0x100>;
151 interrupts = <0x33 0>;
152 #address-cells = <1>;
153 #size-cells = <0>;
154 pnx,timeout = <0x64>;
155 };
156
157 i2c2: i2c@400A8000 {
158 compatible = "nxp,pnx-i2c";
159 reg = <0x400A8000 0x100>;
160 interrupts = <0x32 0>;
161 #address-cells = <1>;
162 #size-cells = <0>;
163 pnx,timeout = <0x64>;
164 };
165
166 i2cusb: i2c@31020300 {
167 compatible = "nxp,pnx-i2c";
168 reg = <0x31020300 0x100>;
169 interrupts = <0x3f 0>;
170 #address-cells = <1>;
171 #size-cells = <0>;
172 pnx,timeout = <0x64>;
173 };
174 };
175
176 fab {
177 #address-cells = <1>;
178 #size-cells = <1>;
179 compatible = "simple-bus";
180 ranges = <0x20000000 0x20000000 0x30000000>;
181
182 /*
183 * MIC Interrupt controller includes:
184 * MIC @40008000
185 * SIC1 @4000C000
186 * SIC2 @40010000
187 */
188 mic: interrupt-controller@40008000 {
189 compatible = "nxp,lpc3220-mic";
190 interrupt-controller;
191 reg = <0x40008000 0xC000>;
192 #interrupt-cells = <2>;
193 };
194
195 uart1: serial@40014000 {
196 compatible = "nxp,serial";
197 reg = <0x40014000 0x1000>;
198 };
199
200 uart2: serial@40018000 {
201 compatible = "nxp,serial";
202 reg = <0x40018000 0x1000>;
203 };
204
205 uart7: serial@4001C000 {
206 compatible = "nxp,serial";
207 reg = <0x4001C000 0x1000>;
208 };
209
210 rtc@40024000 {
211 compatible = "nxp,lpc3220-rtc";
212 reg = <0x40024000 0x1000>;
213 interrupts = <0x34 0>;
214 };
215
216 gpio: gpio@40028000 {
217 compatible = "nxp,lpc3220-gpio";
218 reg = <0x40028000 0x1000>;
Roland Stiggea0352542012-05-19 12:28:53 +0200219 gpio-controller;
220 #gpio-cells = <3>; /* bank, pin, flags */
Roland Stiggee04920d2012-04-22 12:01:19 +0200221 };
222
223 watchdog@4003C000 {
224 compatible = "nxp,pnx4008-wdt";
225 reg = <0x4003C000 0x1000>;
226 };
227
228 /*
229 * TSC vs. ADC: Since those two share the same
230 * hardware, you need to choose from one of the
231 * following two and do 'status = "okay";' for one of
232 * them
233 */
234
235 adc@40048000 {
236 compatible = "nxp,lpc3220-adc";
237 reg = <0x40048000 0x1000>;
238 interrupts = <0x27 0>;
239 status = "disable";
240 };
241
242 tsc@40048000 {
243 compatible = "nxp,lpc3220-tsc";
244 reg = <0x40048000 0x1000>;
245 interrupts = <0x27 0>;
246 status = "disable";
247 };
248
249 key@40050000 {
250 compatible = "nxp,lpc3220-key";
251 reg = <0x40050000 0x1000>;
252 };
253
254 };
255 };
256};