| From 921569d8779cc3dbf68d2a4e885303e6085537d7 Mon Sep 17 00:00:00 2001 |
| From: Magnus Damm <damm@opensource.se> |
| Date: Thu, 21 Nov 2013 09:44:04 +0900 |
| Subject: 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> |
| (cherry picked from commit 614a198d45e523f6066f1c22b9c10e4067f2c44a) |
| (Queued by ARM-SoC for v3.14 but not yet in Linus's tree) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| arch/arm/boot/dts/r8a7791-koelsch-reference.dts | 14 ++++++++++++++ |
| 1 file changed, 14 insertions(+) |
| |
| 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 { |
| -- |
| 1.8.5.rc3 |
| |