mips: bmips: add bcm6328-led driver support for BCM63268
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Sun, 7 May 2017 18:10:26 +0000 (20:10 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 10 May 2017 14:16:09 +0000 (16:16 +0200)
This driver can control up to 24 LEDs and supports HW blinking and serial leds.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/mips/dts/brcm,bcm63268.dtsi

index 3eda77db5a234f934b9cb0a6f3eed694f9c6d7aa..11c67291679ca334f9ebc9e71aa081b2a5436da4 100644 (file)
                        status = "disabled";
                };
 
+               leds: led-controller@10001900 {
+                       compatible = "brcm,bcm6328-leds";
+                       reg = <0x10001900 0x24>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       status = "disabled";
+               };
+
                memory-controller@10003000 {
                        compatible = "brcm,bcm6328-mc";
                        reg = <0x10003000 0x1000>;