~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/usb/nvidia,tegra234-xusb.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/usb/nvidia,tegra234-xusb.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: NVIDIA Tegra234 xHCI controller
  8 
  9 maintainers:
 10   - Thierry Reding <thierry.reding@gmail.com>
 11   - Jon Hunter <jonathanh@nvidia.com>
 12 
 13 description: |
 14   The Tegra xHCI controller supports both USB2 and USB3 interfaces exposed by
 15   the Tegra XUSB pad controller. The xHCI controller controls up to eight
 16   ports; there are four USB 2.0 ports and four USB 3.2 Gen1 x1 ports.
 17 
 18 properties:
 19   compatible:
 20     const: nvidia,tegra234-xusb
 21 
 22   reg:
 23     items:
 24       - description: xHCI host registers
 25       - description: XUSB FPCI registers
 26       - description: XUSB bar2 registers
 27 
 28   reg-names:
 29     items:
 30       - const: hcd
 31       - const: fpci
 32       - const: bar2
 33 
 34   interrupts:
 35     items:
 36       - description: xHCI host interrupt
 37       - description: mailbox interrupt
 38 
 39   clocks:
 40     items:
 41       - description: XUSB host clock
 42       - description: XUSB Falcon source clock
 43       - description: XUSB SuperSpeed clock
 44       - description: XUSB SuperSpeed source clock
 45       - description: XUSB HighSpeed clock source
 46       - description: XUSB FullSpeed clock source
 47       - description: USB PLL
 48       - description: reference clock
 49       - description: I/O PLL
 50 
 51   clock-names:
 52     items:
 53       - const: xusb_host
 54       - const: xusb_falcon_src
 55       - const: xusb_ss
 56       - const: xusb_ss_src
 57       - const: xusb_hs_src
 58       - const: xusb_fs_src
 59       - const: pll_u_480m
 60       - const: clk_m
 61       - const: pll_e
 62 
 63   interconnects:
 64     items:
 65       - description: read client
 66       - description: write client
 67 
 68   interconnect-names:
 69     items:
 70       - const: dma-mem # read
 71       - const: write
 72 
 73   iommus:
 74     maxItems: 1
 75 
 76   nvidia,xusb-padctl:
 77     $ref: /schemas/types.yaml#/definitions/phandle
 78     description: phandle to the XUSB pad controller that is used to configure
 79       the USB pads used by the XHCI controller
 80 
 81   phys:
 82     minItems: 1
 83     maxItems: 8
 84 
 85   phy-names:
 86     minItems: 1
 87     maxItems: 8
 88     items:
 89       enum:
 90         - usb2-0
 91         - usb2-1
 92         - usb2-2
 93         - usb2-3
 94         - usb3-0
 95         - usb3-1
 96         - usb3-2
 97         - usb3-3
 98 
 99   power-domains:
100     items:
101       - description: XUSBC power domain (for Host and USB 2.0)
102       - description: XUSBA power domain (for SuperSpeed)
103 
104   power-domain-names:
105     items:
106       - const: xusb_host
107       - const: xusb_ss
108 
109   dma-coherent: true
110 
111 allOf:
112   - $ref: usb-xhci.yaml
113 
114 unevaluatedProperties: false
115 
116 examples:
117   - |
118     #include <dt-bindings/clock/tegra234-clock.h>
119     #include <dt-bindings/interrupt-controller/arm-gic.h>
120     #include <dt-bindings/memory/tegra234-mc.h>
121     #include <dt-bindings/power/tegra234-powergate.h>
122 
123     usb@3610000 {
124         compatible = "nvidia,tegra234-xusb";
125         reg = <0x03610000 0x40000>,
126               <0x03600000 0x10000>,
127               <0x03650000 0x10000>;
128         reg-names = "hcd", "fpci", "bar2";
129 
130         interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
131                      <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
132 
133         clocks = <&bpmp TEGRA234_CLK_XUSB_CORE_HOST>,
134                  <&bpmp TEGRA234_CLK_XUSB_FALCON>,
135                  <&bpmp TEGRA234_CLK_XUSB_CORE_SS>,
136                  <&bpmp TEGRA234_CLK_XUSB_SS>,
137                  <&bpmp TEGRA234_CLK_CLK_M>,
138                  <&bpmp TEGRA234_CLK_XUSB_FS>,
139                  <&bpmp TEGRA234_CLK_UTMIP_PLL>,
140                  <&bpmp TEGRA234_CLK_CLK_M>,
141                  <&bpmp TEGRA234_CLK_PLLE>;
142         clock-names = "xusb_host", "xusb_falcon_src",
143                       "xusb_ss", "xusb_ss_src", "xusb_hs_src",
144                       "xusb_fs_src", "pll_u_480m", "clk_m",
145                       "pll_e";
146         interconnects = <&mc TEGRA234_MEMORY_CLIENT_XUSB_HOSTR &emc>,
147                         <&mc TEGRA234_MEMORY_CLIENT_XUSB_HOSTW &emc>;
148         interconnect-names = "dma-mem", "write";
149         iommus = <&smmu_niso1 TEGRA234_SID_XUSB_HOST>;
150 
151         power-domains = <&bpmp TEGRA234_POWER_DOMAIN_XUSBC>,
152                         <&bpmp TEGRA234_POWER_DOMAIN_XUSBA>;
153         power-domain-names = "xusb_host", "xusb_ss";
154 
155         nvidia,xusb-padctl = <&xusb_padctl>;
156 
157         phys = <&pad_lanes_usb2_0>;
158         phy-names = "usb2-0";
159     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php