staging: mt7621-dts: fix cpuintc and fixedregulator dtc warnings, fix xhci
authorArınç ÜNAL <arinc.unal@arinc9.com>
Sat, 12 Mar 2022 09:18:32 +0000 (12:18 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Mar 2022 15:01:31 +0000 (16:01 +0100)
Fix the cpuintc and fixedregulator dtc warnings:

Warning (unit_address_vs_reg): /cpuintc@0: node has a unit name, but no reg property
Warning (unit_address_vs_reg): /fixedregulator@0: node has a unit name, but no reg property
Warning (unit_address_vs_reg): /fixedregulator@1: node has a unit name, but no reg property
Warning (unique_unit_address): /cpuintc@0: duplicate unit-address (also used in node /fixedregulator@0)

Remove the unnecessary status = "okay" property from the xhci node.

Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Link: https://lore.kernel.org/r/20220312091832.6269-1-arinc.unal@arinc9.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-dts/mt7621.dtsi

index 4da20da..3222684 100644 (file)
@@ -26,7 +26,7 @@
                };
        };
 
-       cpuintc: cpuintc@0 {
+       cpuintc: cpuintc {
                #address-cells = <0>;
                #interrupt-cells = <1>;
                interrupt-controller;
@@ -38,7 +38,7 @@
        };
 
 
-       mmc_fixed_3v3: fixedregulator@0 {
+       mmc_fixed_3v3: regulator-3v3 {
                compatible = "regulator-fixed";
                regulator-name = "mmc_power";
                regulator-min-microvolt = <3300000>;
@@ -47,7 +47,7 @@
                regulator-always-on;
        };
 
-       mmc_fixed_1v8_io: fixedregulator@1 {
+       mmc_fixed_1v8_io: regulator-1v8 {
                compatible = "regulator-fixed";
                regulator-name = "mmc_io";
                regulator-min-microvolt = <1800000>;
        };
 
        xhci: xhci@1e1c0000 {
-               status = "okay";
-
                compatible = "mediatek,mt8173-xhci";
                reg = <0x1e1c0000 0x1000
                       0x1e1d0700 0x0100>;