summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi
diff options
context:
space:
mode:
authorIvan T. Ivanov <ivan.ivanov@linaro.org>2015-06-04 12:19:06 +0300
committerAndy Gross <agross@codeaurora.org>2015-07-28 16:19:13 -0500
commit9943230c8860178a6f6409f0ba19167c0a46a71b (patch)
treea8f75e4d101c063848d6b8196f213af6b29340ea /arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi
parent8883ad80c175dd17aaf007f982e3f8461315eab8 (diff)
downloadlinux-0-day-9943230c8860178a6f6409f0ba19167c0a46a71b.tar.gz
linux-0-day-9943230c8860178a6f6409f0ba19167c0a46a71b.tar.xz
arm64: dts: qcom: Add apq8016-sbc board LED's related device nodes
APQ8016 SBC board have 6 user controllable LED's. Add following devices: LED1 green LED triggered by system heartbeat. LED2 green LED triggered by access to eMMC device. LED3 green LED triggered by access to SD card. LED4 green LED no trigger assigned. LED5 yellow LED triggered by access to WLAN. LED6 blue LED triggered by access to Bluetooth. Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org> Signed-off-by: Andy Gross <agross@codeaurora.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi')
-rw-r--r--arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi
index b568c49b21114..e03c11d9d8344 100644
--- a/arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi
+++ b/arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi
@@ -18,4 +18,23 @@
input-disable;
};
};
+
+ pm8916_gpios_leds: pm8916_gpios_leds {
+ pinconf {
+ pins = "gpio1", "gpio2";
+ function = PMIC_GPIO_FUNC_NORMAL;
+ output-low;
+ };
+ };
+};
+
+&pm8916_mpps {
+
+ pm8916_mpps_leds: pm8916_mpps_leds {
+ pinconf {
+ pins = "mpp2", "mpp3";
+ function = PMIC_GPIO_FUNC_NORMAL;
+ output-low;
+ };
+ };
};