arm64: dts: rockchip: rk3588s-tablet: modify Type-C0 vbus configuration

The Type-C0 vbus circuit of rk3588s tablet has been modified.
Type-C0 is used as the host mode, the charger ic(bq25703)
outputs vbus.

Change-Id: I4940b9dbe90c915256d6b6ec2d56fa6a461bcf76
Signed-off-by: Wang Jie <dave.wang@rock-chips.com>
This commit is contained in:
Wang Jie
2021-11-17 21:36:03 +08:00
committed by Tao Huang
parent 6c6c39e032
commit 2171d7fcf6

View File

@@ -171,18 +171,6 @@
vin-supply = <&vcc_3v3_s3>; vin-supply = <&vcc_3v3_s3>;
}; };
vbus5v0_typec: vbus-typec {
compatible = "regulator-fixed";
regulator-name = "vbus5v0_typec";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
enable-active-high;
gpio = <&gpio4 RK_PD0 GPIO_ACTIVE_HIGH>;
vin-supply = <&vcc5v0_usb>;
pinctrl-names = "default";
pinctrl-0 = <&typec5v_pwren>;
};
vcc5v0_host: vcc5v0-host { vcc5v0_host: vcc5v0-host {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
regulator-name = "vcc5v0_host"; regulator-name = "vcc5v0_host";
@@ -342,8 +330,10 @@
interrupt-parent = <&gpio0>; interrupt-parent = <&gpio0>;
interrupts = <RK_PD2 IRQ_TYPE_LEVEL_LOW>; interrupts = <RK_PD2 IRQ_TYPE_LEVEL_LOW>;
otg-mode-en-gpio = <&gpio4 RK_PA6 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&charger_ok>; pinctrl-0 = <&charger_ok>;
extcon = <&u2phy0>;
ti,charge-current = <2500000>; ti,charge-current = <2500000>;
ti,max-input-voltage = <20000000>; ti,max-input-voltage = <20000000>;
ti,max-input-current = <6000000>; ti,max-input-current = <6000000>;
@@ -453,7 +443,6 @@
interrupts = <RK_PD3 IRQ_TYPE_LEVEL_LOW>; interrupts = <RK_PD3 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&usbc0_int>; pinctrl-0 = <&usbc0_int>;
vbus-supply = <&vbus5v0_typec>;
status = "okay"; status = "okay";
ports { ports {
@@ -607,11 +596,7 @@
usb-typec { usb-typec {
usbc0_int: usbc0-int { usbc0_int: usbc0-int {
rockchip,pins = <3 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>;
};
typec5v_pwren: typec5v-pwren {
rockchip,pins = <4 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };