realtek: remove hardcoded sys-led configurations patch/realtek-gpio-sysled-dts
authorSander Vanheule <sander@svanheule.net>
Fri, 26 Nov 2021 21:16:47 +0000 (22:16 +0100)
committerSander Vanheule <sander@svanheule.net>
Tue, 7 Jun 2022 19:03:36 +0000 (21:03 +0200)
commit1ba0b77802f74ea001cc8158493d08cf2b5be8ba
treec7697b35280ad52659d2f93ad87e169a8c136c36
parentc57b39063848dc9eaac104fbd300e0d13b08b0af
realtek: remove hardcoded sys-led configurations

setup.c unconditionally sets the sys-led mode (blinking rate) to a
permanent high output. This may cause issues when a board expects this
pin to toggle periodically, e.g. when hooked up to an external watchdog.

If the sys-led peripheral is used to control an LED, the mux should be
configured to use the pin as GPIO0, allowing for better control as a
GPIO LED.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
target/linux/realtek/files-5.10/arch/mips/rtl838x/setup.c