]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: socfpga: Remove unneeded unit names
authorFlorian Vaussard <florian.vaussard@gmail.com>
Mon, 27 Feb 2017 16:39:47 +0000 (10:39 -0600)
committerDinh Nguyen <dinguyen@kernel.org>
Mon, 6 Mar 2017 21:54:58 +0000 (15:54 -0600)
Node eccmgr has a unit name, but do not have a reg property as only the
child nodes do have this property. Likewise the usbphy node do not have
a reg property. This will trigger the following warnings when compiled
with W=1:

Node /soc/eccmgr@ffd08140 has a unit name, but no reg property
Node /soc/usbphy@0 has a unit name, but no reg property

Remove the superfluous unit names.

Signed-off-by: Florian Vaussard <florian.vaussard@heig-vd.ch>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm/boot/dts/socfpga.dtsi
arch/arm/boot/dts/socfpga_arria10.dtsi

index 4dda6d8a0e903f9d2f664e226d2b6246ff6934b5..25a68af8185d37ee3ea5e250198c2cc7e433896e 100644 (file)
                        status = "disabled";
                };
 
-               eccmgr: eccmgr@ffd08140 {
+               eccmgr: eccmgr {
                        compatible = "altr,socfpga-ecc-manager";
                        #address-cells = <1>;
                        #size-cells = <1>;
                        dma-names = "tx", "rx";
                };
 
-               usbphy0: usbphy@0 {
+               usbphy0: usbphy {
                        #phy-cells = <0>;
                        compatible = "usb-nop-xceiv";
                        status = "okay";
index 0332d51cf0e01e868387fd9e08c9cce883916093..4e1f653bf76b6db4101a7292b757bf31af14c047 100644 (file)
                        reg = <0xffe00000 0x40000>;
                };
 
-               eccmgr: eccmgr@ffd06000 {
+               eccmgr: eccmgr {
                        compatible = "altr,socfpga-a10-ecc-manager";
                        altr,sysmgr-syscon = <&sysmgr>;
                        #address-cells = <1>;
                        status = "disabled";
                };
 
-               usbphy0: usbphy@0 {
+               usbphy0: usbphy {
                        #phy-cells = <0>;
                        compatible = "usb-nop-xceiv";
                        status = "okay";