projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f26fb1c
)
ARM: dts: Add imx6ull-somdevices-C0P1.dts add LEDs.
author
Josep Orga
<jorga@somdevices.com>
Thu, 23 Apr 2020 17:02:00 +0000
(19:02 +0200)
committer
Josep Orga
<jorga@somdevices.com>
Thu, 23 Apr 2020 17:02:00 +0000
(19:02 +0200)
Signed-off-by: Josep Orga <jorga@somdevices.com>
arch/arm/boot/dts/imx6ull-somdevices-C0P1.dts
patch
|
blob
|
history
diff --git
a/arch/arm/boot/dts/imx6ull-somdevices-C0P1.dts
b/arch/arm/boot/dts/imx6ull-somdevices-C0P1.dts
index
7024142
..
a665773
100644
(file)
--- a/
arch/arm/boot/dts/imx6ull-somdevices-C0P1.dts
+++ b/
arch/arm/boot/dts/imx6ull-somdevices-C0P1.dts
@@
-2,3
+2,23
@@
#define BIG_LCD
#include "imx6ull-somdevices.dtsi"
+
+/ {
+ leds {
+ led1 {
+ label = "red";
+ gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
+ default-state = "on";
+ };
+ led2 {
+ label = "green";
+ gpios = <&gpio1 18 GPIO_ACTIVE_HIGH>;
+ default-state = "on";
+ };
+ led3 {
+ label = "yellow";
+ gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
+ default-state = "on";
+ };
+ };
+};