summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/r8a7793-gose.dts
diff options
context:
space:
mode:
authorSimon Horman <horms+renesas@verge.net.au>2015-11-18 14:20:35 -0800
committerSimon Horman <horms+renesas@verge.net.au>2016-01-25 08:55:00 +0900
commit3b18d8593d4cb6880c6647c26ccfcd3eb5a849d9 (patch)
treee1579c4b28ca78fb37df7f13d49e3964f850b49d /arch/arm/boot/dts/r8a7793-gose.dts
parentd7d5974b156e2ef7436483de00ccada5987c9d31 (diff)
ARM: dts: gose: Add GPIO leds to DT
Instantiate the GPIO leds in the gose device tree. Based on similar work for the koelsch board by Magnus Damm. Signed-off-by: Simon Horman <horms+renesas@verge.net.au> Tested-by: Magnus Damm <damm+renesas@opensource.se>
Diffstat (limited to 'arch/arm/boot/dts/r8a7793-gose.dts')
-rw-r--r--arch/arm/boot/dts/r8a7793-gose.dts16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7793-gose.dts b/arch/arm/boot/dts/r8a7793-gose.dts
index ccbc1c66cc6c..90b587c3c736 100644
--- a/arch/arm/boot/dts/r8a7793-gose.dts
+++ b/arch/arm/boot/dts/r8a7793-gose.dts
@@ -113,6 +113,22 @@
debounce-interval = <20>;
};
};
+
+ leds {
+ compatible = "gpio-leds";
+ led6 {
+ gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
+ label = "LED6";
+ };
+ led7 {
+ gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
+ label = "LED7";
+ };
+ led8 {
+ gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
+ label = "LED8";
+ };
+ };
};
&extal_clk {