ARM: dts: Use label for device nodes in Cygnus dts
authorRay Jui <rjui@broadcom.com>
Mon, 21 Sep 2015 22:12:43 +0000 (15:12 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Wed, 23 Sep 2015 00:50:35 +0000 (17:50 -0700)
Use label instead of full path to reference device nodes in Cygnus dts
files

Signed-off-by: Ray Jui <rjui@broadcom.com>
Reviewed-by: Scott Branden <sbranden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm911360_entphn.dts
arch/arm/boot/dts/bcm911360k.dts
arch/arm/boot/dts/bcm958300k.dts
arch/arm/boot/dts/bcm958305k.dts

index 0e1320e..f791a3b 100644 (file)
                bootargs = "console=ttyS0,115200";
        };
 
-       uart3: serial@18023000 {
-               status = "okay";
-       };
-
        gpio_keys {
                compatible = "gpio-keys";
                #address-cells = <1>;
@@ -60,3 +56,7 @@
                };
        };
 };
+
+&uart3 {
+       status = "okay";
+};
index 2af40c6..814011c 100644 (file)
@@ -42,8 +42,8 @@
                stdout-path = &uart3;
                bootargs = "console=ttyS0,115200";
        };
+};
 
-       uart3: serial@18023000 {
-               status = "okay";
-       };
+&uart3 {
+       status = "okay";
 };
index 75e50f0..d8dc9f0 100644 (file)
                stdout-path = &uart3;
                bootargs = "console=ttyS0,115200";
        };
+};
 
-       pcie0: pcie@18012000 {
-               status = "okay";
-       };
+&pcie0 {
+       status = "okay";
+};
 
-       pcie1: pcie@18013000 {
-               status = "okay";
-       };
+&pcie1 {
+       status = "okay";
+};
 
-       uart3: serial@18023000 {
-               status = "okay";
-       };
+&uart3 {
+       status = "okay";
+};
 
-       nand: nand@18046000 {
-               nandcs@1 {
-                       compatible = "brcm,nandcs";
-                       reg = <0>;
-                       nand-on-flash-bbt;
+&nand {
+       nandcs@1 {
+               compatible = "brcm,nandcs";
+               reg = <0>;
+               nand-on-flash-bbt;
 
-                       #address-cells = <1>;
-                       #size-cells = <1>;
+               #address-cells = <1>;
+               #size-cells = <1>;
 
-                       nand-ecc-strength = <24>;
-                       nand-ecc-step-size = <1024>;
+               nand-ecc-strength = <24>;
+               nand-ecc-step-size = <1024>;
 
-                       brcm,nand-oob-sector-size = <27>;
-               };
+               brcm,nand-oob-sector-size = <27>;
        };
 };
index bf62e1b..af11a8e 100644 (file)
@@ -42,8 +42,8 @@
                stdout-path = &uart3;
                bootargs = "console=ttyS0,115200";
        };
+};
 
-       uart3: serial@18023000 {
-               status = "okay";
-       };
+&uart3 {
+       status = "okay";
 };