]> git.sur5r.net Git - u-boot/commitdiff
mips: bmips: add bcm6328-led driver support for BCM6328
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Sun, 7 May 2017 18:10:25 +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,bcm6328.dtsi

index 30c2ee8b18c43b7b21ee4c16403679c24b58ec18..a5b43ae6e3367aa9e357fb72cf7bb6f30d065397 100644 (file)
                        status = "disabled";
                };
 
+               leds: led-controller@10000800 {
+                       compatible = "brcm,bcm6328-leds";
+                       reg = <0x10000800 0x24>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       status = "disabled";
+               };
+
                memory-controller@10003000 {
                        compatible = "brcm,bcm6328-mc";
                        reg = <0x10003000 0x1000>;