summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/r8a7779-marzen-reference.dts
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-05-10 00:23:04 +0200
committerSimon Horman <horms+renesas@verge.net.au>2013-07-22 10:12:39 +0900
commit80d1126fae07fd4bd6a93ad626ad14e753f9d892 (patch)
tree53b8a5caa5511b222150e8dcb7b25c5fe206ef4a /arch/arm/boot/dts/r8a7779-marzen-reference.dts
parentc4a003f6075c8e3e4e5a0d8958518882d779ef74 (diff)
ARM: shmobile: marzen-reference: Add LED2-LED4 to the device tree
LED2 to LED4 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/r8a7779-marzen-reference.dts')
-rw-r--r--arch/arm/boot/dts/r8a7779-marzen-reference.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7779-marzen-reference.dts b/arch/arm/boot/dts/r8a7779-marzen-reference.dts
index 6d202478a139..b64705be258d 100644
--- a/arch/arm/boot/dts/r8a7779-marzen-reference.dts
+++ b/arch/arm/boot/dts/r8a7779-marzen-reference.dts
@@ -11,6 +11,7 @@
/dts-v1/;
/include/ "r8a7779.dtsi"
+#include <dt-bindings/gpio/gpio.h>
/ {
model = "marzen";
@@ -47,6 +48,19 @@
vddvario-supply = <&fixedregulator3v3>;
vdd33a-supply = <&fixedregulator3v3>;
};
+
+ leds {
+ compatible = "gpio-leds";
+ led2 {
+ gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
+ };
+ led3 {
+ gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>;
+ };
+ led4 {
+ gpios = <&gpio4 31 GPIO_ACTIVE_HIGH>;
+ };
+ };
};
&pfc {