mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 08:49:38 +07:00
b4dba94765
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>
54 lines
911 B
Plaintext
54 lines
911 B
Plaintext
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
|
|
#include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
|
|
|
|
&pm8916_gpios {
|
|
|
|
usb_hub_reset_pm: usb_hub_reset_pm {
|
|
pinconf {
|
|
pins = "gpio3";
|
|
function = PMIC_GPIO_FUNC_NORMAL;
|
|
output-low;
|
|
};
|
|
};
|
|
|
|
usb_sw_sel_pm: usb_sw_sel_pm {
|
|
pinconf {
|
|
pins = "gpio4";
|
|
function = PMIC_GPIO_FUNC_NORMAL;
|
|
power-source = <PM8916_GPIO_VPH>;
|
|
input-disable;
|
|
};
|
|
};
|
|
|
|
pm8916_gpios_leds: pm8916_gpios_leds {
|
|
pinconf {
|
|
pins = "gpio1", "gpio2";
|
|
function = PMIC_GPIO_FUNC_NORMAL;
|
|
output-low;
|
|
};
|
|
};
|
|
};
|
|
|
|
&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";
|
|
function = "digital";
|
|
output-low;
|
|
};
|
|
};
|
|
};
|