arm64: dts: marvell: clean up armada-7040-db
authorAndreas Färber <afaerber@suse.de>
Tue, 26 Apr 2016 07:58:30 +0000 (09:58 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Tue, 26 Apr 2016 13:03:58 +0000 (15:03 +0200)
Instead of duplicating the node hierarchy, reference the nodes by label,
adding labels where necessary.

Drop some trailing or inconsistent white lines while at it.

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
[Thomas: drop Fixes tag as it is not a bug fix.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm64/boot/dts/marvell/armada-7040-db.dts
arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi
arch/arm64/boot/dts/marvell/armada-ap806-quad.dtsi
arch/arm64/boot/dts/marvell/armada-ap806.dtsi

index 064a251346dd93f87d59a1c17c78de6bf7a3bfea..ee5778395beabf8cfa8b52e0db9033fae0569637 100644 (file)
                device_type = "memory";
                reg = <0x0 0x0 0x0 0x80000000>;
        };
+};
 
-       ap806 {
-               config-space {
-                       spi@510600 {
-                               status = "okay";
-
-                               spi-flash@0 {
-                                       #address-cells = <1>;
-                                       #size-cells = <1>;
-                                       compatible = "n25q128a13";
-                                       reg = <0>; /* Chip select 0 */
-                                       spi-max-frequency = <10000000>;
+&i2c0 {
+       status = "okay";
+       clock-frequency = <100000>;
+};
 
-                                       partition@0 {
-                                               label = "U-Boot";
-                                               reg = <0 0x200000>;
-                                       };
-                                       partition@400000 {
-                                               label = "Filesystem";
-                                               reg = <0x200000 0xce0000>;
-                                       };
-                               };
-                       };
+&spi0 {
+       status = "okay";
 
-                       i2c@511000 {
-                               status = "okay";
-                               clock-frequency = <100000>;
-                       };
+       spi-flash@0 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "n25q128a13";
+               reg = <0>; /* Chip select 0 */
+               spi-max-frequency = <10000000>;
 
-                       serial@512000 {
-                               status = "okay";
-                       };
+               partition@0 {
+                       label = "U-Boot";
+                       reg = <0 0x200000>;
+               };
+               partition@400000 {
+                       label = "Filesystem";
+                       reg = <0x200000 0xce0000>;
                };
        };
 };
+
+&uart0 {
+       status = "okay";
+};
index f25c5c17fad75de71e60ade443e1f1cd5f162e33..95a1ff60f6c1318998db8b214a496d5a6f79dbb9 100644 (file)
@@ -68,4 +68,3 @@
                };
        };
 };
-
index baa7d9a516b3cd2f76e41294142ecc3a52e55589..ba43a4357b8942a66e4d25fb901e5543e0dfcdea 100644 (file)
@@ -79,6 +79,4 @@
                        enable-method = "psci";
                };
        };
-
 };
-
index 556a92bcc2f600ce0d486c597feb9493875653d1..3ecf9b1798faf9f9567266ec8560a5239a309197 100644 (file)
@@ -59,7 +59,6 @@
                method = "smc";
        };
 
-
        ap806 {
                #address-cells = <2>;
                #size-cells = <2>;
                                status = "disabled";
                        };
 
-                       serial@512000 {
+                       uart0: serial@512000 {
                                compatible = "snps,dw-apb-uart";
                                reg = <0x512000 0x100>;
                                reg-shift = <2>;
                                status = "disabled";
                        };
 
-                       serial@512100 {
+                       uart1: serial@512100 {
                                compatible = "snps,dw-apb-uart";
                                reg = <0x512100 0x100>;
                                reg-shift = <2>;
                        };
                };
        };
-
 };
-
This page took 0.027272 seconds and 5 git commands to generate.