From: Álvaro Fernández Rojas Date: Mon, 8 Mar 2021 09:42:25 +0000 (+0100) Subject: bmips: dts: comestic changes X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=101491ae4ad6cf13a1da784b90a7fd72705ee8d2;p=openwrt%2Fstaging%2Fansuel.git bmips: dts: comestic changes Improve and refactor device tree files. Signed-off-by: Álvaro Fernández Rojas --- 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@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@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 = ; 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@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@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 = ; @@ -353,10 +353,10 @@ }; 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 = ; 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@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 = ; 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@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 = ; 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@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@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 = ; @@ -388,10 +388,10 @@ }; 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 = ; 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@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 = ;