summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/r8a7791-koelsch-reference.dts
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2013-11-21 04:44:04 +0400
committerSimon Horman <horms+renesas@verge.net.au>2013-12-10 12:27:15 +0400
commit614a198d45e523f6066f1c22b9c10e4067f2c44a (patch)
treed3b48abb3bc7e77093b1b960b7ce224e57081b43 /arch/arm/boot/dts/r8a7791-koelsch-reference.dts
parentcef20af093fc018009ed7f7fde38f9fb8b445e6b (diff)
downloadlinux-614a198d45e523f6066f1c22b9c10e4067f2c44a.tar.xz
ARM: shmobile: Koelsch DT reference GPIO LED support
Add led6, led7 and led8 to the Koelsch DT reference board support. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/r8a7791-koelsch-reference.dts')
-rw-r--r--arch/arm/boot/dts/r8a7791-koelsch-reference.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7791-koelsch-reference.dts b/arch/arm/boot/dts/r8a7791-koelsch-reference.dts
index 8e7e917d66b6..19192731c24a 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch-reference.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch-reference.dts
@@ -11,6 +11,7 @@
/dts-v1/;
#include "r8a7791.dtsi"
+#include <dt-bindings/gpio/gpio.h>
/ {
model = "Koelsch";
@@ -29,6 +30,19 @@
#address-cells = <1>;
#size-cells = <1>;
};
+
+ leds {
+ compatible = "gpio-leds";
+ led6 {
+ gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
+ };
+ led7 {
+ gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
+ };
+ led8 {
+ gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
+ };
+ };
};
&pfc {