Skip to content

Commit e98bd70

Browse files
rogers0gclement
authored andcommitted
ARM: dts: kirkwood: gpio-leds fixes for linkstation ls-wxl/wsxl
The GPIOs controlling the LEDs, listed below, are active high, not low: - gpio-leds: "lswxl:blue:power" pin - gpio-leds: "lswxl:red:func" pin - gpio-leds: "lswxl:red:hdderr{0,1}" pin Fixes: e54e4b1 ("ARM: dts: add buffalo linkstation ls-wxl/wsxl") Signed-off-by: Roger Shimizu <rogershimizu@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
1 parent 6f86e9a commit e98bd70

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

arch/arm/boot/dts/kirkwood-lswxl.dts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,23 +201,23 @@
201201

202202
led@4 {
203203
label = "lswxl:blue:power";
204-
gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
204+
gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
205+
default-state = "keep";
205206
};
206207

207208
led@5 {
208209
label = "lswxl:red:func";
209-
gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
210-
default-state = "keep";
210+
gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
211211
};
212212

213213
led@6 {
214214
label = "lswxl:red:hdderr0";
215-
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
215+
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
216216
};
217217

218218
led@7 {
219219
label = "lswxl:red:hdderr1";
220-
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
220+
gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
221221
};
222222
};
223223

0 commit comments

Comments
 (0)