summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts
diff options
context:
space:
mode:
authorSrinivas Kandagatla2016-04-12 11:33:59 +0200
committerAndy Gross2016-04-20 22:03:14 +0200
commit2f29160fce634cb0e8e1bc493d0e509407ac1e0e (patch)
treeb61c1cd7ba9ef013122ed57de0e72df848221731 /arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts
parentARM: dts: db600c: add on board sata support. (diff)
downloadkernel-qcow2-linux-2f29160fce634cb0e8e1bc493d0e509407ac1e0e.tar.gz
kernel-qcow2-linux-2f29160fce634cb0e8e1bc493d0e509407ac1e0e.tar.xz
kernel-qcow2-linux-2f29160fce634cb0e8e1bc493d0e509407ac1e0e.zip
ARM: dts: db600c: Add on board leds support
This patch adds support to 4 user leds, wlan and bt led on board. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts')
-rw-r--r--arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts47
1 files changed, 47 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts b/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts
index 6f97ddc340e6..8c18a4bad088 100644
--- a/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts
@@ -153,6 +153,53 @@
};
};
+ leds {
+ pinctrl-names = "default";
+ pinctrl-0 = <&user_leds>, <&mpp_leds>;
+
+ compatible = "gpio-leds";
+
+ user-led0 {
+ label = "user0-led";
+ gpios = <&tlmm_pinmux 3 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "heartbeat";
+ default-state = "off";
+ };
+
+ user-led1 {
+ label = "user1-led";
+ gpios = <&tlmm_pinmux 7 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "mmc0";
+ default-state = "off";
+ };
+
+ user-led2 {
+ label = "user2-led";
+ gpios = <&tlmm_pinmux 10 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "mmc1";
+ default-state = "off";
+ };
+
+ user-led3 {
+ label = "user3-led";
+ gpios = <&tlmm_pinmux 11 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "none";
+ default-state = "off";
+ };
+
+ wifi-led {
+ label = "WiFi-led";
+ gpios = <&pm8921_mpps 7 GPIO_ACTIVE_HIGH>;
+ default-state = "off";
+ };
+
+ bt-led {
+ label = "BT-led";
+ gpios = <&pm8921_mpps 8 GPIO_ACTIVE_HIGH>;
+ default-state = "off";
+ };
+ };
+
pci@1b500000 {
status = "okay";
vdda-supply = <&pm8921_s3>;