Skip to content

Commit

Permalink
arm64: dts: qcom: Fix apq8016-sbc board USB related pin definitions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ivan T. Ivanov authored and Andy Gross committed Jul 28, 2015
1 parent c807706 commit 8883ad8
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
};
};

0 comments on commit 8883ad8

Please sign in to comment.