summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2015-09-18 13:32:11 +0100
committerAndy Gross <agross@codeaurora.org>2015-10-13 16:40:00 -0500
commit2630a52fd5c996cfba775346ad5a218c4b7dc147 (patch)
tree65fe58c03543eba56cc37ccf468e8cb0edbbb521 /arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
parentf0b6d95062a6674a58e3aa0c19d170e9ab92e44f (diff)
downloadblackbird-obmc-linux-2630a52fd5c996cfba775346ad5a218c4b7dc147.tar.gz
blackbird-obmc-linux-2630a52fd5c996cfba775346ad5a218c4b7dc147.zip
ARM: dts: apq8064-ifc6410: add notify led support.
This patch adds notify led support on IFC6410, whose trigger can be configured from userspace. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Andy Gross <agross@codeaurora.org>
Diffstat (limited to 'arch/arm/boot/dts/qcom-apq8064-ifc6410.dts')
-rw-r--r--arch/arm/boot/dts/qcom-apq8064-ifc6410.dts21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
index 9c71a51a7079..11ac608b6d50 100644
--- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
@@ -26,6 +26,18 @@
};
};
+ leds {
+ compatible = "gpio-leds";
+ pinctrl-names = "default";
+ pinctrl-0 = <&notify_led>;
+
+ led@1 {
+ label = "apq8064:green:user1";
+ gpios = <&pm8921_gpio 18 GPIO_ACTIVE_HIGH>;
+ default-state = "on";
+ };
+ };
+
soc {
pinctrl@800000 {
card_detect: card_detect {
@@ -230,6 +242,15 @@
power-source = <PM8921_GPIO_S4>;
};
};
+
+ notify_led: nled {
+ pios {
+ pins = "gpio18";
+ function = "normal";
+ bias-disable;
+ power-source = <PM8921_GPIO_S4>;
+ };
+ };
};
};
};
OpenPOWER on IntegriCloud