[openwrt/openwrt] bmips: dts: comestic changes

LEDE Commits lede-commits at lists.infradead.org
Mon Mar 8 09:44:55 GMT 2021


noltari pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/101491ae4ad6cf13a1da784b90a7fd72705ee8d2

commit 101491ae4ad6cf13a1da784b90a7fd72705ee8d2
Author: Álvaro Fernández Rojas <noltari at gmail.com>
AuthorDate: Mon Mar 8 10:42:25 2021 +0100

    bmips: dts: comestic changes
    
    Improve and refactor device tree files.
    
    Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
---
 target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts  |  2 --
 target/linux/bmips/dts/bcm6318.dtsi                    |  4 ++--
 target/linux/bmips/dts/bcm63268.dtsi                   | 12 ++++++------
 target/linux/bmips/dts/bcm6328.dtsi                    |  4 ++--
 target/linux/bmips/dts/bcm6358.dtsi                    |  4 ++--
 target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts |  2 --
 target/linux/bmips/dts/bcm6362.dtsi                    |  8 ++++----
 target/linux/bmips/dts/bcm6368.dtsi                    |  4 ++--
 8 files changed, 18 insertions(+), 22 deletions(-)

diff --git a/target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts b/target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts
index 04904d9ef7..565a04160d 100644
--- a/target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts
+++ b/target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts
@@ -152,8 +152,6 @@
 
 	nandcs at 0 {
 		compatible = "brcm,nandcs";
-		#size-cells = <1>;
-		#address-cells = <1>;
 		reg = <0>;
 		nand-ecc-step-size = <512>;
 		nand-ecc-strength = <15>;
diff --git a/target/linux/bmips/dts/bcm6318.dtsi b/target/linux/bmips/dts/bcm6318.dtsi
index b8531ffc56..f5cfd77438 100644
--- a/target/linux/bmips/dts/bcm6318.dtsi
+++ b/target/linux/bmips/dts/bcm6318.dtsi
@@ -282,10 +282,10 @@
 		};
 
 		hsspi: spi at 10003000 {
-			compatible = "brcm,bcm6328-hsspi";
-			reg = <0x10003000 0x600>;
 			#address-cells = <1>;
 			#size-cells = <0>;
+			compatible = "brcm,bcm6328-hsspi";
+			reg = <0x10003000 0x600>;
 
 			interrupt-parent = <&periph_intc>;
 			interrupts = <BCM6318_IRQ_HSSPI>;
diff --git a/target/linux/bmips/dts/bcm63268.dtsi b/target/linux/bmips/dts/bcm63268.dtsi
index 08442ab99d..bf9998a552 100644
--- a/target/linux/bmips/dts/bcm63268.dtsi
+++ b/target/linux/bmips/dts/bcm63268.dtsi
@@ -311,11 +311,11 @@
 		};
 
 		nflash: nand at 10000200 {
+			#address-cells = <1>;
+			#size-cells = <0>;
 			compatible = "brcm,nand-bcm6368",
 				     "brcm,brcmnand-v4.0",
 				     "brcm,brcmnand";
-			#address-cells = <1>;
-			#size-cells = <0>;
 			reg = <0x10000200 0x180>,
 			      <0x10000600 0x200>,
 			      <0x100000b0 0x10>;
@@ -336,10 +336,10 @@
 		};
 
 		lsspi: spi at 10000800 {
-			compatible = "brcm,bcm6358-spi";
-			reg = <0x10000800 0x70c>;
 			#address-cells = <1>;
 			#size-cells = <0>;
+			compatible = "brcm,bcm6358-spi";
+			reg = <0x10000800 0x70c>;
 
 			interrupt-parent = <&periph_intc>;
 			interrupts = <BCM63268_IRQ_LSSPI>;
@@ -353,10 +353,10 @@
 		};
 
 		hsspi: spi at 10001000 {
-			compatible = "brcm,bcm6328-hsspi";
-			reg = <0x10001000 0x600>;
 			#address-cells = <1>;
 			#size-cells = <0>;
+			compatible = "brcm,bcm6328-hsspi";
+			reg = <0x10001000 0x600>;
 
 			interrupt-parent = <&periph_intc>;
 			interrupts = <BCM63268_IRQ_HSSPI>;
diff --git a/target/linux/bmips/dts/bcm6328.dtsi b/target/linux/bmips/dts/bcm6328.dtsi
index d139d6ec5d..aa90cc2a9b 100644
--- a/target/linux/bmips/dts/bcm6328.dtsi
+++ b/target/linux/bmips/dts/bcm6328.dtsi
@@ -299,10 +299,10 @@
 		};
 
 		hsspi: spi at 10001000 {
-			compatible = "brcm,bcm6328-hsspi";
-			reg = <0x10001000 0x600>;
 			#address-cells = <1>;
 			#size-cells = <0>;
+			compatible = "brcm,bcm6328-hsspi";
+			reg = <0x10001000 0x600>;
 
 			interrupt-parent = <&periph_intc>;
 			interrupts = <BCM6328_IRQ_HSSPI>;
diff --git a/target/linux/bmips/dts/bcm6358.dtsi b/target/linux/bmips/dts/bcm6358.dtsi
index bb08abf25b..c06001c62d 100644
--- a/target/linux/bmips/dts/bcm6358.dtsi
+++ b/target/linux/bmips/dts/bcm6358.dtsi
@@ -264,10 +264,10 @@
 		};
 
 		lsspi: spi at fffe0800 {
-			compatible = "brcm,bcm6358-spi";
-			reg = <0xfffe0800 0x70c>;
 			#address-cells = <1>;
 			#size-cells = <0>;
+			compatible = "brcm,bcm6358-spi";
+			reg = <0xfffe0800 0x70c>;
 
 			interrupt-parent = <&periph_intc>;
 			interrupts = <BCM6358_IRQ_SPI>;
diff --git a/target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts b/target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts
index 05aedc61cc..ba4bd33c35 100644
--- a/target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts
+++ b/target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts
@@ -149,8 +149,6 @@
 
 	nandcs at 0 {
 		compatible = "brcm,nandcs";
-		#size-cells = <1>;
-		#address-cells = <1>;
 		reg = <0>;
 		nand-ecc-step-size = <512>;
 		nand-ecc-strength = <15>;
diff --git a/target/linux/bmips/dts/bcm6362.dtsi b/target/linux/bmips/dts/bcm6362.dtsi
index d7f9f910d3..f46074045c 100644
--- a/target/linux/bmips/dts/bcm6362.dtsi
+++ b/target/linux/bmips/dts/bcm6362.dtsi
@@ -371,10 +371,10 @@
 		};
 
 		lsspi: spi at 10000800 {
-			compatible = "brcm,bcm6358-spi";
-			reg = <0x10000800 0x70c>;
 			#address-cells = <1>;
 			#size-cells = <0>;
+			compatible = "brcm,bcm6358-spi";
+			reg = <0x10000800 0x70c>;
 
 			interrupt-parent = <&periph_intc>;
 			interrupts = <BCM6362_IRQ_LSSPI>;
@@ -388,10 +388,10 @@
 		};
 
 		hsspi: spi at 10001000 {
-			compatible = "brcm,bcm6328-hsspi";
-			reg = <0x10001000 0x600>;
 			#address-cells = <1>;
 			#size-cells = <0>;
+			compatible = "brcm,bcm6328-hsspi";
+			reg = <0x10001000 0x600>;
 
 			interrupt-parent = <&periph_intc>;
 			interrupts = <BCM6362_IRQ_HSSPI>;
diff --git a/target/linux/bmips/dts/bcm6368.dtsi b/target/linux/bmips/dts/bcm6368.dtsi
index b812dea451..5aa2b82221 100644
--- a/target/linux/bmips/dts/bcm6368.dtsi
+++ b/target/linux/bmips/dts/bcm6368.dtsi
@@ -398,10 +398,10 @@
 		};
 
 		lsspi: spi at 10000800 {
-			compatible = "brcm,bcm6358-spi";
-			reg = <0x10000800 0x70c>;
 			#address-cells = <1>;
 			#size-cells = <0>;
+			compatible = "brcm,bcm6358-spi";
+			reg = <0x10000800 0x70c>;
 
 			interrupt-parent = <&periph_intc>;
 			interrupts = <BCM6368_IRQ_SPI>;



More information about the lede-commits mailing list