From 7685ed59c53b3d4d410f990ba8164833278b9fa8 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Sun, 27 Jan 2019 13:48:03 +0100 Subject: [PATCH] lantiq: dts: add missing size and address cells Add size and address cells where missing to fix the following devicetree compiler warning: Warning (avoid_default_addr_size): Relying on default #address-cells value Warning (avoid_default_addr_size): Relying on default #size-cells value Signed-off-by: Mathias Kresin --- target/linux/lantiq/files/arch/mips/boot/dts/amazonse.dtsi | 2 ++ target/linux/lantiq/files/arch/mips/boot/dts/ar9.dtsi | 2 ++ target/linux/lantiq/files/arch/mips/boot/dts/danube.dtsi | 2 ++ target/linux/lantiq/files/arch/mips/boot/dts/vr9.dtsi | 2 ++ 4 files changed, 8 insertions(+) diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/amazonse.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/amazonse.dtsi index 8bea97bcb8..feb4cd529a 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/amazonse.dtsi +++ b/target/linux/lantiq/files/arch/mips/boot/dts/amazonse.dtsi @@ -83,6 +83,8 @@ }; rcu0: rcu@203000 { + #address-cells = <1>; + #size-cells = <1>; compatible = "lantiq,ase-rcu", "simple-mfd", "syscon"; reg = <0x203000 0x1000>; ranges = <0x0 0x203000 0x100>; diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/ar9.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/ar9.dtsi index aac5eeadf6..37b44aecdd 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/ar9.dtsi +++ b/target/linux/lantiq/files/arch/mips/boot/dts/ar9.dtsi @@ -85,6 +85,8 @@ }; rcu0: rcu@203000 { + #address-cells = <1>; + #size-cells = <1>; compatible = "lantiq,xrx100-rcu", "simple-mfd", "syscon"; reg = <0x203000 0x1000>; ranges = <0x0 0x203000 0x100>; diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/danube.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/danube.dtsi index bcb4cc2d4b..a91ee9590f 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/danube.dtsi +++ b/target/linux/lantiq/files/arch/mips/boot/dts/danube.dtsi @@ -91,6 +91,8 @@ }; rcu0: rcu@203000 { + #address-cells = <1>; + #size-cells = <1>; compatible = "lantiq,danube-rcu", "simple-mfd", "syscon"; reg = <0x203000 0x1000>; ranges = <0x0 0x203000 0x100>; diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/vr9.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/vr9.dtsi index aa719b5026..cbb86e6a36 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/vr9.dtsi +++ b/target/linux/lantiq/files/arch/mips/boot/dts/vr9.dtsi @@ -101,6 +101,8 @@ }; rcu0: rcu@203000 { + #address-cells = <1>; + #size-cells = <1>; compatible = "lantiq,xrx200-rcu", "simple-mfd", "syscon"; reg = <0x203000 0x100>; ranges = <0x0 0x203000 0x100>; -- 2.30.2