aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Shtylyov <[email protected]>2016-08-24 22:22:22 +0300
committerSimon Horman <[email protected]>2016-08-26 15:40:34 +0200
commit996453571b33ba2ae07211ff9e8a09b28e49aec5 (patch)
treed357fe54c6a7e46908c90dcca9b6db79d17cddc7
parent9e1019c690ab0d7829e8d795cc46dba23728d997 (diff)
ARM: dts: blanche: add support for general purpose LEDs
Add support for the general purpose LEDs on the Blanche board. Signed-off-by: Sergei Shtylyov <[email protected]> Signed-off-by: Simon Horman <[email protected]>
-rw-r--r--arch/arm/boot/dts/r8a7792-blanche.dts17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7792-blanche.dts b/arch/arm/boot/dts/r8a7792-blanche.dts
index 3c6f42b9fe9f..f3ea43b7b724 100644
--- a/arch/arm/boot/dts/r8a7792-blanche.dts
+++ b/arch/arm/boot/dts/r8a7792-blanche.dts
@@ -159,6 +159,23 @@
};
};
+ leds {
+ compatible = "gpio-leds";
+
+ led17 {
+ gpios = <&gpio10 10 GPIO_ACTIVE_HIGH>;
+ };
+ led18 {
+ gpios = <&gpio10 11 GPIO_ACTIVE_HIGH>;
+ };
+ led19 {
+ gpios = <&gpio10 12 GPIO_ACTIVE_HIGH>;
+ };
+ led20 {
+ gpios = <&gpio10 23 GPIO_ACTIVE_HIGH>;
+ };
+ };
+
vcc_sdhi0: regulator-vcc-sdhi0 {
compatible = "regulator-fixed";