From 101491ae4ad6cf13a1da784b90a7fd72705ee8d2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Mon, 8 Mar 2021 10:42:25 +0100 Subject: [PATCH] bmips: dts: comestic changes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Improve and refactor device tree files. Signed-off-by: Álvaro Fernández Rojas --- .../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 ++-- .../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 04904d9ef77..565a04160d2 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 b8531ffc567..f5cfd774380 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 08442ab99da..bf9998a5524 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 d139d6ec5d5..aa90cc2a9b7 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 bb08abf25bb..c06001c62dd 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 05aedc61cc4..ba4bd33c359 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 d7f9f910d39..f46074045cd 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 b812dea4514..5aa2b82221c 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 = ; -- 2.30.2