projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30022bb
)
ARM: tegra: Add gpio-leds to Tegra30 Beaver
author
Eric Brower
<ebrower@nvidia.com>
Fri, 10 May 2013 14:40:29 +0000
(14:40 +0000)
committer
Stephen Warren
<swarren@nvidia.com>
Tue, 28 May 2013 22:13:49 +0000
(16:13 -0600)
Add support for general-purpose LEDs present on Beaver
Signed-off-by: Eric Brower <ebrower@nvidia.com>
[swarren: put new node in correct sort order]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/boot/dts/tegra30-beaver.dts
patch
|
blob
|
history
diff --git
a/arch/arm/boot/dts/tegra30-beaver.dts
b/arch/arm/boot/dts/tegra30-beaver.dts
index
7a63cde
..
4114f87
100644
(file)
--- a/
arch/arm/boot/dts/tegra30-beaver.dts
+++ b/
arch/arm/boot/dts/tegra30-beaver.dts
@@
-391,4
+391,17
@@
vin-supply = <&sys_3v3_reg>;
};
};
+
+ gpio-leds {
+ compatible = "gpio-leds";
+
+ gpled1 {
+ label = "LED1"; /* CR5A1 (blue) */
+ gpios = <&gpio 89 0>; /* gpio PL1 */
+ };
+ gpled2 {
+ label = "LED2"; /* CR4A2 (green) */
+ gpios = <&gpio 88 0>; /* gpio PL0 */
+ };
+ };
};