Skip to content

Commit ff61ee8

Browse files
rogers0gclement
authored andcommitted
ARM: dts: orion5x: gpio pin fixes for linkstation lswtgl
Here're a few gpio pin related fixes: - remove pinctrl-0 definition from pinctrl, since those pins are used in other places such as gpio-fan and regulators. - keep initial state of power led - fix for alarm pin of gpio-fan. Fixes: dc57844 ("ARM: dts: orion5x: add buffalo linkstation ls-wtgl") 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 0418138 commit ff61ee8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

arch/arm/boot/dts/orion5x-linkstation-lswtgl.dts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/*
22
* Device Tree file for Buffalo Linkstation LS-WTGL
33
*
4-
* Copyright (C) 2015, Roger Shimizu <rogershimizu@gmail.com>
4+
* Copyright (C) 2015, 2016
5+
* Roger Shimizu <rogershimizu@gmail.com>
56
*
67
* This file is dual-licensed: you can use it either under the terms
78
* of the GPL or the X11 license, at your option. Note that this dual
@@ -69,8 +70,6 @@
6970

7071
internal-regs {
7172
pinctrl: pinctrl@10000 {
72-
pinctrl-0 = <&pmx_usb_power &pmx_power_hdd
73-
&pmx_fan_low &pmx_fan_high &pmx_fan_lock>;
7473
pinctrl-names = "default";
7574

7675
pmx_led_power: pmx-leds {
@@ -162,6 +161,7 @@
162161
led@1 {
163162
label = "lswtgl:blue:power";
164163
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
164+
default-state = "keep";
165165
};
166166

167167
led@2 {
@@ -188,7 +188,7 @@
188188
3250 1
189189
5000 0>;
190190

191-
alarm-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
191+
alarm-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
192192
};
193193

194194
restart_poweroff {

0 commit comments

Comments
 (0)