162306a36Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 262306a36Sopenharmony_ci%YAML 1.2 362306a36Sopenharmony_ci--- 462306a36Sopenharmony_ci$id: http://devicetree.org/schemas/usb/nvidia,tegra210-xusb.yaml# 562306a36Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml# 662306a36Sopenharmony_ci 762306a36Sopenharmony_cititle: NVIDIA Tegra210 xHCI controller 862306a36Sopenharmony_ci 962306a36Sopenharmony_cimaintainers: 1062306a36Sopenharmony_ci - Thierry Reding <thierry.reding@gmail.com> 1162306a36Sopenharmony_ci - Jon Hunter <jonathanh@nvidia.com> 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_cidescription: The Tegra xHCI controller supports both USB2 and USB3 interfaces 1462306a36Sopenharmony_ci exposed by the Tegra XUSB pad controller. 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ciproperties: 1762306a36Sopenharmony_ci compatible: 1862306a36Sopenharmony_ci const: nvidia,tegra210-xusb 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ci reg: 2162306a36Sopenharmony_ci items: 2262306a36Sopenharmony_ci - description: base and length of the xHCI host registers 2362306a36Sopenharmony_ci - description: base and length of the XUSB FPCI registers 2462306a36Sopenharmony_ci - description: base and length of the XUSB IPFS registers 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci reg-names: 2762306a36Sopenharmony_ci items: 2862306a36Sopenharmony_ci - const: hcd 2962306a36Sopenharmony_ci - const: fpci 3062306a36Sopenharmony_ci - const: ipfs 3162306a36Sopenharmony_ci 3262306a36Sopenharmony_ci interrupts: 3362306a36Sopenharmony_ci items: 3462306a36Sopenharmony_ci - description: xHCI host interrupt 3562306a36Sopenharmony_ci - description: mailbox interrupt 3662306a36Sopenharmony_ci 3762306a36Sopenharmony_ci clocks: 3862306a36Sopenharmony_ci items: 3962306a36Sopenharmony_ci - description: XUSB host clock 4062306a36Sopenharmony_ci - description: XUSB host source clock 4162306a36Sopenharmony_ci - description: XUSB Falcon source clock 4262306a36Sopenharmony_ci - description: XUSB SuperSpeed clock 4362306a36Sopenharmony_ci - description: XUSB SuperSpeed clock divider 4462306a36Sopenharmony_ci - description: XUSB SuperSpeed source clock 4562306a36Sopenharmony_ci - description: XUSB HighSpeed clock source 4662306a36Sopenharmony_ci - description: XUSB FullSpeed clock source 4762306a36Sopenharmony_ci - description: USB PLL 4862306a36Sopenharmony_ci - description: reference clock 4962306a36Sopenharmony_ci - description: I/O PLL 5062306a36Sopenharmony_ci 5162306a36Sopenharmony_ci clock-names: 5262306a36Sopenharmony_ci items: 5362306a36Sopenharmony_ci - const: xusb_host 5462306a36Sopenharmony_ci - const: xusb_host_src 5562306a36Sopenharmony_ci - const: xusb_falcon_src 5662306a36Sopenharmony_ci - const: xusb_ss 5762306a36Sopenharmony_ci - const: xusb_ss_div2 5862306a36Sopenharmony_ci - const: xusb_ss_src 5962306a36Sopenharmony_ci - const: xusb_hs_src 6062306a36Sopenharmony_ci - const: xusb_fs_src 6162306a36Sopenharmony_ci - const: pll_u_480m 6262306a36Sopenharmony_ci - const: clk_m 6362306a36Sopenharmony_ci - const: pll_e 6462306a36Sopenharmony_ci 6562306a36Sopenharmony_ci resets: 6662306a36Sopenharmony_ci items: 6762306a36Sopenharmony_ci - description: reset for the XUSB host controller 6862306a36Sopenharmony_ci - description: reset for the SuperSpeed logic 6962306a36Sopenharmony_ci - description: shared reset for xusb_{ss,hs,fs,falcon,host}_src. 7062306a36Sopenharmony_ci 7162306a36Sopenharmony_ci reset-names: 7262306a36Sopenharmony_ci items: 7362306a36Sopenharmony_ci - const: xusb_host 7462306a36Sopenharmony_ci - const: xusb_ss 7562306a36Sopenharmony_ci - const: xusb_src 7662306a36Sopenharmony_ci 7762306a36Sopenharmony_ci nvidia,xusb-padctl: 7862306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/phandle 7962306a36Sopenharmony_ci description: phandle to the XUSB pad controller that is used to configure 8062306a36Sopenharmony_ci the USB pads used by the XHCI controller 8162306a36Sopenharmony_ci 8262306a36Sopenharmony_ci phys: 8362306a36Sopenharmony_ci minItems: 1 8462306a36Sopenharmony_ci maxItems: 9 8562306a36Sopenharmony_ci 8662306a36Sopenharmony_ci phy-names: 8762306a36Sopenharmony_ci minItems: 1 8862306a36Sopenharmony_ci maxItems: 9 8962306a36Sopenharmony_ci items: 9062306a36Sopenharmony_ci enum: 9162306a36Sopenharmony_ci - usb2-0 9262306a36Sopenharmony_ci - usb2-1 9362306a36Sopenharmony_ci - usb2-2 9462306a36Sopenharmony_ci - usb2-3 9562306a36Sopenharmony_ci - hsic-0 9662306a36Sopenharmony_ci - usb3-0 9762306a36Sopenharmony_ci - usb3-1 9862306a36Sopenharmony_ci - usb3-2 9962306a36Sopenharmony_ci - usb3-3 10062306a36Sopenharmony_ci 10162306a36Sopenharmony_ci power-domains: 10262306a36Sopenharmony_ci items: 10362306a36Sopenharmony_ci - description: XUSBC power domain (for Host and USB 2.0) 10462306a36Sopenharmony_ci - description: XUSBA power domain (for SuperSpeed) 10562306a36Sopenharmony_ci 10662306a36Sopenharmony_ci power-domain-names: 10762306a36Sopenharmony_ci items: 10862306a36Sopenharmony_ci - const: xusb_host 10962306a36Sopenharmony_ci - const: xusb_ss 11062306a36Sopenharmony_ci 11162306a36Sopenharmony_ci dvddio-pex-supply: 11262306a36Sopenharmony_ci description: PCIe/USB3 analog logic power supply. Must supply 1.05 V. 11362306a36Sopenharmony_ci 11462306a36Sopenharmony_ci hvddio-pex-supply: 11562306a36Sopenharmony_ci description: High-voltage PCIe/USB3 power supply. Must supply 1.8 V. 11662306a36Sopenharmony_ci 11762306a36Sopenharmony_ci avdd-usb-supply: 11862306a36Sopenharmony_ci description: USB controller power supply. Must supply 3.3 V. 11962306a36Sopenharmony_ci 12062306a36Sopenharmony_ci avdd-pll-utmip-supply: 12162306a36Sopenharmony_ci description: UTMI PLL power supply. Must supply 1.8 V. 12262306a36Sopenharmony_ci 12362306a36Sopenharmony_ci avdd-pll-uerefe-supply: 12462306a36Sopenharmony_ci description: PLLE reference PLL power supply. Must supply 1.05 V. 12562306a36Sopenharmony_ci 12662306a36Sopenharmony_ci dvdd-usb-ss-pll-supply: 12762306a36Sopenharmony_ci description: PCIe/USB3 PLL power supply. Must supply 1.05 V. 12862306a36Sopenharmony_ci 12962306a36Sopenharmony_ci hvdd-usb-ss-pll-e-supply: 13062306a36Sopenharmony_ci description: High-voltage PLLE power supply. Must supply 1.8 V. 13162306a36Sopenharmony_ci 13262306a36Sopenharmony_ciallOf: 13362306a36Sopenharmony_ci - $ref: usb-xhci.yaml 13462306a36Sopenharmony_ci 13562306a36Sopenharmony_ciunevaluatedProperties: false 13662306a36Sopenharmony_ci 13762306a36Sopenharmony_ciexamples: 13862306a36Sopenharmony_ci - | 13962306a36Sopenharmony_ci #include <dt-bindings/clock/tegra210-car.h> 14062306a36Sopenharmony_ci #include <dt-bindings/interrupt-controller/arm-gic.h> 14162306a36Sopenharmony_ci 14262306a36Sopenharmony_ci usb@70090000 { 14362306a36Sopenharmony_ci compatible = "nvidia,tegra210-xusb"; 14462306a36Sopenharmony_ci reg = <0x70090000 0x8000>, 14562306a36Sopenharmony_ci <0x70098000 0x1000>, 14662306a36Sopenharmony_ci <0x70099000 0x1000>; 14762306a36Sopenharmony_ci reg-names = "hcd", "fpci", "ipfs"; 14862306a36Sopenharmony_ci 14962306a36Sopenharmony_ci interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>, 15062306a36Sopenharmony_ci <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; 15162306a36Sopenharmony_ci 15262306a36Sopenharmony_ci clocks = <&tegra_car TEGRA210_CLK_XUSB_HOST>, 15362306a36Sopenharmony_ci <&tegra_car TEGRA210_CLK_XUSB_HOST_SRC>, 15462306a36Sopenharmony_ci <&tegra_car TEGRA210_CLK_XUSB_FALCON_SRC>, 15562306a36Sopenharmony_ci <&tegra_car TEGRA210_CLK_XUSB_SS>, 15662306a36Sopenharmony_ci <&tegra_car TEGRA210_CLK_XUSB_SS_DIV2>, 15762306a36Sopenharmony_ci <&tegra_car TEGRA210_CLK_XUSB_SS_SRC>, 15862306a36Sopenharmony_ci <&tegra_car TEGRA210_CLK_XUSB_HS_SRC>, 15962306a36Sopenharmony_ci <&tegra_car TEGRA210_CLK_XUSB_FS_SRC>, 16062306a36Sopenharmony_ci <&tegra_car TEGRA210_CLK_PLL_U_480M>, 16162306a36Sopenharmony_ci <&tegra_car TEGRA210_CLK_CLK_M>, 16262306a36Sopenharmony_ci <&tegra_car TEGRA210_CLK_PLL_E>; 16362306a36Sopenharmony_ci clock-names = "xusb_host", "xusb_host_src", 16462306a36Sopenharmony_ci "xusb_falcon_src", "xusb_ss", 16562306a36Sopenharmony_ci "xusb_ss_div2", "xusb_ss_src", 16662306a36Sopenharmony_ci "xusb_hs_src", "xusb_fs_src", 16762306a36Sopenharmony_ci "pll_u_480m", "clk_m", "pll_e"; 16862306a36Sopenharmony_ci resets = <&tegra_car 89>, <&tegra_car 156>, 16962306a36Sopenharmony_ci <&tegra_car 143>; 17062306a36Sopenharmony_ci reset-names = "xusb_host", "xusb_ss", "xusb_src"; 17162306a36Sopenharmony_ci power-domains = <&pd_xusbhost>, <&pd_xusbss>; 17262306a36Sopenharmony_ci power-domain-names = "xusb_host", "xusb_ss"; 17362306a36Sopenharmony_ci 17462306a36Sopenharmony_ci nvidia,xusb-padctl = <&padctl>; 17562306a36Sopenharmony_ci 17662306a36Sopenharmony_ci phys = <&phy_usb2_0>, <&phy_usb2_1>, <&phy_usb2_2>, <&phy_usb2_3>, 17762306a36Sopenharmony_ci <&phy_pcie_6>, <&phy_pcie_5>; 17862306a36Sopenharmony_ci phy-names = "usb2-0", "usb2-1", "usb2-2", "usb2-3", "usb3-0", 17962306a36Sopenharmony_ci "usb3-1"; 18062306a36Sopenharmony_ci dvddio-pex-supply = <&vdd_pex_1v05>; 18162306a36Sopenharmony_ci hvddio-pex-supply = <&vdd_1v8>; 18262306a36Sopenharmony_ci avdd-usb-supply = <&vdd_3v3_sys>; 18362306a36Sopenharmony_ci avdd-pll-utmip-supply = <&vdd_1v8>; 18462306a36Sopenharmony_ci avdd-pll-uerefe-supply = <&vdd_pex_1v05>; 18562306a36Sopenharmony_ci dvdd-usb-ss-pll-supply = <&vdd_pex_1v05>; 18662306a36Sopenharmony_ci hvdd-usb-ss-pll-e-supply = <&vdd_1v8>; 18762306a36Sopenharmony_ci 18862306a36Sopenharmony_ci #address-cells = <1>; 18962306a36Sopenharmony_ci #size-cells = <0>; 19062306a36Sopenharmony_ci 19162306a36Sopenharmony_ci ethernet@1 { 19262306a36Sopenharmony_ci compatible = "usb955,9ff"; 19362306a36Sopenharmony_ci reg = <1>; 19462306a36Sopenharmony_ci }; 19562306a36Sopenharmony_ci }; 196