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,tegra186-xusb.yaml# 5*97351cd8SThierry Reding$schema: http://devicetree.org/meta-schemas/core.yaml# 6*97351cd8SThierry Reding 7*97351cd8SThierry Redingtitle: NVIDIA Tegra186 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,tegra186-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: 7 80*97351cd8SThierry Reding 81*97351cd8SThierry Reding phy-names: 82*97351cd8SThierry Reding minItems: 1 83*97351cd8SThierry Reding maxItems: 7 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 - hsic-0 90*97351cd8SThierry Reding - usb3-0 91*97351cd8SThierry Reding - usb3-1 92*97351cd8SThierry Reding - usb3-2 93*97351cd8SThierry Reding 94*97351cd8SThierry Reding power-domains: 95*97351cd8SThierry Reding items: 96*97351cd8SThierry Reding - description: XUSBC power domain (for Host and USB 2.0) 97*97351cd8SThierry Reding - description: XUSBA power domain (for SuperSpeed) 98*97351cd8SThierry Reding 99*97351cd8SThierry Reding power-domain-names: 100*97351cd8SThierry Reding items: 101*97351cd8SThierry Reding - const: xusb_host 102*97351cd8SThierry Reding - const: xusb_ss 103*97351cd8SThierry Reding 104*97351cd8SThierry Reding dvddio-pex-supply: 105*97351cd8SThierry Reding description: PCIe/USB3 analog logic power supply. Must supply 1.05 V. 106*97351cd8SThierry Reding 107*97351cd8SThierry Reding hvddio-pex-supply: 108*97351cd8SThierry Reding description: High-voltage PCIe/USB3 power supply. Must supply 1.8 V. 109*97351cd8SThierry Reding 110*97351cd8SThierry Reding avdd-usb-supply: 111*97351cd8SThierry Reding description: USB controller power supply. Must supply 3.3 V. 112*97351cd8SThierry Reding 113*97351cd8SThierry Reding avdd-pll-utmip-supply: 114*97351cd8SThierry Reding description: UTMI PLL power supply. Must supply 1.8 V. 115*97351cd8SThierry Reding 116*97351cd8SThierry Reding avdd-pll-uerefe-supply: 117*97351cd8SThierry Reding description: PLLE reference PLL power supply. Must supply 1.05 V. 118*97351cd8SThierry Reding 119*97351cd8SThierry Reding dvdd-usb-ss-pll-supply: 120*97351cd8SThierry Reding description: PCIe/USB3 PLL power supply. Must supply 1.05 V. 121*97351cd8SThierry Reding 122*97351cd8SThierry Reding hvdd-usb-ss-pll-e-supply: 123*97351cd8SThierry Reding description: High-voltage PLLE power supply. Must supply 1.8 V. 124*97351cd8SThierry Reding 125*97351cd8SThierry RedingallOf: 126*97351cd8SThierry Reding - $ref: usb-xhci.yaml 127*97351cd8SThierry Reding 128*97351cd8SThierry RedingunevaluatedProperties: false 129*97351cd8SThierry Reding 130*97351cd8SThierry Redingexamples: 131*97351cd8SThierry Reding - | 132*97351cd8SThierry Reding #include <dt-bindings/clock/tegra186-clock.h> 133*97351cd8SThierry Reding #include <dt-bindings/interrupt-controller/arm-gic.h> 134*97351cd8SThierry Reding #include <dt-bindings/memory/tegra186-mc.h> 135*97351cd8SThierry Reding #include <dt-bindings/power/tegra186-powergate.h> 136*97351cd8SThierry Reding #include <dt-bindings/reset/tegra186-reset.h> 137*97351cd8SThierry Reding 138*97351cd8SThierry Reding usb@3530000 { 139*97351cd8SThierry Reding compatible = "nvidia,tegra186-xusb"; 140*97351cd8SThierry Reding reg = <0x03530000 0x8000>, 141*97351cd8SThierry Reding <0x03538000 0x1000>; 142*97351cd8SThierry Reding reg-names = "hcd", "fpci"; 143*97351cd8SThierry Reding interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>, 144*97351cd8SThierry Reding <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>; 145*97351cd8SThierry Reding clocks = <&bpmp TEGRA186_CLK_XUSB_HOST>, 146*97351cd8SThierry Reding <&bpmp TEGRA186_CLK_XUSB_FALCON>, 147*97351cd8SThierry Reding <&bpmp TEGRA186_CLK_XUSB_SS>, 148*97351cd8SThierry Reding <&bpmp TEGRA186_CLK_XUSB_CORE_SS>, 149*97351cd8SThierry Reding <&bpmp TEGRA186_CLK_CLK_M>, 150*97351cd8SThierry Reding <&bpmp TEGRA186_CLK_XUSB_FS>, 151*97351cd8SThierry Reding <&bpmp TEGRA186_CLK_PLLU>, 152*97351cd8SThierry Reding <&bpmp TEGRA186_CLK_CLK_M>, 153*97351cd8SThierry Reding <&bpmp TEGRA186_CLK_PLLE>; 154*97351cd8SThierry Reding clock-names = "xusb_host", "xusb_falcon_src", "xusb_ss", 155*97351cd8SThierry Reding "xusb_ss_src", "xusb_hs_src", "xusb_fs_src", 156*97351cd8SThierry Reding "pll_u_480m", "clk_m", "pll_e"; 157*97351cd8SThierry Reding power-domains = <&bpmp TEGRA186_POWER_DOMAIN_XUSBC>, 158*97351cd8SThierry Reding <&bpmp TEGRA186_POWER_DOMAIN_XUSBA>; 159*97351cd8SThierry Reding power-domain-names = "xusb_host", "xusb_ss"; 160*97351cd8SThierry Reding interconnects = <&mc TEGRA186_MEMORY_CLIENT_XUSB_HOSTR &emc>, 161*97351cd8SThierry Reding <&mc TEGRA186_MEMORY_CLIENT_XUSB_HOSTW &emc>; 162*97351cd8SThierry Reding interconnect-names = "dma-mem", "write"; 163*97351cd8SThierry Reding iommus = <&smmu TEGRA186_SID_XUSB_HOST>; 164*97351cd8SThierry Reding nvidia,xusb-padctl = <&padctl>; 165*97351cd8SThierry Reding 166*97351cd8SThierry Reding #address-cells = <1>; 167*97351cd8SThierry Reding #size-cells = <0>; 168*97351cd8SThierry Reding 169*97351cd8SThierry Reding phys = <&{/padctl@3520000/pads/usb2/lanes/usb2-0}>, 170*97351cd8SThierry Reding <&{/padctl@3520000/pads/usb2/lanes/usb2-1}>, 171*97351cd8SThierry Reding <&{/padctl@3520000/pads/usb3/lanes/usb3-0}>; 172*97351cd8SThierry Reding phy-names = "usb2-0", "usb2-1", "usb3-0"; 173*97351cd8SThierry Reding }; 174