summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan T. Ivanov <ivan.ivanov@linaro.org>2015-06-04 12:19:05 +0300
committerAndy Gross <agross@codeaurora.org>2015-07-28 16:19:13 -0500
commit8883ad80c175dd17aaf007f982e3f8461315eab8 (patch)
tree0c14752d6a95be4826993755dad10968a280515b
parentc8077068f7725c2429448ceb1ee6d2d3b0081cb9 (diff)
arm64: dts: qcom: Fix apq8016-sbc board USB related pin definitions
USB2513B HUB reset line is connected to PMIC GPIO3 not GPIO1. Fix TC7USB40MU Dual SPDT Switch select input line control, which is connected to PMIC GPIO4 not GPIO2 and disable the pin. It is not used for now. Remove user LEDs definitions, because they clash with above numbers. Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org> Signed-off-by: Andy Gross <agross@codeaurora.org>
-rw-r--r--arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi22
1 files changed, 8 insertions, 14 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 37ca2ed55351..b568c49b2111 100644
--- a/arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi
+++ b/arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi
@@ -2,26 +2,20 @@
&pm8916_gpios {
- pm8916_gpios_default: default {
- usb_hub_reset_pm {
- pins = "gpio1";
- function = PMIC_GPIO_FUNC_NORMAL;
- output-low;
- };
- usb_sw_sel_pm {
- pins = "gpio2";
- function = PMIC_GPIO_FUNC_NORMAL;
- input-disable;
- };
- usr_led_3_ctrl {
+ usb_hub_reset_pm: usb_hub_reset_pm {
+ pinconf {
pins = "gpio3";
function = PMIC_GPIO_FUNC_NORMAL;
output-low;
};
- usr_led_4_ctrl {
+ };
+
+ usb_sw_sel_pm: usb_sw_sel_pm {
+ pinconf {
pins = "gpio4";
function = PMIC_GPIO_FUNC_NORMAL;
- output-low;
+ power-source = <PM8916_GPIO_VPH>;
+ input-disable;
};
};
};