]> git.baikalelectronics.ru Git - uboot.git/commitdiff
arch: arm: dts: bcm96753ref: enable led support
authorPhilippe Reynes <philippe.reynes@softathome.com>
Thu, 17 Feb 2022 16:17:06 +0000 (17:17 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 7 Mar 2022 16:36:12 +0000 (11:36 -0500)
Enable the led in the device tree of the refboard bcm96753ref.
It also defines two leds (led_red ad led_green).

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

index e27a5b552f372a89b32d1a21a28b3d9e6aa0f7bf..ca15ca5f108d9a4a5d63e424b68b6705f001f726 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@0 {
+               reg = <0>;
+               label = "led_red";
+       };
+
+       led@1 {
+               reg = <1>;
+               label = "led_green";
+       };
+};