1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/
5 $id: http://devicetree.org/schemas/phy/ti,phy-j721e-wiz.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: TI J721E WIZ (SERDES Wrapper)
11 - Kishon Vijay Abraham I <kishon@ti.com>
29 description: clock-specifier to represent input to the WIZ
37 - const: core_ref1_clk
60 GPIO to signal Type-C cable orientation for lane swap.
61 If GPIO is active, lane 0 and lane 1 of SERDES will be swapped to
62 achieve the functionality of an external type-C plug flip mux.
64 typec-dir-debounce-ms:
69 Number of milliseconds to wait before sampling typec-dir-gpio.
70 If not specified, the default debounce of 100ms will be used.
71 Type-C spec states minimum CC pin debounce of 100 ms and maximum
72 of 200 ms. However, some solutions might need more than 200 ms.
76 additionalProperties: false
78 WIZ node should have subnode for refclk_dig to select the reference
79 clock source for the reference clock used in the PHY and PMA digital
86 description: Phandle to two (Torrent) or four (Sierra) clock nodes representing
87 the inputs to refclk_dig
98 assigned-clock-parents:
105 - assigned-clock-parents
108 $ref: /schemas/types.yaml#/definitions/phandle
110 phandle to System Control Module for syscon regmap access.
115 additionalProperties: false
117 WIZ node should have subnodes for each of the PLLs present in
123 description: Phandle to clock nodes representing the two inputs to PLL.
134 assigned-clock-parents:
141 - assigned-clock-parents
143 "^cmn-refclk1?-dig-div$":
145 additionalProperties: false
147 WIZ node should have subnodes for each of the PMA common refclock
148 provided by the SERDES.
153 description: Phandle to the clock node representing the input to the
166 "^serdes@[0-9a-f]+$":
169 WIZ node should have '1' subnode for the SERDES. It could be either
170 Sierra SERDES or Torrent SERDES. Sierra SERDES should follow the
171 bindings specified in
172 Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml
173 Torrent SERDES should follow the bindings specified in
174 Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
192 const: ti,j7200-wiz-10g
197 additionalProperties: false
201 #include <dt-bindings/soc/ti,sci_pm_domain.h>
204 compatible = "ti,j721e-wiz-16g";
205 #address-cells = <1>;
207 power-domains = <&k3_pds 292 TI_SCI_PD_EXCLUSIVE>;
208 clocks = <&k3_clks 292 5>, <&k3_clks 292 11>, <&dummy_cmn_refclk>;
209 clock-names = "fck", "core_ref_clk", "ext_ref_clk";
210 assigned-clocks = <&k3_clks 292 11>, <&k3_clks 292 0>;
211 assigned-clock-parents = <&k3_clks 292 15>, <&k3_clks 292 4>;
214 ranges = <0x5000000 0x5000000 0x10000>;
217 clocks = <&k3_clks 293 13>, <&dummy_cmn_refclk>;
219 assigned-clocks = <&wiz1_pll0_refclk>;
220 assigned-clock-parents = <&k3_clks 293 13>;
224 clocks = <&k3_clks 293 0>, <&dummy_cmn_refclk1>;
226 assigned-clocks = <&wiz1_pll1_refclk>;
227 assigned-clock-parents = <&k3_clks 293 0>;
231 clocks = <&wiz1_refclk_dig>;
235 cmn-refclk1-dig-div {
236 clocks = <&wiz1_pll1_refclk>;
241 clocks = <&k3_clks 292 11>, <&k3_clks 292 0>,
242 <&dummy_cmn_refclk>, <&dummy_cmn_refclk1>;
244 assigned-clocks = <&wiz0_refclk_dig>;
245 assigned-clock-parents = <&k3_clks 292 11>;
249 compatible = "ti,sierra-phy-t0";
250 reg-names = "serdes";
251 reg = <0x5000000 0x10000>;
252 #address-cells = <1>;
254 resets = <&serdes_wiz0 0>;
255 reset-names = "sierra_reset";
256 clocks = <&wiz0_cmn_refclk_dig_div>, <&wiz0_cmn_refclk1_dig_div>;
257 clock-names = "cmn_refclk_dig_div", "cmn_refclk1_dig_div";