[OpenWrt-Devel] [PATCH 2/2] ramips: mt7621: Get rid of CPU DTS warnings
Rosen Penev
rosenp at gmail.com
Wed May 30 02:35:43 EDT 2018
List of warnings:
Node /cpus/cpu at 0 has a unit name, but no reg property
Node /cpus/cpu at 1 has a unit name, but no reg property
Tested on GnuBee PC2. The CPU still works.
Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
target/linux/ramips/dts/mt7621.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi
index 39b1ca4425..f35e6a74fd 100644
--- a/target/linux/ramips/dts/mt7621.dtsi
+++ b/target/linux/ramips/dts/mt7621.dtsi
@@ -6,12 +6,19 @@
compatible = "mediatek,mt7621-soc";
cpus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
cpu at 0 {
+ device_type = "cpu";
compatible = "mips,mips1004Kc";
+ reg = <0>;
};
cpu at 1 {
+ device_type = "cpu";
compatible = "mips,mips1004Kc";
+ reg = <1>;
};
};
--
2.17.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list