mips: bmips: add bcm6358-led driver support for BCM6358
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Sun, 7 May 2017 18:11:31 +0000 (20:11 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 10 May 2017 14:16:09 +0000 (16:16 +0200)
This driver can control up to 32 serial leds.

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

index 4c94555..edd0002 100644 (file)
                        status = "disabled";
                };
 
+               leds: led-controller@fffe00d0 {
+                       compatible = "brcm,bcm6358-leds";
+                       reg = <0xfffe00d0 0x8>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       status = "disabled";
+               };
+
                uart0: serial@fffe0100 {
                        compatible = "brcm,bcm6345-uart";
                        reg = <0xfffe0100 0x18>;