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:
@@ -14,8 +14,12 @@
|
||||
};
|
||||
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
cpu@0 {
|
||||
compatible = "mips,mips34K";
|
||||
reg = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -221,6 +225,7 @@
|
||||
|
||||
mei@e116000 {
|
||||
compatible = "lantiq,mei-xway";
|
||||
reg = <0xe116000 0x9c>;
|
||||
interrupt-parent = <&icu0>;
|
||||
interrupts = <63>;
|
||||
};
|
||||
@@ -236,6 +241,7 @@
|
||||
|
||||
ppe@e234000 {
|
||||
compatible = "lantiq,ppe-arx100";
|
||||
reg = <0xe234000 0x3ffd>;
|
||||
interrupt-parent = <&icu0>;
|
||||
interrupts = <96>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user