ARM: dts: imx53: Fix 'usbphy@x' node with unit name and no reg property
authorMarco Franchi <marco.franchi@nxp.com>
Fri, 20 Oct 2017 15:48:24 +0000 (13:48 -0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 23 Oct 2017 00:29:09 +0000 (08:29 +0800)
The following build warnings are seen with W=1:

Warning (unit_address_vs_reg): Node /soc/aips@50000000/usbphy@0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /soc/aips@50000000/usbphy@1 has a unit name, but no reg property

Fix these warnings by changing '@' to '-'.

Signed-off-by: Marco Franchi <marco.franchi@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx53.dtsi

index 8bf0d89cdd355cf0c9484335476e08fb0fca1b5e..c93794958eb9b79228e564bf54cc6218a8fd3102 100644 (file)
                                reg = <0x53f00000 0x60>;
                        };
 
-                       usbphy0: usbphy@0 {
+                       usbphy0: usbphy-0 {
                                compatible = "usb-nop-xceiv";
                                clocks = <&clks IMX5_CLK_USB_PHY1_GATE>;
                                clock-names = "main_clk";
                                status = "okay";
                        };
 
-                       usbphy1: usbphy@1 {
+                       usbphy1: usbphy-1 {
                                compatible = "usb-nop-xceiv";
                                clocks = <&clks IMX5_CLK_USB_PHY2_GATE>;
                                clock-names = "main_clk";