mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 19:16:41 +07:00
arm64: tegra: Update OTG port entries for Jetson TX1
Populate OTG vbus regulator and add usb-role-switch entry to USB 2-0 port and corresponding connector details. Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
92f37c0a0e
commit
dbf91ff001
@ -1336,7 +1336,6 @@ usb@70090000 {
|
||||
<&{/padctl@7009f000/pads/pcie/lanes/pcie-5}>;
|
||||
phy-names = "usb2-0", "usb2-1", "usb2-2", "usb2-3", "usb3-0",
|
||||
"usb3-1";
|
||||
|
||||
dvddio-pex-supply = <&vdd_pex_1v05>;
|
||||
hvddio-pex-supply = <&vdd_1v8>;
|
||||
avdd-usb-supply = <&vdd_3v3_sys>;
|
||||
@ -1440,7 +1439,19 @@ sata-0 {
|
||||
ports {
|
||||
usb2-0 {
|
||||
status = "okay";
|
||||
vbus-supply = <&vdd_usb_vbus_otg>;
|
||||
mode = "otg";
|
||||
|
||||
usb-role-switch;
|
||||
connector {
|
||||
compatible = "usb-b-connector",
|
||||
"gpio-usb-b-connector";
|
||||
label = "micro-USB";
|
||||
type = "micro";
|
||||
vbus-gpio = <&gpio TEGRA_GPIO(Z, 0)
|
||||
GPIO_ACTIVE_LOW>;
|
||||
id-gpio = <&pmic 0 0>;
|
||||
};
|
||||
};
|
||||
|
||||
usb2-1 {
|
||||
@ -1606,6 +1617,17 @@ vdd_usb_vbus: regulator@9 {
|
||||
vin-supply = <&vdd_5v0_sys>;
|
||||
};
|
||||
|
||||
vdd_usb_vbus_otg: regulator@11 {
|
||||
compatible = "regulator-fixed";
|
||||
reg = <9>;
|
||||
regulator-name = "USB_VBUS_EN0";
|
||||
regulator-min-microvolt = <5000000>;
|
||||
regulator-max-microvolt = <5000000>;
|
||||
gpio = <&gpio TEGRA_GPIO(CC, 4) GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
vin-supply = <&vdd_5v0_sys>;
|
||||
};
|
||||
|
||||
vdd_hdmi: regulator@10 {
|
||||
compatible = "regulator-fixed";
|
||||
reg = <10>;
|
||||
|
Loading…
Reference in New Issue
Block a user