projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66425ca
)
arch: arm: dts: bcm96753ref: enable led support
author
Philippe Reynes
<philippe.reynes@softathome.com>
Thu, 17 Feb 2022 16:17:06 +0000
(17:17 +0100)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/arch/arm/dts/bcm96753ref.dts
b/arch/arm/dts/bcm96753ref.dts
index e27a5b552f372a89b32d1a21a28b3d9e6aa0f7bf..ca15ca5f108d9a4a5d63e424b68b6705f001f726 100644
(file)
--- 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";
+ };
+};