summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPhilippe Reynes <philippe.reynes@softathome.com>2022-02-17 19:17:06 +0300
committerTom Rini <trini@konsulko.com>2022-03-07 19:36:12 +0300
commit3bf5e4343cd6d57d59a315f6f4c5b2874dd01a63 (patch)
tree24b3361218c13e127e01322e21059c9cf97d293c /arch
parent66425ca694fa7dd2a795c5a47714f4f45f92b438 (diff)
downloadu-boot-3bf5e4343cd6d57d59a315f6f4c5b2874dd01a63.tar.xz
arch: arm: dts: bcm96753ref: enable led support
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/bcm96753ref.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/dts/bcm96753ref.dts b/arch/arm/dts/bcm96753ref.dts
index e27a5b552f..ca15ca5f10 100644
--- a/arch/arm/dts/bcm96753ref.dts
+++ b/arch/arm/dts/bcm96753ref.dts
@@ -78,3 +78,21 @@
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";
+ };
+};