summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/qcom-ipq8064.dtsi
diff options
context:
space:
mode:
authorSricharan R <sricharan@codeaurora.org>2018-08-03 16:10:19 +0200
committerAndy Gross <andy.gross@linaro.org>2018-09-13 21:49:43 +0200
commit14e63a953a8dc536a5b07df087171aaeba052d40 (patch)
tree2b844d136b4736dcc56d5e4b48d4e4c23c80d795 /arch/arm/boot/dts/qcom-ipq8064.dtsi
parentARM: dts: qcom: Move common nodes to ipq8064-v.1.0.dtsi (diff)
downloadlinux-14e63a953a8dc536a5b07df087171aaeba052d40.tar.xz
linux-14e63a953a8dc536a5b07df087171aaeba052d40.zip
ARM: dts: qcom: Add led and gpio-button nodes to ipq8064 boards
Add the dt nodes for enabling the leds and gpio-buttons. Signed-off-by: Sricharan R <sricharan@codeaurora.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/qcom-ipq8064.dtsi')
-rw-r--r--arch/arm/boot/dts/qcom-ipq8064.dtsi19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-ipq8064.dtsi b/arch/arm/boot/dts/qcom-ipq8064.dtsi
index 04cc822e3a2e..f793cd1ad6d0 100644
--- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
@@ -153,6 +153,25 @@
bias-none;
};
};
+
+ leds_pins: leds_pins {
+ mux {
+ pins = "gpio7", "gpio8", "gpio9",
+ "gpio26", "gpio53";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-pull-down;
+ output-low;
+ };
+ };
+
+ buttons_pins: buttons_pins {
+ mux {
+ pins = "gpio54";
+ drive-strength = <2>;
+ bias-pull-up;
+ };
+ };
};
intc: interrupt-controller@2000000 {