]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dt: bcm963158: enable led controller
authorPhilippe Reynes <philippe.reynes@softathome.com>
Fri, 22 Mar 2019 16:02:07 +0000 (17:02 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 23 Apr 2019 21:57:22 +0000 (17:57 -0400)
Enable the led controller in the device tree
of the board bcm963158.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
arch/arm/dts/bcm963158.dts

index c318fbe04e340d6a6fa782fddde87d76a4f84ef5..85659440dae938acd69b633ba856c47d74817d16 100644 (file)
                brcm,nand-oob-sector-size = <16>;
        };
 };
+
+&leds {
+       status = "okay";
+       #address-cells = <1>;
+       #size-cells = <0>;
+       brcm,serial-led-en-pol;
+       brcm,serial-led-data-ppol;
+
+       led@16 {
+               reg = <16>;
+               label = "red:dsl2";
+       };
+
+       led@17 {
+               reg = <17>;
+               label = "green:dsl1";
+       };
+
+       led@18 {
+               reg = <18>;
+               label = "green:fxs2";
+       };
+
+       led@19 {
+               reg = <19>;
+               label = "green:fxs1";
+       };
+
+       led@26 {
+               reg = <26>;
+               label = "green:wan1_act";
+       };
+
+       led@27 {
+               reg = <27>;
+               label = "green:wps";
+       };
+
+       led@28 {
+               reg = <28>;
+               active-low;
+               label = "green:aggregate_act";
+       };
+
+       led@29 {
+               reg = <29>;
+               label = "green:aggregate_link";
+       };
+};