ARM: LPC32xx: High Speed UART configuration via DT
authorRoland Stigge <stigge@antcom.de>
Thu, 14 Jun 2012 14:16:18 +0000 (16:16 +0200)
committerRoland Stigge <stigge@antcom.de>
Thu, 14 Jun 2012 14:16:18 +0000 (16:16 +0200)
This patch fixes the DTS files for the High Speed UARTs 1, 2 and 7 of the
LPC32xx SoC, adjusting the compatible strings, adding interrupts and status
configuration. On the PHY3250 reference board, UART2 is enabled.

Signed-off-by: Roland Stigge <stigge@antcom.de>
Acked-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
arch/arm/boot/dts/lpc32xx.dtsi
arch/arm/boot/dts/phy3250.dts

index acb68171d04d52d6caf9023755076cac66638558..34a73f34621c6ac6e4a8aeb5a3d3a96f47e41f68 100644 (file)
                        };
 
                        uart1: serial@40014000 {
-                               compatible = "nxp,serial";
+                               compatible = "nxp,lpc3220-hsuart";
                                reg = <0x40014000 0x1000>;
+                               interrupts = <26 0>;
+                               status = "disabled";
                        };
 
                        uart2: serial@40018000 {
-                               compatible = "nxp,serial";
+                               compatible = "nxp,lpc3220-hsuart";
                                reg = <0x40018000 0x1000>;
+                               interrupts = <25 0>;
+                               status = "disabled";
                        };
 
-                       uart7: serial@4001C000 {
-                               compatible = "nxp,serial";
-                               reg = <0x4001C000 0x1000>;
+                       uart7: serial@4001c000 {
+                               compatible = "nxp,lpc3220-hsuart";
+                               reg = <0x4001c000 0x1000>;
+                               interrupts = <24 0>;
+                               status = "disabled";
                        };
 
                        rtc@40024000 {
index 57d4961372d45623d02e181fe4313a74114c3fd4..f3bf1493afb0e84b7344abaf0192f2baf2d4bad0 100644 (file)
                };
 
                fab {
+                       uart2: serial@40018000 {
+                               status = "okay";
+                       };
+
                        tsc@40048000 {
                                status = "okay";
                        };