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,tegra186-xusb.yaml# 5*8bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*8bab661aSEmmanuel Vadot 7*8bab661aSEmmanuel Vadottitle: NVIDIA Tegra186 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,tegra186-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 25*8bab661aSEmmanuel Vadot reg-names: 26*8bab661aSEmmanuel Vadot items: 27*8bab661aSEmmanuel Vadot - const: hcd 28*8bab661aSEmmanuel Vadot - const: fpci 29*8bab661aSEmmanuel Vadot 30*8bab661aSEmmanuel Vadot interrupts: 31*8bab661aSEmmanuel Vadot items: 32*8bab661aSEmmanuel Vadot - description: xHCI host interrupt 33*8bab661aSEmmanuel Vadot - description: mailbox interrupt 34*8bab661aSEmmanuel Vadot 35*8bab661aSEmmanuel Vadot clocks: 36*8bab661aSEmmanuel Vadot items: 37*8bab661aSEmmanuel Vadot - description: XUSB host clock 38*8bab661aSEmmanuel Vadot - description: XUSB Falcon source clock 39*8bab661aSEmmanuel Vadot - description: XUSB SuperSpeed clock 40*8bab661aSEmmanuel Vadot - description: XUSB SuperSpeed source clock 41*8bab661aSEmmanuel Vadot - description: XUSB HighSpeed clock source 42*8bab661aSEmmanuel Vadot - description: XUSB FullSpeed clock source 43*8bab661aSEmmanuel Vadot - description: USB PLL 44*8bab661aSEmmanuel Vadot - description: reference clock 45*8bab661aSEmmanuel Vadot - description: I/O PLL 46*8bab661aSEmmanuel Vadot 47*8bab661aSEmmanuel Vadot clock-names: 48*8bab661aSEmmanuel Vadot items: 49*8bab661aSEmmanuel Vadot - const: xusb_host 50*8bab661aSEmmanuel Vadot - const: xusb_falcon_src 51*8bab661aSEmmanuel Vadot - const: xusb_ss 52*8bab661aSEmmanuel Vadot - const: xusb_ss_src 53*8bab661aSEmmanuel Vadot - const: xusb_hs_src 54*8bab661aSEmmanuel Vadot - const: xusb_fs_src 55*8bab661aSEmmanuel Vadot - const: pll_u_480m 56*8bab661aSEmmanuel Vadot - const: clk_m 57*8bab661aSEmmanuel Vadot - const: pll_e 58*8bab661aSEmmanuel Vadot 59*8bab661aSEmmanuel Vadot interconnects: 60*8bab661aSEmmanuel Vadot items: 61*8bab661aSEmmanuel Vadot - description: read client 62*8bab661aSEmmanuel Vadot - description: write client 63*8bab661aSEmmanuel Vadot 64*8bab661aSEmmanuel Vadot interconnect-names: 65*8bab661aSEmmanuel Vadot items: 66*8bab661aSEmmanuel Vadot - const: dma-mem # read 67*8bab661aSEmmanuel Vadot - const: write 68*8bab661aSEmmanuel Vadot 69*8bab661aSEmmanuel Vadot iommus: 70*8bab661aSEmmanuel Vadot maxItems: 1 71*8bab661aSEmmanuel Vadot 72*8bab661aSEmmanuel Vadot nvidia,xusb-padctl: 73*8bab661aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 74*8bab661aSEmmanuel Vadot description: phandle to the XUSB pad controller that is used to configure 75*8bab661aSEmmanuel Vadot the USB pads used by the XHCI controller 76*8bab661aSEmmanuel Vadot 77*8bab661aSEmmanuel Vadot phys: 78*8bab661aSEmmanuel Vadot minItems: 1 79*8bab661aSEmmanuel Vadot maxItems: 7 80*8bab661aSEmmanuel Vadot 81*8bab661aSEmmanuel Vadot phy-names: 82*8bab661aSEmmanuel Vadot minItems: 1 83*8bab661aSEmmanuel Vadot maxItems: 7 84*8bab661aSEmmanuel Vadot items: 85*8bab661aSEmmanuel Vadot enum: 86*8bab661aSEmmanuel Vadot - usb2-0 87*8bab661aSEmmanuel Vadot - usb2-1 88*8bab661aSEmmanuel Vadot - usb2-2 89*8bab661aSEmmanuel Vadot - hsic-0 90*8bab661aSEmmanuel Vadot - usb3-0 91*8bab661aSEmmanuel Vadot - usb3-1 92*8bab661aSEmmanuel Vadot - usb3-2 93*8bab661aSEmmanuel Vadot 94*8bab661aSEmmanuel Vadot power-domains: 95*8bab661aSEmmanuel Vadot items: 96*8bab661aSEmmanuel Vadot - description: XUSBC power domain (for Host and USB 2.0) 97*8bab661aSEmmanuel Vadot - description: XUSBA power domain (for SuperSpeed) 98*8bab661aSEmmanuel Vadot 99*8bab661aSEmmanuel Vadot power-domain-names: 100*8bab661aSEmmanuel Vadot items: 101*8bab661aSEmmanuel Vadot - const: xusb_host 102*8bab661aSEmmanuel Vadot - const: xusb_ss 103*8bab661aSEmmanuel Vadot 104*8bab661aSEmmanuel Vadot dvddio-pex-supply: 105*8bab661aSEmmanuel Vadot description: PCIe/USB3 analog logic power supply. Must supply 1.05 V. 106*8bab661aSEmmanuel Vadot 107*8bab661aSEmmanuel Vadot hvddio-pex-supply: 108*8bab661aSEmmanuel Vadot description: High-voltage PCIe/USB3 power supply. Must supply 1.8 V. 109*8bab661aSEmmanuel Vadot 110*8bab661aSEmmanuel Vadot avdd-usb-supply: 111*8bab661aSEmmanuel Vadot description: USB controller power supply. Must supply 3.3 V. 112*8bab661aSEmmanuel Vadot 113*8bab661aSEmmanuel Vadot avdd-pll-utmip-supply: 114*8bab661aSEmmanuel Vadot description: UTMI PLL power supply. Must supply 1.8 V. 115*8bab661aSEmmanuel Vadot 116*8bab661aSEmmanuel Vadot avdd-pll-uerefe-supply: 117*8bab661aSEmmanuel Vadot description: PLLE reference PLL power supply. Must supply 1.05 V. 118*8bab661aSEmmanuel Vadot 119*8bab661aSEmmanuel Vadot dvdd-usb-ss-pll-supply: 120*8bab661aSEmmanuel Vadot description: PCIe/USB3 PLL power supply. Must supply 1.05 V. 121*8bab661aSEmmanuel Vadot 122*8bab661aSEmmanuel Vadot hvdd-usb-ss-pll-e-supply: 123*8bab661aSEmmanuel Vadot description: High-voltage PLLE power supply. Must supply 1.8 V. 124*8bab661aSEmmanuel Vadot 125*8bab661aSEmmanuel VadotallOf: 126*8bab661aSEmmanuel Vadot - $ref: usb-xhci.yaml 127*8bab661aSEmmanuel Vadot 128*8bab661aSEmmanuel VadotunevaluatedProperties: false 129*8bab661aSEmmanuel Vadot 130*8bab661aSEmmanuel Vadotexamples: 131*8bab661aSEmmanuel Vadot - | 132*8bab661aSEmmanuel Vadot #include <dt-bindings/clock/tegra186-clock.h> 133*8bab661aSEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 134*8bab661aSEmmanuel Vadot #include <dt-bindings/memory/tegra186-mc.h> 135*8bab661aSEmmanuel Vadot #include <dt-bindings/power/tegra186-powergate.h> 136*8bab661aSEmmanuel Vadot #include <dt-bindings/reset/tegra186-reset.h> 137*8bab661aSEmmanuel Vadot 138*8bab661aSEmmanuel Vadot usb@3530000 { 139*8bab661aSEmmanuel Vadot compatible = "nvidia,tegra186-xusb"; 140*8bab661aSEmmanuel Vadot reg = <0x03530000 0x8000>, 141*8bab661aSEmmanuel Vadot <0x03538000 0x1000>; 142*8bab661aSEmmanuel Vadot reg-names = "hcd", "fpci"; 143*8bab661aSEmmanuel Vadot interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>, 144*8bab661aSEmmanuel Vadot <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>; 145*8bab661aSEmmanuel Vadot clocks = <&bpmp TEGRA186_CLK_XUSB_HOST>, 146*8bab661aSEmmanuel Vadot <&bpmp TEGRA186_CLK_XUSB_FALCON>, 147*8bab661aSEmmanuel Vadot <&bpmp TEGRA186_CLK_XUSB_SS>, 148*8bab661aSEmmanuel Vadot <&bpmp TEGRA186_CLK_XUSB_CORE_SS>, 149*8bab661aSEmmanuel Vadot <&bpmp TEGRA186_CLK_CLK_M>, 150*8bab661aSEmmanuel Vadot <&bpmp TEGRA186_CLK_XUSB_FS>, 151*8bab661aSEmmanuel Vadot <&bpmp TEGRA186_CLK_PLLU>, 152*8bab661aSEmmanuel Vadot <&bpmp TEGRA186_CLK_CLK_M>, 153*8bab661aSEmmanuel Vadot <&bpmp TEGRA186_CLK_PLLE>; 154*8bab661aSEmmanuel Vadot clock-names = "xusb_host", "xusb_falcon_src", "xusb_ss", 155*8bab661aSEmmanuel Vadot "xusb_ss_src", "xusb_hs_src", "xusb_fs_src", 156*8bab661aSEmmanuel Vadot "pll_u_480m", "clk_m", "pll_e"; 157*8bab661aSEmmanuel Vadot power-domains = <&bpmp TEGRA186_POWER_DOMAIN_XUSBC>, 158*8bab661aSEmmanuel Vadot <&bpmp TEGRA186_POWER_DOMAIN_XUSBA>; 159*8bab661aSEmmanuel Vadot power-domain-names = "xusb_host", "xusb_ss"; 160*8bab661aSEmmanuel Vadot interconnects = <&mc TEGRA186_MEMORY_CLIENT_XUSB_HOSTR &emc>, 161*8bab661aSEmmanuel Vadot <&mc TEGRA186_MEMORY_CLIENT_XUSB_HOSTW &emc>; 162*8bab661aSEmmanuel Vadot interconnect-names = "dma-mem", "write"; 163*8bab661aSEmmanuel Vadot iommus = <&smmu TEGRA186_SID_XUSB_HOST>; 164*8bab661aSEmmanuel Vadot nvidia,xusb-padctl = <&padctl>; 165*8bab661aSEmmanuel Vadot 166*8bab661aSEmmanuel Vadot #address-cells = <1>; 167*8bab661aSEmmanuel Vadot #size-cells = <0>; 168*8bab661aSEmmanuel Vadot 169*8bab661aSEmmanuel Vadot phys = <&phy_usb2_0>, <&phy_usb2_1>, <&phy_usb3_0>; 170*8bab661aSEmmanuel Vadot phy-names = "usb2-0", "usb2-1", "usb3-0"; 171*8bab661aSEmmanuel Vadot }; 172