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/falcon.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/falcon.dtsi')
-rw-r--r-- | target/linux/lantiq/files/arch/mips/boot/dts/falcon.dtsi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/falcon.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/falcon.dtsi index 98f71819a2..ecb68e896e 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/falcon.dtsi +++ b/target/linux/lantiq/files/arch/mips/boot/dts/falcon.dtsi @@ -4,8 +4,12 @@ compatible = "lantiq,falcon"; cpus { + #address-cells = <1>; + #size-cells = <0>; + cpu@0 { compatible = "mips,mips34kc"; + reg = <0>; }; }; |