hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/lpc32xx.dtsi
....@@ -1,22 +1,17 @@
1
+// SPDX-License-Identifier: GPL-2.0+
12 /*
23 * NXP LPC32xx SoC
34 *
5
+ * Copyright (C) 2015-2019 Vladimir Zapolskiy <vz@mleia.com>
46 * 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
127 */
13
-
14
-#include "skeleton.dtsi"
158
169 #include <dt-bindings/clock/lpc32xx-clock.h>
1710 #include <dt-bindings/interrupt-controller/irq.h>
1811
1912 / {
13
+ #address-cells = <1>;
14
+ #size-cells = <1>;
2015 compatible = "nxp,lpc3220";
2116 interrupt-parent = <&mic>;
2217
....@@ -152,6 +147,7 @@
152147 reg = <0x31060000 0x1000>;
153148 interrupts = <29 IRQ_TYPE_LEVEL_HIGH>;
154149 clocks = <&clk LPC32XX_CLK_MAC>;
150
+ status = "disabled";
155151 };
156152
157153 emc: memory-controller@31080000 {
....@@ -185,6 +181,8 @@
185181 interrupts = <20 IRQ_TYPE_LEVEL_HIGH>;
186182 clocks = <&clk LPC32XX_CLK_SSP0>;
187183 clock-names = "apb_pclk";
184
+ #address-cells = <1>;
185
+ #size-cells = <0>;
188186 status = "disabled";
189187 };
190188
....@@ -192,6 +190,8 @@
192190 compatible = "nxp,lpc3220-spi";
193191 reg = <0x20088000 0x1000>;
194192 clocks = <&clk LPC32XX_CLK_SPI1>;
193
+ #address-cells = <1>;
194
+ #size-cells = <0>;
195195 status = "disabled";
196196 };
197197
....@@ -205,6 +205,8 @@
205205 interrupts = <21 IRQ_TYPE_LEVEL_HIGH>;
206206 clocks = <&clk LPC32XX_CLK_SSP1>;
207207 clock-names = "apb_pclk";
208
+ #address-cells = <1>;
209
+ #size-cells = <0>;
208210 status = "disabled";
209211 };
210212
....@@ -212,12 +214,15 @@
212214 compatible = "nxp,lpc3220-spi";
213215 reg = <0x20090000 0x1000>;
214216 clocks = <&clk LPC32XX_CLK_SPI2>;
217
+ #address-cells = <1>;
218
+ #size-cells = <0>;
215219 status = "disabled";
216220 };
217221
218222 i2s0: i2s@20094000 {
219223 compatible = "nxp,lpc3220-i2s";
220224 reg = <0x20094000 0x1000>;
225
+ status = "disabled";
221226 };
222227
223228 sd: sd@20098000 {
....@@ -232,7 +237,8 @@
232237
233238 i2s1: i2s@2009c000 {
234239 compatible = "nxp,lpc3220-i2s";
235
- reg = <0x2009C000 0x1000>;
240
+ reg = <0x2009c000 0x1000>;
241
+ status = "disabled";
236242 };
237243
238244 /* UART5 first since it is the default console, ttyS0 */
....@@ -275,7 +281,7 @@
275281
276282 i2c1: i2c@400a0000 {
277283 compatible = "nxp,pnx-i2c";
278
- reg = <0x400A0000 0x100>;
284
+ reg = <0x400a0000 0x100>;
279285 interrupt-parent = <&sic1>;
280286 interrupts = <19 IRQ_TYPE_LEVEL_LOW>;
281287 #address-cells = <1>;
....@@ -286,7 +292,7 @@
286292
287293 i2c2: i2c@400a8000 {
288294 compatible = "nxp,pnx-i2c";
289
- reg = <0x400A8000 0x100>;
295
+ reg = <0x400a8000 0x100>;
290296 interrupt-parent = <&sic1>;
291297 interrupts = <18 IRQ_TYPE_LEVEL_LOW>;
292298 #address-cells = <1>;
....@@ -297,7 +303,7 @@
297303
298304 mpwm: mpwm@400e8000 {
299305 compatible = "nxp,lpc3220-motor-pwm";
300
- reg = <0x400E8000 0x78>;
306
+ reg = <0x400e8000 0x78>;
301307 status = "disabled";
302308 #pwm-cells = <2>;
303309 };
....@@ -393,7 +399,7 @@
393399
394400 timer4: timer@4002c000 {
395401 compatible = "nxp,lpc3220-timer";
396
- reg = <0x4002C000 0x1000>;
402
+ reg = <0x4002c000 0x1000>;
397403 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
398404 clocks = <&clk LPC32XX_CLK_TIMER4>;
399405 clock-names = "timerclk";
....@@ -411,7 +417,7 @@
411417
412418 watchdog: watchdog@4003c000 {
413419 compatible = "nxp,pnx4008-wdt";
414
- reg = <0x4003C000 0x1000>;
420
+ reg = <0x4003c000 0x1000>;
415421 clocks = <&clk LPC32XX_CLK_WDOG>;
416422 };
417423
....@@ -450,7 +456,7 @@
450456
451457 timer1: timer@4004c000 {
452458 compatible = "nxp,lpc3220-timer";
453
- reg = <0x4004C000 0x1000>;
459
+ reg = <0x4004c000 0x1000>;
454460 interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
455461 clocks = <&clk LPC32XX_CLK_TIMER1>;
456462 clock-names = "timerclk";
....@@ -476,7 +482,7 @@
476482
477483 pwm1: pwm@4005c000 {
478484 compatible = "nxp,lpc3220-pwm";
479
- reg = <0x4005C000 0x4>;
485
+ reg = <0x4005c000 0x4>;
480486 clocks = <&clk LPC32XX_CLK_PWM1>;
481487 assigned-clocks = <&clk LPC32XX_CLK_PWM1>;
482488 assigned-clock-parents = <&clk LPC32XX_CLK_PERIPH>;
....@@ -485,7 +491,7 @@
485491
486492 pwm2: pwm@4005c004 {
487493 compatible = "nxp,lpc3220-pwm";
488
- reg = <0x4005C004 0x4>;
494
+ reg = <0x4005c004 0x4>;
489495 clocks = <&clk LPC32XX_CLK_PWM2>;
490496 assigned-clocks = <&clk LPC32XX_CLK_PWM2>;
491497 assigned-clock-parents = <&clk LPC32XX_CLK_PERIPH>;