bmips: dts: comestic changes
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Mon, 8 Mar 2021 09:42:25 +0000 (10:42 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Mon, 8 Mar 2021 09:42:25 +0000 (10:42 +0100)
Improve and refactor device tree files.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts
target/linux/bmips/dts/bcm6318.dtsi
target/linux/bmips/dts/bcm63268.dtsi
target/linux/bmips/dts/bcm6328.dtsi
target/linux/bmips/dts/bcm6358.dtsi
target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts
target/linux/bmips/dts/bcm6362.dtsi
target/linux/bmips/dts/bcm6368.dtsi

index 04904d9ef77774b68e38cf2bc8b32925f8dbf9d1..565a04160d2e31138307a385c311de2476385fd5 100644 (file)
 
        nandcs@0 {
                compatible = "brcm,nandcs";
-               #size-cells = <1>;
-               #address-cells = <1>;
                reg = <0>;
                nand-ecc-step-size = <512>;
                nand-ecc-strength = <15>;
index b8531ffc567d3d99aa1bbc8bc08f4a3a9eaec80c..f5cfd77438093a69075fbe6ab239b8581b58bde3 100644 (file)
                };
 
                hsspi: spi@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>;
index 08442ab99da64892f8b235a03c62c7514b387fa0..bf9998a5524c6fcd0c93fd11e2461f040af48ef5 100644 (file)
                };
 
                nflash: nand@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>;
                };
 
                lsspi: spi@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>;
                };
 
                hsspi: spi@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>;
index d139d6ec5d552abdbd22b23be8b700b21bdbbb57..aa90cc2a9b73cfd1a642a661d88b504824dfe4b0 100644 (file)
                };
 
                hsspi: spi@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>;
index bb08abf25bb838506557ef53f6343735c7258e1f..c06001c62dde76cc0b24ab0c593d5874632d89bd 100644 (file)
                };
 
                lsspi: spi@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>;
index 05aedc61cc4a10dd6713b7c1bd2cdb4e0944f2f7..ba4bd33c3592bc7d453a2413bda5252d715a27dd 100644 (file)
 
        nandcs@0 {
                compatible = "brcm,nandcs";
-               #size-cells = <1>;
-               #address-cells = <1>;
                reg = <0>;
                nand-ecc-step-size = <512>;
                nand-ecc-strength = <15>;
index d7f9f910d39726e1f79ddd852f91e49dfebdb81b..f46074045cd66d9b9fe77c6f9b65e48d5a86c08e 100644 (file)
                };
 
                lsspi: spi@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>;
                };
 
                hsspi: spi@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>;
index b812dea4514b38954a097248b04d97d3e6a93ca8..5aa2b82221c7ea678dbf3a2acf673de8ab6c8a6c 100644 (file)
                };
 
                lsspi: spi@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>;