projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d1311b
)
ARM: zynq: DT: Add LEDs to zc702 DT
author
Ezra Savard
<ezra.savard@xilinx.com>
Fri, 29 Aug 2014 14:38:37 +0000
(07:38 -0700)
committer
Michal Simek
<michal.simek@xilinx.com>
Mon, 1 Sep 2014 11:10:21 +0000
(13:10 +0200)
Adds LEDs to the zc702 devicetree for use with the leds-gpio driver.
Signed-off-by: Ezra Savard <ezra.savard@xilinx.com>
Reviewed-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/boot/dts/zynq-zc702.dts
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/boot/dts/zynq-zc702.dts
b/arch/arm/boot/dts/zynq-zc702.dts
index 835c3089c61cb6d55e6fadc93795d224ec1bec00..b29e0f97e764d38d768e548b917ac57ef035708e 100644
(file)
--- a/
arch/arm/boot/dts/zynq-zc702.dts
+++ b/
arch/arm/boot/dts/zynq-zc702.dts
@@
-27,6
+27,15
@@
bootargs = "console=ttyPS0,115200 earlyprintk";
};
+ leds {
+ compatible = "gpio-leds";
+
+ ds23 {
+ label = "ds23";
+ gpios = <&gpio0 10 0>;
+ linux,default-trigger = "heartbeat";
+ };
+ };
};
&can0 {