Skip to content

Commit ea1ccdc

Browse files
pcercueitsbogend
authored andcommitted
MIPS: DTS: CI20: Fix regulators
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>
1 parent 4cdb5d9 commit ea1ccdc

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

arch/mips/boot/dts/ingenic/ci20.dts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,14 @@
6767
};
6868
};
6969

70-
eth0_power: fixedregulator@0 {
70+
eth0_power: fixedregulator-0 {
7171
compatible = "regulator-fixed";
7272

7373
regulator-name = "eth0_power";
7474
regulator-min-microvolt = <3300000>;
7575
regulator-max-microvolt = <3300000>;
7676

77-
gpio = <&gpb 25 GPIO_ACTIVE_LOW>;
77+
gpio = <&gpb 25 0>;
7878
enable-active-high;
7979
};
8080

@@ -97,23 +97,23 @@
9797
gpios = <&gpe 3 GPIO_ACTIVE_LOW>;
9898
};
9999

100-
wlan0_power: fixedregulator@1 {
100+
wlan0_power: fixedregulator-1 {
101101
compatible = "regulator-fixed";
102102

103103
regulator-name = "wlan0_power";
104104

105-
gpio = <&gpb 19 GPIO_ACTIVE_LOW>;
105+
gpio = <&gpb 19 0>;
106106
enable-active-high;
107107
};
108108

109-
otg_power: fixedregulator@2 {
109+
otg_power: fixedregulator-2 {
110110
compatible = "regulator-fixed";
111111

112112
regulator-name = "otg_power";
113113
regulator-min-microvolt = <5000000>;
114114
regulator-max-microvolt = <5000000>;
115115

116-
gpio = <&gpf 15 GPIO_ACTIVE_LOW>;
116+
gpio = <&gpf 15 0>;
117117
enable-active-high;
118118
};
119119
};

0 commit comments

Comments
 (0)