[U-Boot] [PATCH 3/8] dt: bcm968580xref: enable led controller
Philippe Reynes
philippe.reynes at softathome.com
Thu Mar 21 13:28:49 UTC 2019
Enable the led controller in the device tree
of the board bcm968580xref.
Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
---
arch/arm/dts/bcm968580xref.dts | 48 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/arch/arm/dts/bcm968580xref.dts b/arch/arm/dts/bcm968580xref.dts
index 0c59f94..c11246a 100644
--- a/arch/arm/dts/bcm968580xref.dts
+++ b/arch/arm/dts/bcm968580xref.dts
@@ -29,3 +29,51 @@
u-boot,dm-pre-reloc;
status = "okay";
};
+
+&leds {
+ status = "okay";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ brcm,serial-led-en-pol;
+ brcm,serial-led-data-ppol;
+
+ led at 2 {
+ reg = <2>;
+ label = "green:inet";
+ };
+
+ led at 5 {
+ reg = <5>;
+ label = "red:alarm";
+ };
+
+ led at 8 {
+ reg = <8>;
+ label = "green:wlan_link";
+ };
+
+ led at 11 {
+ reg = <11>;
+ label = "green:fxs1";
+ };
+
+ led at 14 {
+ reg = <14>;
+ label = "green:fxs2";
+ };
+
+ led at 15 {
+ reg = <15>;
+ label = "green:usb0";
+ };
+
+ led at 16 {
+ reg = <16>;
+ label = "green:usb1";
+ };
+
+ led at 17 {
+ reg = <17>;
+ label = "green:wps";
+ };
+};
--
2.7.4
More information about the U-Boot
mailing list