diff options
author | Mathias Kresin <dev@kresin.me> | 2019-01-27 12:23:03 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2019-07-07 11:17:27 +0200 |
commit | 4053dd3f829d2fc1150c79cfe6dd02b39e261251 (patch) | |
tree | 00b16926c90fefc387a303e5e4f270a3ed8f1756 /target/linux/lantiq/files/arch/mips/boot/dts/amazonse.dtsi | |
parent | df13384c56585408699479cb3dbc501c394df31c (diff) | |
download | upstream-4053dd3f829d2fc1150c79cfe6dd02b39e261251.tar.gz upstream-4053dd3f829d2fc1150c79cfe6dd02b39e261251.tar.bz2 upstream-4053dd3f829d2fc1150c79cfe6dd02b39e261251.zip |
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 <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq/files/arch/mips/boot/dts/amazonse.dtsi')
-rw-r--r-- | target/linux/lantiq/files/arch/mips/boot/dts/amazonse.dtsi | 6 |
1 files changed, 6 insertions, 0 deletions
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 8b80e6a223..1be842094b 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/amazonse.dtsi +++ b/target/linux/lantiq/files/arch/mips/boot/dts/amazonse.dtsi @@ -14,8 +14,12 @@ }; cpus { + #address-cells = <1>; + #size-cells = <0>; + cpu@0 { compatible = "mips,mips4Kc"; + reg = <0>; }; }; @@ -154,6 +158,7 @@ mei@e116000 { compatible = "lantiq,mei-xway"; + reg = <0xe116000 0x400>; interrupt-parent = <&icu0>; interrupts = <81>; }; @@ -182,6 +187,7 @@ ppe@e234000 { compatible = "lantiq,ppe-ase"; + reg = <0xe234000 0x40000>; interrupt-parent = <&icu0>; interrupts = <85>; }; |