summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/r8a7790-lager-reference.dts
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-07-16 11:45:56 +0200
committerSimon Horman <horms+renesas@verge.net.au>2013-07-23 10:05:34 +0900
commit466f302e076236a4796079681ca2a2f34a5792a3 (patch)
tree7081cb175807bd0dc7df0ad525701afa5aee3508 /arch/arm/boot/dts/r8a7790-lager-reference.dts
parentd144f3623ab37c8cd8365533217e9059d8eb4636 (diff)
ARM: shmobile: lager-reference: Add LED6-LED8 to the device tree
LED6 to LED8 are GPIO LEDs. Add corresponding DT nodes. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/r8a7790-lager-reference.dts')
-rw-r--r--arch/arm/boot/dts/r8a7790-lager-reference.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7790-lager-reference.dts b/arch/arm/boot/dts/r8a7790-lager-reference.dts
index fa5b81bddd5..5ee71cf5e36 100644
--- a/arch/arm/boot/dts/r8a7790-lager-reference.dts
+++ b/arch/arm/boot/dts/r8a7790-lager-reference.dts
@@ -10,6 +10,7 @@
/dts-v1/;
/include/ "r8a7790.dtsi"
+#include <dt-bindings/gpio/gpio.h>
/ {
model = "Lager";
@@ -28,4 +29,17 @@
#address-cells = <1>;
#size-cells = <1>;
};
+
+ leds {
+ compatible = "gpio-leds";
+ led6 {
+ gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>;
+ };
+ led7 {
+ gpios = <&gpio4 23 GPIO_ACTIVE_HIGH>;
+ };
+ led8 {
+ gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>;
+ };
+ };
};