[PATCH v2 12/16] realtek: rtl839x: add sys-led node
Sander Vanheule
sander at svanheule.net
Mon Oct 3 13:52:23 PDT 2022
All devices that can use the system LED peripheral to control an actual
LED currently use this as a GPIO-controlled LED. A GPIO LED provides
more fine-grained control of blink rates, at the cost of some CPU
cycles. Users may anyhow prefer to use the sys-led peripheral, so add
the sys-led node as "disabled".
Signed-off-by: Sander Vanheule <sander at svanheule.net>
---
target/linux/realtek/dts-5.10/rtl839x.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/target/linux/realtek/dts-5.10/rtl839x.dtsi b/target/linux/realtek/dts-5.10/rtl839x.dtsi
index 07017c587191..8d040b9c6e3e 100644
--- a/target/linux/realtek/dts-5.10/rtl839x.dtsi
+++ b/target/linux/realtek/dts-5.10/rtl839x.dtsi
@@ -246,6 +246,11 @@
compatible = "realtek,cypress-switchcore", "syscon";
reg = <0x1b000000 0x10000>;
+ hw_sys_led: sys-led {
+ compatible = "realtek,cypress-sys-led";
+ status = "disabled";
+ };
+
pinctrl: pinctrl {
compatible = "realtek,cypress-pinctrl";
--
2.37.3
More information about the openwrt-devel
mailing list