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 <[email protected]>
---
 target/linux/realtek/dts-5.10/rtl838x.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/target/linux/realtek/dts-5.10/rtl838x.dtsi 
b/target/linux/realtek/dts-5.10/rtl838x.dtsi
index 631cd0e8f733..bb7348d10243 100644
--- a/target/linux/realtek/dts-5.10/rtl838x.dtsi
+++ b/target/linux/realtek/dts-5.10/rtl838x.dtsi
@@ -220,6 +220,11 @@
                compatible = "realtek,maple-switchcore", "syscon";
                reg = <0x1b000000 0x10000>;
 
+               hw_sys_led: sys-led {
+                       compatible = "realtek,maple-sys-led";
+                       status = "disabled";
+               };
+
                pinctrl {
                        compatible = "realtek,maple-pinctrl";
 
-- 
2.37.3


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to