mirror of https://github.com/armbian/build.git
hinlink-h88k: add 5g modem enable and reset pin
This commit is contained in:
parent
c3be0a4216
commit
cb6f2fbef8
|
@ -126,6 +126,36 @@
|
|||
vin-supply = <&vcc12v_dcin>;
|
||||
};
|
||||
|
||||
/* it's modem reset pin */
|
||||
modem_enable: modem-enable {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
gpios = <&gpio4 RK_PC6 GPIO_ACTIVE_HIGH>;
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
regulator-name = "modem-enable";
|
||||
vin-supply = <&vcc_3v3_s3>;
|
||||
startup-delay-us = <500000>;
|
||||
pinctrl-names = "default";
|
||||
pintctrl-0 = <&modem_reset_en>;
|
||||
};
|
||||
|
||||
vcc3v3_modem: vcc3v3-modem {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
gpios = <&gpio4 RK_PA3 GPIO_ACTIVE_HIGH>;
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
regulator-name = "vcc3v3_modem";
|
||||
pinctrl-names = "default";
|
||||
pintctrl-0 = <&modem_power_en>;
|
||||
vin-supply = <&vcc_3v3_s3>;
|
||||
};
|
||||
|
||||
vcc5v0_host: vcc5v0-host-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vcc5v0_host";
|
||||
|
@ -413,6 +443,16 @@
|
|||
};
|
||||
};
|
||||
|
||||
modem {
|
||||
modem_power_en: modem-power-en {
|
||||
rockchip,pins = <4 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
modem_reset_en: modem-reset-en {
|
||||
rockchip,pins = <4 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
|
||||
rtl8211f {
|
||||
rtl8211f_rst: rtl8211f-rst {
|
||||
rockchip,pins = <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
|
|
|
@ -126,6 +126,36 @@
|
|||
vin-supply = <&vcc12v_dcin>;
|
||||
};
|
||||
|
||||
/* it's modem reset pin */
|
||||
modem_enable: modem-enable {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
gpios = <&gpio4 RK_PC6 GPIO_ACTIVE_HIGH>;
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
regulator-name = "modem-enable";
|
||||
vin-supply = <&vcc_3v3_s3>;
|
||||
startup-delay-us = <500000>;
|
||||
pinctrl-names = "default";
|
||||
pintctrl-0 = <&modem_reset_en>;
|
||||
};
|
||||
|
||||
vcc3v3_modem: vcc3v3-modem {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
gpios = <&gpio4 RK_PA3 GPIO_ACTIVE_HIGH>;
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
regulator-name = "vcc3v3_modem";
|
||||
pinctrl-names = "default";
|
||||
pintctrl-0 = <&modem_power_en>;
|
||||
vin-supply = <&vcc_3v3_s3>;
|
||||
};
|
||||
|
||||
vcc5v0_host: vcc5v0-host-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vcc5v0_host";
|
||||
|
@ -413,6 +443,16 @@
|
|||
};
|
||||
};
|
||||
|
||||
modem {
|
||||
modem_power_en: modem-power-en {
|
||||
rockchip,pins = <4 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
modem_reset_en: modem-reset-en {
|
||||
rockchip,pins = <4 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
|
||||
rtl8211f {
|
||||
rtl8211f_rst: rtl8211f-rst {
|
||||
rockchip,pins = <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
|
|
Loading…
Reference in New Issue