1*8bab661aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*8bab661aSEmmanuel Vadot%YAML 1.2 3*8bab661aSEmmanuel Vadot--- 4*8bab661aSEmmanuel Vadot$id: http://devicetree.org/schemas/usb/nvidia,tegra210-xusb.yaml# 5*8bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*8bab661aSEmmanuel Vadot 7*8bab661aSEmmanuel Vadottitle: NVIDIA Tegra210 xHCI controller 8*8bab661aSEmmanuel Vadot 9*8bab661aSEmmanuel Vadotmaintainers: 10*8bab661aSEmmanuel Vadot - Thierry Reding <thierry.reding@gmail.com> 11*8bab661aSEmmanuel Vadot - Jon Hunter <jonathanh@nvidia.com> 12*8bab661aSEmmanuel Vadot 13*8bab661aSEmmanuel Vadotdescription: The Tegra xHCI controller supports both USB2 and USB3 interfaces 14*8bab661aSEmmanuel Vadot exposed by the Tegra XUSB pad controller. 15*8bab661aSEmmanuel Vadot 16*8bab661aSEmmanuel Vadotproperties: 17*8bab661aSEmmanuel Vadot compatible: 18*8bab661aSEmmanuel Vadot const: nvidia,tegra210-xusb 19*8bab661aSEmmanuel Vadot 20*8bab661aSEmmanuel Vadot reg: 21*8bab661aSEmmanuel Vadot items: 22*8bab661aSEmmanuel Vadot - description: base and length of the xHCI host registers 23*8bab661aSEmmanuel Vadot - description: base and length of the XUSB FPCI registers 24*8bab661aSEmmanuel Vadot - description: base and length of the XUSB IPFS registers 25*8bab661aSEmmanuel Vadot 26*8bab661aSEmmanuel Vadot reg-names: 27*8bab661aSEmmanuel Vadot items: 28*8bab661aSEmmanuel Vadot - const: hcd 29*8bab661aSEmmanuel Vadot - const: fpci 30*8bab661aSEmmanuel Vadot - const: ipfs 31*8bab661aSEmmanuel Vadot 32*8bab661aSEmmanuel Vadot interrupts: 33*8bab661aSEmmanuel Vadot items: 34*8bab661aSEmmanuel Vadot - description: xHCI host interrupt 35*8bab661aSEmmanuel Vadot - description: mailbox interrupt 36*8bab661aSEmmanuel Vadot 37*8bab661aSEmmanuel Vadot clocks: 38*8bab661aSEmmanuel Vadot items: 39*8bab661aSEmmanuel Vadot - description: XUSB host clock 40*8bab661aSEmmanuel Vadot - description: XUSB host source clock 41*8bab661aSEmmanuel Vadot - description: XUSB Falcon source clock 42*8bab661aSEmmanuel Vadot - description: XUSB SuperSpeed clock 43*8bab661aSEmmanuel Vadot - description: XUSB SuperSpeed clock divider 44*8bab661aSEmmanuel Vadot - description: XUSB SuperSpeed source clock 45*8bab661aSEmmanuel Vadot - description: XUSB HighSpeed clock source 46*8bab661aSEmmanuel Vadot - description: XUSB FullSpeed clock source 47*8bab661aSEmmanuel Vadot - description: USB PLL 48*8bab661aSEmmanuel Vadot - description: reference clock 49*8bab661aSEmmanuel Vadot - description: I/O PLL 50*8bab661aSEmmanuel Vadot 51*8bab661aSEmmanuel Vadot clock-names: 52*8bab661aSEmmanuel Vadot items: 53*8bab661aSEmmanuel Vadot - const: xusb_host 54*8bab661aSEmmanuel Vadot - const: xusb_host_src 55*8bab661aSEmmanuel Vadot - const: xusb_falcon_src 56*8bab661aSEmmanuel Vadot - const: xusb_ss 57*8bab661aSEmmanuel Vadot - const: xusb_ss_div2 58*8bab661aSEmmanuel Vadot - const: xusb_ss_src 59*8bab661aSEmmanuel Vadot - const: xusb_hs_src 60*8bab661aSEmmanuel Vadot - const: xusb_fs_src 61*8bab661aSEmmanuel Vadot - const: pll_u_480m 62*8bab661aSEmmanuel Vadot - const: clk_m 63*8bab661aSEmmanuel Vadot - const: pll_e 64*8bab661aSEmmanuel Vadot 65*8bab661aSEmmanuel Vadot resets: 66*8bab661aSEmmanuel Vadot items: 67*8bab661aSEmmanuel Vadot - description: reset for the XUSB host controller 68*8bab661aSEmmanuel Vadot - description: reset for the SuperSpeed logic 69*8bab661aSEmmanuel Vadot - description: shared reset for xusb_{ss,hs,fs,falcon,host}_src. 70*8bab661aSEmmanuel Vadot 71*8bab661aSEmmanuel Vadot reset-names: 72*8bab661aSEmmanuel Vadot items: 73*8bab661aSEmmanuel Vadot - const: xusb_host 74*8bab661aSEmmanuel Vadot - const: xusb_ss 75*8bab661aSEmmanuel Vadot - const: xusb_src 76*8bab661aSEmmanuel Vadot 77*8bab661aSEmmanuel Vadot nvidia,xusb-padctl: 78*8bab661aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 79*8bab661aSEmmanuel Vadot description: phandle to the XUSB pad controller that is used to configure 80*8bab661aSEmmanuel Vadot the USB pads used by the XHCI controller 81*8bab661aSEmmanuel Vadot 82*8bab661aSEmmanuel Vadot phys: 83*8bab661aSEmmanuel Vadot minItems: 1 84*8bab661aSEmmanuel Vadot maxItems: 9 85*8bab661aSEmmanuel Vadot 86*8bab661aSEmmanuel Vadot phy-names: 87*8bab661aSEmmanuel Vadot minItems: 1 88*8bab661aSEmmanuel Vadot maxItems: 9 89*8bab661aSEmmanuel Vadot items: 90*8bab661aSEmmanuel Vadot enum: 91*8bab661aSEmmanuel Vadot - usb2-0 92*8bab661aSEmmanuel Vadot - usb2-1 93*8bab661aSEmmanuel Vadot - usb2-2 94*8bab661aSEmmanuel Vadot - usb2-3 95*8bab661aSEmmanuel Vadot - hsic-0 96*8bab661aSEmmanuel Vadot - usb3-0 97*8bab661aSEmmanuel Vadot - usb3-1 98*8bab661aSEmmanuel Vadot - usb3-2 99*8bab661aSEmmanuel Vadot - usb3-3 100*8bab661aSEmmanuel Vadot 101*8bab661aSEmmanuel Vadot power-domains: 102*8bab661aSEmmanuel Vadot items: 103*8bab661aSEmmanuel Vadot - description: XUSBC power domain (for Host and USB 2.0) 104*8bab661aSEmmanuel Vadot - description: XUSBA power domain (for SuperSpeed) 105*8bab661aSEmmanuel Vadot 106*8bab661aSEmmanuel Vadot power-domain-names: 107*8bab661aSEmmanuel Vadot items: 108*8bab661aSEmmanuel Vadot - const: xusb_host 109*8bab661aSEmmanuel Vadot - const: xusb_ss 110*8bab661aSEmmanuel Vadot 111*8bab661aSEmmanuel Vadot dvddio-pex-supply: 112*8bab661aSEmmanuel Vadot description: PCIe/USB3 analog logic power supply. Must supply 1.05 V. 113*8bab661aSEmmanuel Vadot 114*8bab661aSEmmanuel Vadot hvddio-pex-supply: 115*8bab661aSEmmanuel Vadot description: High-voltage PCIe/USB3 power supply. Must supply 1.8 V. 116*8bab661aSEmmanuel Vadot 117*8bab661aSEmmanuel Vadot avdd-usb-supply: 118*8bab661aSEmmanuel Vadot description: USB controller power supply. Must supply 3.3 V. 119*8bab661aSEmmanuel Vadot 120*8bab661aSEmmanuel Vadot avdd-pll-utmip-supply: 121*8bab661aSEmmanuel Vadot description: UTMI PLL power supply. Must supply 1.8 V. 122*8bab661aSEmmanuel Vadot 123*8bab661aSEmmanuel Vadot avdd-pll-uerefe-supply: 124*8bab661aSEmmanuel Vadot description: PLLE reference PLL power supply. Must supply 1.05 V. 125*8bab661aSEmmanuel Vadot 126*8bab661aSEmmanuel Vadot dvdd-usb-ss-pll-supply: 127*8bab661aSEmmanuel Vadot description: PCIe/USB3 PLL power supply. Must supply 1.05 V. 128*8bab661aSEmmanuel Vadot 129*8bab661aSEmmanuel Vadot hvdd-usb-ss-pll-e-supply: 130*8bab661aSEmmanuel Vadot description: High-voltage PLLE power supply. Must supply 1.8 V. 131*8bab661aSEmmanuel Vadot 132*8bab661aSEmmanuel VadotallOf: 133*8bab661aSEmmanuel Vadot - $ref: usb-xhci.yaml 134*8bab661aSEmmanuel Vadot 135*8bab661aSEmmanuel VadotunevaluatedProperties: false 136*8bab661aSEmmanuel Vadot 137*8bab661aSEmmanuel Vadotexamples: 138*8bab661aSEmmanuel Vadot - | 139*8bab661aSEmmanuel Vadot #include <dt-bindings/clock/tegra210-car.h> 140*8bab661aSEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 141*8bab661aSEmmanuel Vadot 142*8bab661aSEmmanuel Vadot usb@70090000 { 143*8bab661aSEmmanuel Vadot compatible = "nvidia,tegra210-xusb"; 144*8bab661aSEmmanuel Vadot reg = <0x70090000 0x8000>, 145*8bab661aSEmmanuel Vadot <0x70098000 0x1000>, 146*8bab661aSEmmanuel Vadot <0x70099000 0x1000>; 147*8bab661aSEmmanuel Vadot reg-names = "hcd", "fpci", "ipfs"; 148*8bab661aSEmmanuel Vadot 149*8bab661aSEmmanuel Vadot interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>, 150*8bab661aSEmmanuel Vadot <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; 151*8bab661aSEmmanuel Vadot 152*8bab661aSEmmanuel Vadot clocks = <&tegra_car TEGRA210_CLK_XUSB_HOST>, 153*8bab661aSEmmanuel Vadot <&tegra_car TEGRA210_CLK_XUSB_HOST_SRC>, 154*8bab661aSEmmanuel Vadot <&tegra_car TEGRA210_CLK_XUSB_FALCON_SRC>, 155*8bab661aSEmmanuel Vadot <&tegra_car TEGRA210_CLK_XUSB_SS>, 156*8bab661aSEmmanuel Vadot <&tegra_car TEGRA210_CLK_XUSB_SS_DIV2>, 157*8bab661aSEmmanuel Vadot <&tegra_car TEGRA210_CLK_XUSB_SS_SRC>, 158*8bab661aSEmmanuel Vadot <&tegra_car TEGRA210_CLK_XUSB_HS_SRC>, 159*8bab661aSEmmanuel Vadot <&tegra_car TEGRA210_CLK_XUSB_FS_SRC>, 160*8bab661aSEmmanuel Vadot <&tegra_car TEGRA210_CLK_PLL_U_480M>, 161*8bab661aSEmmanuel Vadot <&tegra_car TEGRA210_CLK_CLK_M>, 162*8bab661aSEmmanuel Vadot <&tegra_car TEGRA210_CLK_PLL_E>; 163*8bab661aSEmmanuel Vadot clock-names = "xusb_host", "xusb_host_src", 164*8bab661aSEmmanuel Vadot "xusb_falcon_src", "xusb_ss", 165*8bab661aSEmmanuel Vadot "xusb_ss_div2", "xusb_ss_src", 166*8bab661aSEmmanuel Vadot "xusb_hs_src", "xusb_fs_src", 167*8bab661aSEmmanuel Vadot "pll_u_480m", "clk_m", "pll_e"; 168*8bab661aSEmmanuel Vadot resets = <&tegra_car 89>, <&tegra_car 156>, 169*8bab661aSEmmanuel Vadot <&tegra_car 143>; 170*8bab661aSEmmanuel Vadot reset-names = "xusb_host", "xusb_ss", "xusb_src"; 171*8bab661aSEmmanuel Vadot power-domains = <&pd_xusbhost>, <&pd_xusbss>; 172*8bab661aSEmmanuel Vadot power-domain-names = "xusb_host", "xusb_ss"; 173*8bab661aSEmmanuel Vadot 174*8bab661aSEmmanuel Vadot nvidia,xusb-padctl = <&padctl>; 175*8bab661aSEmmanuel Vadot 176*8bab661aSEmmanuel Vadot phys = <&phy_usb2_0>, <&phy_usb2_1>, <&phy_usb2_2>, <&phy_usb2_3>, 177*8bab661aSEmmanuel Vadot <&phy_pcie_6>, <&phy_pcie_5>; 178*8bab661aSEmmanuel Vadot phy-names = "usb2-0", "usb2-1", "usb2-2", "usb2-3", "usb3-0", 179*8bab661aSEmmanuel Vadot "usb3-1"; 180*8bab661aSEmmanuel Vadot dvddio-pex-supply = <&vdd_pex_1v05>; 181*8bab661aSEmmanuel Vadot hvddio-pex-supply = <&vdd_1v8>; 182*8bab661aSEmmanuel Vadot avdd-usb-supply = <&vdd_3v3_sys>; 183*8bab661aSEmmanuel Vadot avdd-pll-utmip-supply = <&vdd_1v8>; 184*8bab661aSEmmanuel Vadot avdd-pll-uerefe-supply = <&vdd_pex_1v05>; 185*8bab661aSEmmanuel Vadot dvdd-usb-ss-pll-supply = <&vdd_pex_1v05>; 186*8bab661aSEmmanuel Vadot hvdd-usb-ss-pll-e-supply = <&vdd_1v8>; 187*8bab661aSEmmanuel Vadot 188*8bab661aSEmmanuel Vadot #address-cells = <1>; 189*8bab661aSEmmanuel Vadot #size-cells = <0>; 190*8bab661aSEmmanuel Vadot 191*8bab661aSEmmanuel Vadot ethernet@1 { 192*8bab661aSEmmanuel Vadot compatible = "usb955,9ff"; 193*8bab661aSEmmanuel Vadot reg = <1>; 194*8bab661aSEmmanuel Vadot }; 195*8bab661aSEmmanuel Vadot }; 196