diff options
author | Paul Wassi <p.wassi@gmx.at> | 2018-12-31 21:51:47 +0100 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-05-15 13:34:24 +0200 |
commit | e9652e1696d94e57f96a06658da931fbac7c44c4 (patch) | |
tree | 1f3d51cb554166185a34cc82ae6c8d12c674f866 /target/linux/ath79/dts/ar9330.dtsi | |
parent | 0aa59e81b349cf9eab7280485a0521de2be44adb (diff) | |
download | upstream-e9652e1696d94e57f96a06658da931fbac7c44c4.tar.gz upstream-e9652e1696d94e57f96a06658da931fbac7c44c4.tar.bz2 upstream-e9652e1696d94e57f96a06658da931fbac7c44c4.zip |
ath79: fix pinmux for ar933x devices
Properly disable the SoC's internal Switch LEDs on the pinmux.
Devices that previously called ath79_gpio_function_disable for
the switch LEDs, just need to reference switch_led_pins in the
pinctrl-0 property of the gpio-leds node.
Signed-off-by: Paul Wassi <p.wassi@gmx.at>
[changed desired pinctrl register value from 0x1f to proper 0xf8]
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
[renamed pinmux name to switch_led_disable_pins to make purpose more clear]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'target/linux/ath79/dts/ar9330.dtsi')
-rw-r--r-- | target/linux/ath79/dts/ar9330.dtsi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/ar9330.dtsi b/target/linux/ath79/dts/ar9330.dtsi index 49c6f69859..ca8d69c371 100644 --- a/target/linux/ath79/dts/ar9330.dtsi +++ b/target/linux/ath79/dts/ar9330.dtsi @@ -74,8 +74,8 @@ pinctrl-single,bits = <0x0 0x1 0x1>; }; - switch_led_pins: pinmux_switch_led_pins { - pinctrl-single,bits = <0x0 0x1f 0xf8>; + switch_led_disable_pins: pinmux_switch_led_disable_pins { + pinctrl-single,bits = <0x0 0xf8 0xf8>; }; }; |