OSDN Git Service

MIPS: DTS: CI20: Fix regulators
authorPaul Cercueil <paul@crapouillou.net>
Sun, 4 Jun 2023 14:56:34 +0000 (16:56 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 9 Jun 2023 07:55:38 +0000 (09:55 +0200)
The regulators don't have any "reg" property, and therefore shouldn't
use an unit address in their node names. They also don't need to specify
the GPIO_ACTIVE_LOW flag, which will be ignored anyway, as they are
active-high.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/boot/dts/ingenic/ci20.dts

index 239c453..e76953d 100644 (file)
                };
        };
 
-       eth0_power: fixedregulator@0 {
+       eth0_power: fixedregulator-0 {
                compatible = "regulator-fixed";
 
                regulator-name = "eth0_power";
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
 
-               gpio = <&gpb 25 GPIO_ACTIVE_LOW>;
+               gpio = <&gpb 25 0>;
                enable-active-high;
        };
 
                gpios = <&gpe 3 GPIO_ACTIVE_LOW>;
        };
 
-       wlan0_power: fixedregulator@1 {
+       wlan0_power: fixedregulator-1 {
                compatible = "regulator-fixed";
 
                regulator-name = "wlan0_power";
 
-               gpio = <&gpb 19 GPIO_ACTIVE_LOW>;
+               gpio = <&gpb 19 0>;
                enable-active-high;
        };
 
-       otg_power: fixedregulator@2 {
+       otg_power: fixedregulator-2 {
                compatible = "regulator-fixed";
 
                regulator-name = "otg_power";
                regulator-min-microvolt = <5000000>;
                regulator-max-microvolt = <5000000>;
 
-               gpio = <&gpf 15 GPIO_ACTIVE_LOW>;
+               gpio = <&gpf 15 0>;
                enable-active-high;
        };
 };