ath79: fix pinmux for ar933x devices
authorPaul Wassi <p.wassi@gmx.at>
Mon, 31 Dec 2018 20:51:47 +0000 (21:51 +0100)
committerPetr Štetiar <ynezz@true.cz>
Wed, 15 May 2019 11:34:24 +0000 (13:34 +0200)
commite9652e1696d94e57f96a06658da931fbac7c44c4
tree1f3d51cb554166185a34cc82ae6c8d12c674f866
parent0aa59e81b349cf9eab7280485a0521de2be44adb
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>
target/linux/ath79/dts/ar9330.dtsi
target/linux/ath79/dts/ar9331_dragino_ms14.dts
target/linux/ath79/dts/ar9331_etactica_eg200.dts
target/linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts
target/linux/ath79/dts/ar9331_tplink_tl-wr741nd-v4.dtsi