18c2ecf20Sopenharmony_ciNVIDIA Tegra xHCI controller 28c2ecf20Sopenharmony_ci============================ 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ciThe Tegra xHCI controller supports both USB2 and USB3 interfaces exposed by 58c2ecf20Sopenharmony_cithe Tegra XUSB pad controller. 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ciRequired properties: 88c2ecf20Sopenharmony_ci-------------------- 98c2ecf20Sopenharmony_ci- compatible: Must be: 108c2ecf20Sopenharmony_ci - Tegra124: "nvidia,tegra124-xusb" 118c2ecf20Sopenharmony_ci - Tegra132: "nvidia,tegra132-xusb", "nvidia,tegra124-xusb" 128c2ecf20Sopenharmony_ci - Tegra210: "nvidia,tegra210-xusb" 138c2ecf20Sopenharmony_ci - Tegra186: "nvidia,tegra186-xusb" 148c2ecf20Sopenharmony_ci- reg: Must contain the base and length of the xHCI host registers, XUSB FPCI 158c2ecf20Sopenharmony_ci registers and XUSB IPFS registers. 168c2ecf20Sopenharmony_ci- reg-names: Must contain the following entries: 178c2ecf20Sopenharmony_ci - "hcd" 188c2ecf20Sopenharmony_ci - "fpci" 198c2ecf20Sopenharmony_ci - "ipfs" 208c2ecf20Sopenharmony_ci- interrupts: Must contain the xHCI host interrupt and the mailbox interrupt. 218c2ecf20Sopenharmony_ci- clocks: Must contain an entry for each entry in clock-names. 228c2ecf20Sopenharmony_ci See ../clock/clock-bindings.txt for details. 238c2ecf20Sopenharmony_ci- clock-names: Must include the following entries: 248c2ecf20Sopenharmony_ci - xusb_host 258c2ecf20Sopenharmony_ci - xusb_host_src 268c2ecf20Sopenharmony_ci - xusb_falcon_src 278c2ecf20Sopenharmony_ci - xusb_ss 288c2ecf20Sopenharmony_ci - xusb_ss_src 298c2ecf20Sopenharmony_ci - xusb_ss_div2 308c2ecf20Sopenharmony_ci - xusb_hs_src 318c2ecf20Sopenharmony_ci - xusb_fs_src 328c2ecf20Sopenharmony_ci - pll_u_480m 338c2ecf20Sopenharmony_ci - clk_m 348c2ecf20Sopenharmony_ci - pll_e 358c2ecf20Sopenharmony_ci- resets: Must contain an entry for each entry in reset-names. 368c2ecf20Sopenharmony_ci See ../reset/reset.txt for details. 378c2ecf20Sopenharmony_ci- reset-names: Must include the following entries: 388c2ecf20Sopenharmony_ci - xusb_host 398c2ecf20Sopenharmony_ci - xusb_ss 408c2ecf20Sopenharmony_ci - xusb_src 418c2ecf20Sopenharmony_ci Note that xusb_src is the shared reset for xusb_{ss,hs,fs,falcon,host}_src. 428c2ecf20Sopenharmony_ci- nvidia,xusb-padctl: phandle to the XUSB pad controller that is used to 438c2ecf20Sopenharmony_ci configure the USB pads used by the XHCI controller 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ciFor Tegra124 and Tegra132: 468c2ecf20Sopenharmony_ci- avddio-pex-supply: PCIe/USB3 analog logic power supply. Must supply 1.05 V. 478c2ecf20Sopenharmony_ci- dvddio-pex-supply: PCIe/USB3 digital logic power supply. Must supply 1.05 V. 488c2ecf20Sopenharmony_ci- avdd-usb-supply: USB controller power supply. Must supply 3.3 V. 498c2ecf20Sopenharmony_ci- avdd-pll-utmip-supply: UTMI PLL power supply. Must supply 1.8 V. 508c2ecf20Sopenharmony_ci- avdd-pll-erefe-supply: PLLE reference PLL power supply. Must supply 1.05 V. 518c2ecf20Sopenharmony_ci- avdd-usb-ss-pll-supply: PCIe/USB3 PLL power supply. Must supply 1.05 V. 528c2ecf20Sopenharmony_ci- hvdd-usb-ss-supply: High-voltage PCIe/USB3 power supply. Must supply 3.3 V. 538c2ecf20Sopenharmony_ci- hvdd-usb-ss-pll-e-supply: High-voltage PLLE power supply. Must supply 3.3 V. 548c2ecf20Sopenharmony_ci 558c2ecf20Sopenharmony_ciFor Tegra210: 568c2ecf20Sopenharmony_ci- dvddio-pex-supply: PCIe/USB3 analog logic power supply. Must supply 1.05 V. 578c2ecf20Sopenharmony_ci- hvddio-pex-supply: High-voltage PCIe/USB3 power supply. Must supply 1.8 V. 588c2ecf20Sopenharmony_ci- avdd-usb-supply: USB controller power supply. Must supply 3.3 V. 598c2ecf20Sopenharmony_ci- avdd-pll-utmip-supply: UTMI PLL power supply. Must supply 1.8 V. 608c2ecf20Sopenharmony_ci- avdd-pll-uerefe-supply: PLLE reference PLL power supply. Must supply 1.05 V. 618c2ecf20Sopenharmony_ci- dvdd-pex-pll-supply: PCIe/USB3 PLL power supply. Must supply 1.05 V. 628c2ecf20Sopenharmony_ci- hvdd-pex-pll-e-supply: High-voltage PLLE power supply. Must supply 1.8 V. 638c2ecf20Sopenharmony_ci 648c2ecf20Sopenharmony_ciFor Tegra210 and Tegra186: 658c2ecf20Sopenharmony_ci- power-domains: A list of PM domain specifiers that reference each power-domain 668c2ecf20Sopenharmony_ci used by the xHCI controller. This list must comprise of a specifier for the 678c2ecf20Sopenharmony_ci XUSBA and XUSBC power-domains. See ../power/power_domain.txt and 688c2ecf20Sopenharmony_ci ../arm/tegra/nvidia,tegra20-pmc.txt for details. 698c2ecf20Sopenharmony_ci- power-domain-names: A list of names that represent each of the specifiers in 708c2ecf20Sopenharmony_ci the 'power-domains' property. Must include 'xusb_ss' and 'xusb_host' which 718c2ecf20Sopenharmony_ci represent the power-domains XUSBA and XUSBC, respectively. See 728c2ecf20Sopenharmony_ci ../power/power_domain.txt for details. 738c2ecf20Sopenharmony_ci 748c2ecf20Sopenharmony_ciOptional properties: 758c2ecf20Sopenharmony_ci-------------------- 768c2ecf20Sopenharmony_ci- phys: Must contain an entry for each entry in phy-names. 778c2ecf20Sopenharmony_ci See ../phy/phy-bindings.txt for details. 788c2ecf20Sopenharmony_ci- phy-names: Should include an entry for each PHY used by the controller. The 798c2ecf20Sopenharmony_ci following PHYs are available: 808c2ecf20Sopenharmony_ci - Tegra124: usb2-0, usb2-1, usb2-2, hsic-0, hsic-1, usb3-0, usb3-1 818c2ecf20Sopenharmony_ci - Tegra132: usb2-0, usb2-1, usb2-2, hsic-0, hsic-1, usb3-0, usb3-1 828c2ecf20Sopenharmony_ci - Tegra210: usb2-0, usb2-1, usb2-2, usb2-3, hsic-0, usb3-0, usb3-1, usb3-2, 838c2ecf20Sopenharmony_ci usb3-3 848c2ecf20Sopenharmony_ci - Tegra186: usb2-0, usb2-1, usb2-2, hsic-0, usb3-0, usb3-1, usb3-2 858c2ecf20Sopenharmony_ci 868c2ecf20Sopenharmony_ciExample: 878c2ecf20Sopenharmony_ci-------- 888c2ecf20Sopenharmony_ci 898c2ecf20Sopenharmony_ci usb@0,70090000 { 908c2ecf20Sopenharmony_ci compatible = "nvidia,tegra124-xusb"; 918c2ecf20Sopenharmony_ci reg = <0x0 0x70090000 0x0 0x8000>, 928c2ecf20Sopenharmony_ci <0x0 0x70098000 0x0 0x1000>, 938c2ecf20Sopenharmony_ci <0x0 0x70099000 0x0 0x1000>; 948c2ecf20Sopenharmony_ci reg-names = "hcd", "fpci", "ipfs"; 958c2ecf20Sopenharmony_ci 968c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>, 978c2ecf20Sopenharmony_ci <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; 988c2ecf20Sopenharmony_ci 998c2ecf20Sopenharmony_ci clocks = <&tegra_car TEGRA124_CLK_XUSB_HOST>, 1008c2ecf20Sopenharmony_ci <&tegra_car TEGRA124_CLK_XUSB_HOST_SRC>, 1018c2ecf20Sopenharmony_ci <&tegra_car TEGRA124_CLK_XUSB_FALCON_SRC>, 1028c2ecf20Sopenharmony_ci <&tegra_car TEGRA124_CLK_XUSB_SS>, 1038c2ecf20Sopenharmony_ci <&tegra_car TEGRA124_CLK_XUSB_SS_DIV2>, 1048c2ecf20Sopenharmony_ci <&tegra_car TEGRA124_CLK_XUSB_SS_SRC>, 1058c2ecf20Sopenharmony_ci <&tegra_car TEGRA124_CLK_XUSB_HS_SRC>, 1068c2ecf20Sopenharmony_ci <&tegra_car TEGRA124_CLK_XUSB_FS_SRC>, 1078c2ecf20Sopenharmony_ci <&tegra_car TEGRA124_CLK_PLL_U_480M>, 1088c2ecf20Sopenharmony_ci <&tegra_car TEGRA124_CLK_CLK_M>, 1098c2ecf20Sopenharmony_ci <&tegra_car TEGRA124_CLK_PLL_E>; 1108c2ecf20Sopenharmony_ci clock-names = "xusb_host", "xusb_host_src", "xusb_falcon_src", 1118c2ecf20Sopenharmony_ci "xusb_ss", "xusb_ss_div2", "xusb_ss_src", 1128c2ecf20Sopenharmony_ci "xusb_hs_src", "xusb_fs_src", "pll_u_480m", 1138c2ecf20Sopenharmony_ci "clk_m", "pll_e"; 1148c2ecf20Sopenharmony_ci resets = <&tegra_car 89>, <&tegra_car 156>, <&tegra_car 143>; 1158c2ecf20Sopenharmony_ci reset-names = "xusb_host", "xusb_ss", "xusb_src"; 1168c2ecf20Sopenharmony_ci 1178c2ecf20Sopenharmony_ci nvidia,xusb-padctl = <&padctl>; 1188c2ecf20Sopenharmony_ci 1198c2ecf20Sopenharmony_ci phys = <&{/padctl@0,7009f000/pads/usb2/lanes/usb2-1}>, /* mini-PCIe USB */ 1208c2ecf20Sopenharmony_ci <&{/padctl@0,7009f000/pads/usb2/lanes/usb2-2}>, /* USB A */ 1218c2ecf20Sopenharmony_ci <&{/padctl@0,7009f000/pads/pcie/lanes/pcie-0}>; /* USB A */ 1228c2ecf20Sopenharmony_ci phy-names = "usb2-1", "usb2-2", "usb3-0"; 1238c2ecf20Sopenharmony_ci 1248c2ecf20Sopenharmony_ci avddio-pex-supply = <&vdd_1v05_run>; 1258c2ecf20Sopenharmony_ci dvddio-pex-supply = <&vdd_1v05_run>; 1268c2ecf20Sopenharmony_ci avdd-usb-supply = <&vdd_3v3_lp0>; 1278c2ecf20Sopenharmony_ci avdd-pll-utmip-supply = <&vddio_1v8>; 1288c2ecf20Sopenharmony_ci avdd-pll-erefe-supply = <&avdd_1v05_run>; 1298c2ecf20Sopenharmony_ci avdd-usb-ss-pll-supply = <&vdd_1v05_run>; 1308c2ecf20Sopenharmony_ci hvdd-usb-ss-supply = <&vdd_3v3_lp0>; 1318c2ecf20Sopenharmony_ci hvdd-usb-ss-pll-e-supply = <&vdd_3v3_lp0>; 1328c2ecf20Sopenharmony_ci }; 133