2
0
forked from Ivasoft/openwrt

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>
This commit is contained in:
Mathias Kresin
2019-01-27 12:23:03 +01:00
parent df13384c56
commit 4053dd3f82
5 changed files with 29 additions and 0 deletions

View File

@@ -14,8 +14,12 @@
};
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
compatible = "mips,mips34Kc";
reg = <0>;
};
};
@@ -291,6 +295,7 @@
ppe@e234000 {
compatible = "lantiq,ppe-xrx200";
reg = <0xe234000 0x3ffd>;
interrupt-parent = <&icu0>;
interrupts = <96>;
resets = <&reset0 3 3>, <&reset0 11 11>, <&reset0 23 23>;
@@ -304,6 +309,8 @@
#size-cells = <2>;
#address-cells = <3>;
reg = <0xd900000 0x1000>;
interrupt-parent = <&icu0>;
interrupts = <161 144>;