List of warnings:

Node /cpus/cpu@0 has a unit name, but no reg property
Node /cpus/cpu@1 has a unit name, but no reg property

Tested on GnuBee PC2. The CPU still works.

Signed-off-by: Rosen Penev <[email protected]>
---
 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@0 {
+                       device_type = "cpu";
                        compatible = "mips,mips1004Kc";
+                       reg = <0>;
                };
 
                cpu@1 {
+                       device_type = "cpu";
                        compatible = "mips,mips1004Kc";
+                       reg = <1>;
                };
        };
 
-- 
2.17.0


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/listinfo/openwrt-devel

Reply via email to