diff options
author | Lech Perczak <lech.perczak@gmail.com> | 2023-03-07 01:14:05 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2023-03-12 14:00:26 +0100 |
commit | a7a3de5edb142c7cefdb6e810cc07a6222f7541d (patch) | |
tree | 05dca334e3a007e705b6e90459d2c6b5a2560919 /target/linux/ath79 | |
parent | 56f4d5ec6babfe54d9e29cc06d7c9b090af84cd3 (diff) | |
download | upstream-a7a3de5edb142c7cefdb6e810cc07a6222f7541d.tar.gz upstream-a7a3de5edb142c7cefdb6e810cc07a6222f7541d.tar.bz2 upstream-a7a3de5edb142c7cefdb6e810cc07a6222f7541d.zip |
ath79: fix user LED glow on Mikrotik 911 Lite boards
GPIO3, to which the user LED is connected on RB911-Lite boards seems to
still sink current, even when driven high. Enabling open drain for this
pin fixes this behaviour and gets rid of the glow when LED is set to
off, so enable it.
Fixes: 43c7132bf8e7 ("ath79: add support for MikroTik RouterBOARD 911 Lite2/Lite5")
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Diffstat (limited to 'target/linux/ath79')
-rw-r--r-- | target/linux/ath79/dts/ar9344_mikrotik_routerboard-911-lite.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ath79/dts/ar9344_mikrotik_routerboard-911-lite.dts b/target/linux/ath79/dts/ar9344_mikrotik_routerboard-911-lite.dts index d77078c5a2..0315f49d07 100644 --- a/target/linux/ath79/dts/ar9344_mikrotik_routerboard-911-lite.dts +++ b/target/linux/ath79/dts/ar9344_mikrotik_routerboard-911-lite.dts @@ -25,7 +25,7 @@ led_user: user { label = "green:user"; - gpios = <&gpio 3 GPIO_ACTIVE_LOW>; + gpios = <&gpio 3 (GPIO_ACTIVE_LOW|GPIO_OPEN_DRAIN)>; }; }; |