From 4053dd3f829d2fc1150c79cfe6dd02b39e261251 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Sun, 27 Jan 2019 12:23:03 +0100 Subject: lantiq: dts: add reg if unit address is set Add the reg property if the node has an unit address. Fixes the following device tree compiler warning: Warning (unit_address_vs_reg): node has a unit name, but no reg property Signed-off-by: Mathias Kresin --- target/linux/lantiq/files/arch/mips/boot/dts/danube.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'target/linux/lantiq/files/arch/mips/boot/dts/danube.dtsi') 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 4d3ebb2aa1..ca89e949d1 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/danube.dtsi +++ b/target/linux/lantiq/files/arch/mips/boot/dts/danube.dtsi @@ -14,8 +14,12 @@ }; cpus { + #address-cells = <1>; + #size-cells = <0>; + cpu@0 { compatible = "mips,mips24Kc"; + reg = <0>; }; }; @@ -205,6 +209,7 @@ mei@e116000 { compatible = "lantiq,mei-xway"; + reg = <0xe116000 0x400>; interrupt-parent = <&icu0>; interrupts = <63>; }; @@ -219,6 +224,7 @@ ppe@e234000 { compatible = "lantiq,ppe-danube"; + reg = <0xe234000 0x40000>; interrupt-parent = <&icu0>; interrupts = <96>; }; -- cgit v1.2.3