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>2017-01-04 13:35:00 +0000
committerAndy Gross <andy.gross@linaro.org>2017-01-13 13:17:29 -0600
commitb4dba947656f9acf6ce0838a613dad74221f8d1f (patch)
tree0e8082a397f48be43b811354630b35416d414e11 /arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi
parentf953d999d261acd1b99aa821c9342bbe93e7ec25 (diff)
downloadtalos-obmc-linux-b4dba947656f9acf6ce0838a613dad74221f8d1f.tar.gz
talos-obmc-linux-b4dba947656f9acf6ce0838a613dad74221f8d1f.zip
arm64: dts: apq8016-sbc: Limit MPP4 high state to 1.8V
96Boards specs require all GPIO signals to be at 1.8V. Limit MPP4, which is PIN28 on J8, to 1.8V(L5). Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org> Signed-off-by: Andy Gross <andy.gross@linaro.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.dtsi13
1 files changed, 13 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 f881437d53c5..d94640812194 100644
--- a/arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi
+++ b/arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi
@@ -1,4 +1,5 @@
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
+#include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
&pm8916_gpios {
@@ -30,6 +31,18 @@
&pm8916_mpps {
+ pinctrl-names = "default";
+ pinctrl-0 = <&ls_exp_gpio_f>;
+
+ ls_exp_gpio_f: pm8916_mpp4 {
+ pinconf {
+ pins = "mpp4";
+ function = "digital";
+ output-low;
+ power-source = <PM8916_MPP_L5>; // 1.8V
+ };
+ };
+
pm8916_mpps_leds: pm8916_mpps_leds {
pinconf {
pins = "mpp2", "mpp3";
OpenPOWER on IntegriCloud