realtek: rtl839x: add sys-led node
authorSander Vanheule <sander@svanheule.net>
Fri, 30 Sep 2022 16:30:35 +0000 (18:30 +0200)
committerSander Vanheule <sander@svanheule.net>
Mon, 31 Oct 2022 17:52:40 +0000 (18:52 +0100)
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@svanheule.net>
target/linux/realtek/dts-5.10/rtl839x.dtsi

index 98c4b2010c5fb62dd40fba09cf5f394a18427bb5..095dc1e8ac539ba8f5dfba5f5fa10cad1e3bc9a6 100644 (file)
                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";