OSDN Git Service

ARM: dts: lpc18xx: remove unit addresses from creg childs
authorJoachim Eastwood <manabian@gmail.com>
Sat, 27 Feb 2016 18:39:03 +0000 (19:39 +0100)
committerJoachim Eastwood <manabian@gmail.com>
Mon, 4 Apr 2016 14:13:31 +0000 (16:13 +0200)
DT nodes without reg properties should not have a unit address. This
fixes the following warnings from dtc.

 Warning (unit_address_vs_reg): Node /soc/syscon@40043000/phy@004 has a
 unit name, but no reg property
 Warning (unit_address_vs_reg): Node /soc/syscon@40043000/dma-mux@11c has
 a unit name, but no reg property

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
arch/arm/boot/dts/lpc18xx.dtsi

index fdc991b..fdb736c 100644 (file)
                                #clock-cells = <1>;
                        };
 
-                       usb0_otg_phy: phy@004 {
+                       usb0_otg_phy: phy {
                                compatible = "nxp,lpc1850-usb-otg-phy";
                                clocks = <&ccu1 CLK_USB0>;
                                #phy-cells = <0>;
                        };
 
-                       dmamux: dma-mux@11c {
+                       dmamux: dma-mux {
                                compatible = "nxp,lpc1850-dmamux";
                                #dma-cells = <3>;
                                dma-requests = <64>;