mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 09:25:19 +07:00
1e39255ed2
Adding required device node for couple of DWC3 controllers present on msm8996 chipset to enable High speed and Super speed USB support. Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
52 lines
1018 B
Plaintext
52 lines
1018 B
Plaintext
|
|
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
|
|
&pm8994_gpios {
|
|
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&ls_exp_gpio_f>;
|
|
|
|
ls_exp_gpio_f: pm8994_gpio5 {
|
|
pinconf {
|
|
pins = "gpio5";
|
|
output-low;
|
|
power-source = <2>; // PM8994_GPIO_S4, 1.8V
|
|
};
|
|
};
|
|
|
|
volume_up_gpio: pm8996_gpio2 {
|
|
pinconf {
|
|
pins = "gpio2";
|
|
function = "normal";
|
|
input-enable;
|
|
drive-push-pull;
|
|
bias-pull-up;
|
|
qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
|
|
power-source = <PM8994_GPIO_S4>; // 1.8V
|
|
};
|
|
};
|
|
|
|
usb3_vbus_det_gpio: pm8996_gpio22 {
|
|
pinconf {
|
|
pins = "gpio22";
|
|
function = PMIC_GPIO_FUNC_NORMAL;
|
|
input-enable;
|
|
bias-pull-down;
|
|
qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
|
|
power-source = <PM8994_GPIO_S4>; // 1.8V
|
|
};
|
|
};
|
|
};
|
|
|
|
&pmi8994_gpios {
|
|
usb2_vbus_det_gpio: pmi8996_gpio6 {
|
|
pinconf {
|
|
pins = "gpio6";
|
|
function = PMIC_GPIO_FUNC_NORMAL;
|
|
input-enable;
|
|
bias-pull-down;
|
|
qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
|
|
power-source = <PM8994_GPIO_S4>; // 1.8V
|
|
};
|
|
};
|
|
};
|