]> git.baikalelectronics.ru Git - kernel.git/commitdiff
MIPS: bmips: Improve BCM6328 device tree
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Sun, 17 Jan 2016 10:02:34 +0000 (11:02 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 24 Jan 2016 01:34:26 +0000 (02:34 +0100)
Adds bcm6328-leds node to bcm6328.dtsi

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Cc: jogo@openwrt.org
Cc: cernekee@gmail.com
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: Álvaro Fernández Rojas <noltari@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/12116/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/boot/dts/brcm/bcm6328.dtsi

index 41891c1e58bda2554595d76a7b2c0261a11e2990..d61b1616b604552be9a30f89eb42539de6838b14 100644 (file)
@@ -31,6 +31,7 @@
        };
 
        aliases {
+               leds0 = &leds0;
                uart0 = &uart0;
        };
 
                        offset = <0x28>;
                        mask = <0x1>;
                };
+
+               leds0: led-controller@10000800 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       compatible = "brcm,bcm6328-leds";
+                       reg = <0x10000800 0x24>;
+                       status = "disabled";
+               };
        };
 };