realtek: remove hardcoded sys-led configurations
authorSander Vanheule <sander@svanheule.net>
Fri, 26 Nov 2021 21:16:47 +0000 (22:16 +0100)
committerSander Vanheule <sander@svanheule.net>
Sat, 11 Dec 2021 19:05:00 +0000 (20:05 +0100)
commit1d10eedb43cf77b16b0f7b49e87c56cad95b1f22
tree310775e25ad531476d159b77e0394e5478c39859
parent78d69d0dfc9908e2970b9b4db324bcb894bf4659
realtek: remove hardcoded sys-led configurations

Disabling the sys-led peripheral should be done via a pin controller,
for which pinctrl-single nodes are present in the platform DTSI files.
Drop the hardcoded per-platform sys-led configurations, and require
things to be set up in the devicetree.

Co-developed-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Signed-off-by: Sander Vanheule <sander@svanheule.net>
Tested-by: Bjørn Mork <bjorn@mork.no>
target/linux/realtek/files-5.10/arch/mips/rtl838x/setup.c