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: 43c7132bf8 ("ath79: add support for MikroTik RouterBOARD 911 Lite2/Lite5")
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
This commit is contained in:
Lech Perczak 2023-03-07 01:14:05 +01:00 committed by Hauke Mehrtens
parent 56f4d5ec6b
commit a7a3de5edb
1 changed files with 1 additions and 1 deletions

View File

@ -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)>;
};
};