]> git.itanic.dy.fi Git - linux-stable/commitdiff
staging: mt7621-dts: complete 'cpus' node
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 22 Oct 2021 09:52:03 +0000 (11:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 Oct 2021 12:27:42 +0000 (14:27 +0200)
There are some properties missing in 'cpus' node for this SoC:
- '#address-cells'
- '#size-cells'
- 'device_type' and 'reg' in child cpu nodes.

Hence, add them all to the device tree file.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20211022095203.9343-1-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-dts/mt7621.dtsi

index 82b64d4aab2ee4ebdc310d15d3e04573fdb06571..f5c0df78fa6b99966530ae1935fd59b7aa7a8b7b 100644 (file)
@@ -8,12 +8,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>;
                };
        };