dt: bcm968580xref: enable led controller
authorPhilippe Reynes <philippe.reynes@softathome.com>
Fri, 22 Mar 2019 16:02:03 +0000 (17:02 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 23 Apr 2019 21:57:14 +0000 (17:57 -0400)
Enable the led controller in the device tree
of the board bcm968580xref.

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

index 8ef9338d06fa6ddfbdea6523c80870e698949af2..861e9891a78371dcbf1cac223ab1b3ae66ebf7da 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@2 {
+               reg = <2>;
+               label = "green:inet";
+       };
+
+       led@5 {
+               reg = <5>;
+               label = "red:alarm";
+       };
+
+       led@8 {
+               reg = <8>;
+               label = "green:wlan_link";
+       };
+
+       led@11 {
+               reg = <11>;
+               label = "green:fxs1";
+       };
+
+       led@14 {
+               reg = <14>;
+               label = "green:fxs2";
+       };
+
+       led@15 {
+               reg = <15>;
+               label = "green:usb0";
+       };
+
+       led@16 {
+               reg = <16>;
+               label = "green:usb1";
+       };
+
+       led@17 {
+               reg = <17>;
+               label = "green:wps";
+       };
+};