Back to home page

OSCL-LXR

 
 

    


0001 NVIDIA Tegra xHCI controller
0002 ============================
0003 
0004 The Tegra xHCI controller supports both USB2 and USB3 interfaces exposed by
0005 the Tegra XUSB pad controller.
0006 
0007 Required properties:
0008 --------------------
0009 - compatible: Must be:
0010   - Tegra124: "nvidia,tegra124-xusb"
0011   - Tegra132: "nvidia,tegra132-xusb", "nvidia,tegra124-xusb"
0012   - Tegra210: "nvidia,tegra210-xusb"
0013   - Tegra186: "nvidia,tegra186-xusb"
0014 - reg: Must contain the base and length of the xHCI host registers, XUSB FPCI
0015   registers and XUSB IPFS registers.
0016 - reg-names: Must contain the following entries:
0017   - "hcd"
0018   - "fpci"
0019   - "ipfs"
0020 - interrupts: Must contain the xHCI host interrupt and the mailbox interrupt.
0021 - clocks: Must contain an entry for each entry in clock-names.
0022   See ../clock/clock-bindings.txt for details.
0023 - clock-names: Must include the following entries:
0024    - xusb_host
0025    - xusb_host_src
0026    - xusb_falcon_src
0027    - xusb_ss
0028    - xusb_ss_src
0029    - xusb_ss_div2
0030    - xusb_hs_src
0031    - xusb_fs_src
0032    - pll_u_480m
0033    - clk_m
0034    - pll_e
0035 - resets: Must contain an entry for each entry in reset-names.
0036   See ../reset/reset.txt for details.
0037 - reset-names: Must include the following entries:
0038   - xusb_host
0039   - xusb_ss
0040   - xusb_src
0041   Note that xusb_src is the shared reset for xusb_{ss,hs,fs,falcon,host}_src.
0042 - nvidia,xusb-padctl: phandle to the XUSB pad controller that is used to
0043   configure the USB pads used by the XHCI controller
0044 
0045 For Tegra124 and Tegra132:
0046 - avddio-pex-supply: PCIe/USB3 analog logic power supply. Must supply 1.05 V.
0047 - dvddio-pex-supply: PCIe/USB3 digital logic power supply. Must supply 1.05 V.
0048 - avdd-usb-supply: USB controller power supply. Must supply 3.3 V.
0049 - avdd-pll-utmip-supply: UTMI PLL power supply. Must supply 1.8 V.
0050 - avdd-pll-erefe-supply: PLLE reference PLL power supply. Must supply 1.05 V.
0051 - avdd-usb-ss-pll-supply: PCIe/USB3 PLL power supply. Must supply 1.05 V.
0052 - hvdd-usb-ss-supply: High-voltage PCIe/USB3 power supply. Must supply 3.3 V.
0053 - hvdd-usb-ss-pll-e-supply: High-voltage PLLE power supply. Must supply 3.3 V.
0054 
0055 For Tegra210:
0056 - dvddio-pex-supply: PCIe/USB3 analog logic power supply. Must supply 1.05 V.
0057 - hvddio-pex-supply: High-voltage PCIe/USB3 power supply. Must supply 1.8 V.
0058 - avdd-usb-supply: USB controller power supply. Must supply 3.3 V.
0059 - avdd-pll-utmip-supply: UTMI PLL power supply. Must supply 1.8 V.
0060 - avdd-pll-uerefe-supply: PLLE reference PLL power supply. Must supply 1.05 V.
0061 - dvdd-pex-pll-supply: PCIe/USB3 PLL power supply. Must supply 1.05 V.
0062 - hvdd-pex-pll-e-supply: High-voltage PLLE power supply. Must supply 1.8 V.
0063 
0064 For Tegra210 and Tegra186:
0065 - power-domains: A list of PM domain specifiers that reference each power-domain
0066   used by the xHCI controller. This list must comprise of a specifier for the
0067   XUSBA and XUSBC power-domains. See ../power/power_domain.txt and
0068   ../arm/tegra/nvidia,tegra20-pmc.txt for details.
0069 - power-domain-names: A list of names that represent each of the specifiers in
0070   the 'power-domains' property. Must include 'xusb_ss' and 'xusb_host' which
0071   represent the power-domains XUSBA and XUSBC, respectively. See
0072   ../power/power_domain.txt for details.
0073 
0074 Optional properties:
0075 --------------------
0076 - phys: Must contain an entry for each entry in phy-names.
0077   See ../phy/phy-bindings.txt for details.
0078 - phy-names: Should include an entry for each PHY used by the controller. The
0079   following PHYs are available:
0080   - Tegra124: usb2-0, usb2-1, usb2-2, hsic-0, hsic-1, usb3-0, usb3-1
0081   - Tegra132: usb2-0, usb2-1, usb2-2, hsic-0, hsic-1, usb3-0, usb3-1
0082   - Tegra210: usb2-0, usb2-1, usb2-2, usb2-3, hsic-0, usb3-0, usb3-1, usb3-2,
0083               usb3-3
0084   - Tegra186: usb2-0, usb2-1, usb2-2, hsic-0, usb3-0, usb3-1, usb3-2
0085 
0086 Example:
0087 --------
0088 
0089         usb@0,70090000 {
0090                 compatible = "nvidia,tegra124-xusb";
0091                 reg = <0x0 0x70090000 0x0 0x8000>,
0092                       <0x0 0x70098000 0x0 0x1000>,
0093                       <0x0 0x70099000 0x0 0x1000>;
0094                 reg-names = "hcd", "fpci", "ipfs";
0095 
0096                 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
0097                              <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
0098 
0099                 clocks = <&tegra_car TEGRA124_CLK_XUSB_HOST>,
0100                          <&tegra_car TEGRA124_CLK_XUSB_HOST_SRC>,
0101                          <&tegra_car TEGRA124_CLK_XUSB_FALCON_SRC>,
0102                          <&tegra_car TEGRA124_CLK_XUSB_SS>,
0103                          <&tegra_car TEGRA124_CLK_XUSB_SS_DIV2>,
0104                          <&tegra_car TEGRA124_CLK_XUSB_SS_SRC>,
0105                          <&tegra_car TEGRA124_CLK_XUSB_HS_SRC>,
0106                          <&tegra_car TEGRA124_CLK_XUSB_FS_SRC>,
0107                          <&tegra_car TEGRA124_CLK_PLL_U_480M>,
0108                          <&tegra_car TEGRA124_CLK_CLK_M>,
0109                          <&tegra_car TEGRA124_CLK_PLL_E>;
0110                 clock-names = "xusb_host", "xusb_host_src", "xusb_falcon_src",
0111                               "xusb_ss", "xusb_ss_div2", "xusb_ss_src",
0112                               "xusb_hs_src", "xusb_fs_src", "pll_u_480m",
0113                               "clk_m", "pll_e";
0114                 resets = <&tegra_car 89>, <&tegra_car 156>, <&tegra_car 143>;
0115                 reset-names = "xusb_host", "xusb_ss", "xusb_src";
0116 
0117                 nvidia,xusb-padctl = <&padctl>;
0118 
0119                 phys = <&{/padctl@0,7009f000/pads/usb2/lanes/usb2-1}>, /* mini-PCIe USB */
0120                        <&{/padctl@0,7009f000/pads/usb2/lanes/usb2-2}>, /* USB A */
0121                        <&{/padctl@0,7009f000/pads/pcie/lanes/pcie-0}>; /* USB A */
0122                 phy-names = "usb2-1", "usb2-2", "usb3-0";
0123 
0124                 avddio-pex-supply = <&vdd_1v05_run>;
0125                 dvddio-pex-supply = <&vdd_1v05_run>;
0126                 avdd-usb-supply = <&vdd_3v3_lp0>;
0127                 avdd-pll-utmip-supply = <&vddio_1v8>;
0128                 avdd-pll-erefe-supply = <&avdd_1v05_run>;
0129                 avdd-usb-ss-pll-supply = <&vdd_1v05_run>;
0130                 hvdd-usb-ss-supply = <&vdd_3v3_lp0>;
0131                 hvdd-usb-ss-pll-e-supply = <&vdd_3v3_lp0>;
0132         };