[PATCH 3/4] arch: arm: dts: bcm96753ref: enable led support

Philippe Reynes philippe.reynes at softathome.com
Thu Feb 17 17:17:06 CET 2022


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 at softathome.com>
---
 arch/arm/dts/bcm96753ref.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

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 at 0 {
+		reg = <0>;
+		label = "led_red";
+	};
+
+	led at 1 {
+		reg = <1>;
+		label = "led_green";
+	};
+};
-- 
2.17.1



More information about the U-Boot mailing list