Commit dbf91ff0 authored by Nagarjuna Kristam's avatar Nagarjuna Kristam Committed by Thierry Reding
Browse files

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: default avatarNagarjuna Kristam <nkristam@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 92f37c0a
Loading
Loading
Loading
Loading
+23 −1
Original line number Diff line number Diff line
@@ -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>;