1*97351cd8SThierry Reding# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*97351cd8SThierry Reding%YAML 1.2 3*97351cd8SThierry Reding--- 4*97351cd8SThierry Reding$id: http://devicetree.org/schemas/usb/nvidia,tegra194-xusb.yaml# 5*97351cd8SThierry Reding$schema: http://devicetree.org/meta-schemas/core.yaml# 6*97351cd8SThierry Reding 7*97351cd8SThierry Redingtitle: NVIDIA Tegra194 xHCI controller 8*97351cd8SThierry Reding 9*97351cd8SThierry Redingmaintainers: 10*97351cd8SThierry Reding - Thierry Reding <thierry.reding@gmail.com> 11*97351cd8SThierry Reding - Jon Hunter <jonathanh@nvidia.com> 12*97351cd8SThierry Reding 13*97351cd8SThierry Redingdescription: The Tegra xHCI controller supports both USB2 and USB3 interfaces 14*97351cd8SThierry Reding exposed by the Tegra XUSB pad controller. 15*97351cd8SThierry Reding 16*97351cd8SThierry Redingproperties: 17*97351cd8SThierry Reding compatible: 18*97351cd8SThierry Reding const: nvidia,tegra194-xusb 19*97351cd8SThierry Reding 20*97351cd8SThierry Reding reg: 21*97351cd8SThierry Reding items: 22*97351cd8SThierry Reding - description: base and length of the xHCI host registers 23*97351cd8SThierry Reding - description: base and length of the XUSB FPCI registers 24*97351cd8SThierry Reding 25*97351cd8SThierry Reding reg-names: 26*97351cd8SThierry Reding items: 27*97351cd8SThierry Reding - const: hcd 28*97351cd8SThierry Reding - const: fpci 29*97351cd8SThierry Reding 30*97351cd8SThierry Reding interrupts: 31*97351cd8SThierry Reding items: 32*97351cd8SThierry Reding - description: xHCI host interrupt 33*97351cd8SThierry Reding - description: mailbox interrupt 34*97351cd8SThierry Reding 35*97351cd8SThierry Reding clocks: 36*97351cd8SThierry Reding items: 37*97351cd8SThierry Reding - description: XUSB host clock 38*97351cd8SThierry Reding - description: XUSB Falcon source clock 39*97351cd8SThierry Reding - description: XUSB SuperSpeed clock 40*97351cd8SThierry Reding - description: XUSB SuperSpeed source clock 41*97351cd8SThierry Reding - description: XUSB HighSpeed clock source 42*97351cd8SThierry Reding - description: XUSB FullSpeed clock source 43*97351cd8SThierry Reding - description: USB PLL 44*97351cd8SThierry Reding - description: reference clock 45*97351cd8SThierry Reding - description: I/O PLL 46*97351cd8SThierry Reding 47*97351cd8SThierry Reding clock-names: 48*97351cd8SThierry Reding items: 49*97351cd8SThierry Reding - const: xusb_host 50*97351cd8SThierry Reding - const: xusb_falcon_src 51*97351cd8SThierry Reding - const: xusb_ss 52*97351cd8SThierry Reding - const: xusb_ss_src 53*97351cd8SThierry Reding - const: xusb_hs_src 54*97351cd8SThierry Reding - const: xusb_fs_src 55*97351cd8SThierry Reding - const: pll_u_480m 56*97351cd8SThierry Reding - const: clk_m 57*97351cd8SThierry Reding - const: pll_e 58*97351cd8SThierry Reding 59*97351cd8SThierry Reding interconnects: 60*97351cd8SThierry Reding items: 61*97351cd8SThierry Reding - description: read client 62*97351cd8SThierry Reding - description: write client 63*97351cd8SThierry Reding 64*97351cd8SThierry Reding interconnect-names: 65*97351cd8SThierry Reding items: 66*97351cd8SThierry Reding - const: dma-mem # read 67*97351cd8SThierry Reding - const: write 68*97351cd8SThierry Reding 69*97351cd8SThierry Reding iommus: 70*97351cd8SThierry Reding maxItems: 1 71*97351cd8SThierry Reding 72*97351cd8SThierry Reding nvidia,xusb-padctl: 73*97351cd8SThierry Reding $ref: /schemas/types.yaml#/definitions/phandle 74*97351cd8SThierry Reding description: phandle to the XUSB pad controller that is used to configure 75*97351cd8SThierry Reding the USB pads used by the XHCI controller 76*97351cd8SThierry Reding 77*97351cd8SThierry Reding phys: 78*97351cd8SThierry Reding minItems: 1 79*97351cd8SThierry Reding maxItems: 8 80*97351cd8SThierry Reding 81*97351cd8SThierry Reding phy-names: 82*97351cd8SThierry Reding minItems: 1 83*97351cd8SThierry Reding maxItems: 8 84*97351cd8SThierry Reding items: 85*97351cd8SThierry Reding enum: 86*97351cd8SThierry Reding - usb2-0 87*97351cd8SThierry Reding - usb2-1 88*97351cd8SThierry Reding - usb2-2 89*97351cd8SThierry Reding - usb2-3 90*97351cd8SThierry Reding - usb3-0 91*97351cd8SThierry Reding - usb3-1 92*97351cd8SThierry Reding - usb3-2 93*97351cd8SThierry Reding - usb3-3 94*97351cd8SThierry Reding 95*97351cd8SThierry Reding power-domains: 96*97351cd8SThierry Reding items: 97*97351cd8SThierry Reding - description: XUSBC power domain (for Host and USB 2.0) 98*97351cd8SThierry Reding - description: XUSBA power domain (for SuperSpeed) 99*97351cd8SThierry Reding 100*97351cd8SThierry Reding power-domain-names: 101*97351cd8SThierry Reding items: 102*97351cd8SThierry Reding - const: xusb_host 103*97351cd8SThierry Reding - const: xusb_ss 104*97351cd8SThierry Reding 105*97351cd8SThierry Reding dvddio-pex-supply: 106*97351cd8SThierry Reding description: PCIe/USB3 analog logic power supply. Must supply 1.05 V. 107*97351cd8SThierry Reding 108*97351cd8SThierry Reding hvddio-pex-supply: 109*97351cd8SThierry Reding description: High-voltage PCIe/USB3 power supply. Must supply 1.8 V. 110*97351cd8SThierry Reding 111*97351cd8SThierry Reding avdd-usb-supply: 112*97351cd8SThierry Reding description: USB controller power supply. Must supply 3.3 V. 113*97351cd8SThierry Reding 114*97351cd8SThierry Reding avdd-pll-utmip-supply: 115*97351cd8SThierry Reding description: UTMI PLL power supply. Must supply 1.8 V. 116*97351cd8SThierry Reding 117*97351cd8SThierry Reding avdd-pll-uerefe-supply: 118*97351cd8SThierry Reding description: PLLE reference PLL power supply. Must supply 1.05 V. 119*97351cd8SThierry Reding 120*97351cd8SThierry Reding dvdd-usb-ss-pll-supply: 121*97351cd8SThierry Reding description: PCIe/USB3 PLL power supply. Must supply 1.05 V. 122*97351cd8SThierry Reding 123*97351cd8SThierry Reding hvdd-usb-ss-pll-e-supply: 124*97351cd8SThierry Reding description: High-voltage PLLE power supply. Must supply 1.8 V. 125*97351cd8SThierry Reding 126*97351cd8SThierry RedingallOf: 127*97351cd8SThierry Reding - $ref: usb-xhci.yaml 128*97351cd8SThierry Reding 129*97351cd8SThierry RedingunevaluatedProperties: false 130*97351cd8SThierry Reding 131*97351cd8SThierry Redingexamples: 132*97351cd8SThierry Reding - | 133*97351cd8SThierry Reding #include <dt-bindings/clock/tegra194-clock.h> 134*97351cd8SThierry Reding #include <dt-bindings/interrupt-controller/arm-gic.h> 135*97351cd8SThierry Reding #include <dt-bindings/memory/tegra194-mc.h> 136*97351cd8SThierry Reding #include <dt-bindings/power/tegra194-powergate.h> 137*97351cd8SThierry Reding #include <dt-bindings/reset/tegra194-reset.h> 138*97351cd8SThierry Reding 139*97351cd8SThierry Reding usb@3610000 { 140*97351cd8SThierry Reding compatible = "nvidia,tegra194-xusb"; 141*97351cd8SThierry Reding reg = <0x03610000 0x40000>, 142*97351cd8SThierry Reding <0x03600000 0x10000>; 143*97351cd8SThierry Reding reg-names = "hcd", "fpci"; 144*97351cd8SThierry Reding 145*97351cd8SThierry Reding interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>, 146*97351cd8SThierry Reding <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>; 147*97351cd8SThierry Reding 148*97351cd8SThierry Reding clocks = <&bpmp TEGRA194_CLK_XUSB_CORE_HOST>, 149*97351cd8SThierry Reding <&bpmp TEGRA194_CLK_XUSB_FALCON>, 150*97351cd8SThierry Reding <&bpmp TEGRA194_CLK_XUSB_CORE_SS>, 151*97351cd8SThierry Reding <&bpmp TEGRA194_CLK_XUSB_SS>, 152*97351cd8SThierry Reding <&bpmp TEGRA194_CLK_CLK_M>, 153*97351cd8SThierry Reding <&bpmp TEGRA194_CLK_XUSB_FS>, 154*97351cd8SThierry Reding <&bpmp TEGRA194_CLK_UTMIPLL>, 155*97351cd8SThierry Reding <&bpmp TEGRA194_CLK_CLK_M>, 156*97351cd8SThierry Reding <&bpmp TEGRA194_CLK_PLLE>; 157*97351cd8SThierry Reding clock-names = "xusb_host", "xusb_falcon_src", 158*97351cd8SThierry Reding "xusb_ss", "xusb_ss_src", "xusb_hs_src", 159*97351cd8SThierry Reding "xusb_fs_src", "pll_u_480m", "clk_m", 160*97351cd8SThierry Reding "pll_e"; 161*97351cd8SThierry Reding interconnects = <&mc TEGRA194_MEMORY_CLIENT_XUSB_HOSTR &emc>, 162*97351cd8SThierry Reding <&mc TEGRA194_MEMORY_CLIENT_XUSB_HOSTW &emc>; 163*97351cd8SThierry Reding interconnect-names = "dma-mem", "write"; 164*97351cd8SThierry Reding iommus = <&smmu TEGRA194_SID_XUSB_HOST>; 165*97351cd8SThierry Reding 166*97351cd8SThierry Reding power-domains = <&bpmp TEGRA194_POWER_DOMAIN_XUSBC>, 167*97351cd8SThierry Reding <&bpmp TEGRA194_POWER_DOMAIN_XUSBA>; 168*97351cd8SThierry Reding power-domain-names = "xusb_host", "xusb_ss"; 169*97351cd8SThierry Reding 170*97351cd8SThierry Reding nvidia,xusb-padctl = <&xusb_padctl>; 171*97351cd8SThierry Reding 172*97351cd8SThierry Reding phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, 173*97351cd8SThierry Reding <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-1}>, 174*97351cd8SThierry Reding <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-3}>, 175*97351cd8SThierry Reding <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>, 176*97351cd8SThierry Reding <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-2}>, 177*97351cd8SThierry Reding <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-3}>; 178*97351cd8SThierry Reding phy-names = "usb2-0", "usb2-1", "usb2-3", "usb3-0", "usb3-2", "usb3-3"; 179*97351cd8SThierry Reding }; 180