From 8be66c2332b2eaf1b1114edb4b5fd7936569a6af Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20=C5=A0tetiar?= Date: Thu, 16 May 2019 12:10:03 +0200 Subject: [PATCH] ath79: ar9330: fix switch_led_disable_pins reg value MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit In commit e9652e1696d9 ("ath79: fix pinmux for ar933x devices") I've wrongly changed desired register value to 0xf8 although it should've been set to 0x0. 0xf8 value sets bits 3-7 (ETH_SWITCH_LEDx_EN) to 1 which actually enables ethernet switch LEDs, so 0x0 is correct value in order to use the pins as GPIO. Fixes: e9652e1696d9 ("ath79: fix pinmux for ar933x devices") Reported-by: Chuanhong Guo Signed-off-by: Petr Å tetiar --- target/linux/ath79/dts/ar9330.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ath79/dts/ar9330.dtsi b/target/linux/ath79/dts/ar9330.dtsi index ca8d69c37156..6a122ba84061 100644 --- a/target/linux/ath79/dts/ar9330.dtsi +++ b/target/linux/ath79/dts/ar9330.dtsi @@ -75,7 +75,7 @@ }; switch_led_disable_pins: pinmux_switch_led_disable_pins { - pinctrl-single,bits = <0x0 0xf8 0xf8>; + pinctrl-single,bits = <0x0 0x0 0xf8>; }; }; -- 2.30.2