Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd6441ec authored by Eric Brower's avatar Eric Brower Committed by Stephen Warren
Browse files

ARM: tegra: modify Tegra30 USB2 default phy_type to UTMI



Modify Tegra30 default USB2 phy_type to UTMI; this matches
power-on-reset defaults and is expected to be the common case.

The current implementation is likely an incorrect
carry-over from Tegra20, where USB2 does default to ULPI.

Signed-off-by: default avatarEric Brower <ebrower@nvidia.com>
Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
parent f044d6fa
Loading
Loading
Loading
Loading
+16 −5
Original line number Original line Diff line number Diff line
@@ -785,7 +785,7 @@
		compatible = "nvidia,tegra30-ehci", "usb-ehci";
		compatible = "nvidia,tegra30-ehci", "usb-ehci";
		reg = <0x7d004000 0x4000>;
		reg = <0x7d004000 0x4000>;
		interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
		interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
		phy_type = "ulpi";
		phy_type = "utmi";
		clocks = <&tegra_car TEGRA30_CLK_USB2>;
		clocks = <&tegra_car TEGRA30_CLK_USB2>;
		resets = <&tegra_car 58>;
		resets = <&tegra_car 58>;
		reset-names = "usb";
		reset-names = "usb";
@@ -795,12 +795,23 @@


	phy2: usb-phy@7d004000 {
	phy2: usb-phy@7d004000 {
		compatible = "nvidia,tegra30-usb-phy";
		compatible = "nvidia,tegra30-usb-phy";
		reg = <0x7d004000 0x4000>;
		reg = <0x7d004000 0x4000 0x7d000000 0x4000>;
		phy_type = "ulpi";
		phy_type = "utmi";
		clocks = <&tegra_car TEGRA30_CLK_USB2>,
		clocks = <&tegra_car TEGRA30_CLK_USB2>,
			 <&tegra_car TEGRA30_CLK_PLL_U>,
			 <&tegra_car TEGRA30_CLK_PLL_U>,
			 <&tegra_car TEGRA30_CLK_CDEV2>;
			 <&tegra_car TEGRA30_CLK_USBD>;
		clock-names = "reg", "pll_u", "ulpi-link";
		clock-names = "reg", "pll_u", "utmi-pads";
		nvidia,hssync-start-delay = <9>;
		nvidia,idle-wait-delay = <17>;
		nvidia,elastic-limit = <16>;
		nvidia,term-range-adj = <6>;
		nvidia,xcvr-setup = <51>;
		nvidia.xcvr-setup-use-fuses;
		nvidia,xcvr-lsfslew = <2>;
		nvidia,xcvr-lsrslew = <2>;
		nvidia,xcvr-hsslew = <32>;
		nvidia,hssquelch-level = <2>;
		nvidia,hsdiscon-level = <5>;
		status = "disabled";
		status = "disabled";
	};
	};