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>
27 description: clock-specifier to represent input to the WIZ
35 - const: core_ref1_clk
59 assigned-clock-parents:
70 GPIO to signal Type-C cable orientation for lane swap.
71 If GPIO is active, lane 0 and lane 1 of SERDES will be swapped to
72 achieve the funtionality of an external type-C plug flip mux.
74 typec-dir-debounce-ms:
79 Number of milliseconds to wait before sampling typec-dir-gpio.
80 If not specified, the default debounce of 100ms will be used.
81 Type-C spec states minimum CC pin debounce of 100 ms and maximum
82 of 200 ms. However, some solutions might need more than 200 ms.
86 additionalProperties: false
88 WIZ node should have subnode for refclk_dig to select the reference
89 clock source for the reference clock used in the PHY and PMA digital
96 description: Phandle to two (Torrent) or four (Sierra) clock nodes representing
97 the inputs to refclk_dig
105 assigned-clock-parents:
112 - assigned-clock-parents
115 $ref: /schemas/types.yaml#/definitions/phandle
117 phandle to System Control Module for syscon regmap access.
122 additionalProperties: false
124 WIZ node should have subnodes for each of the PLLs present in
130 description: Phandle to clock nodes representing the two inputs to PLL.
138 assigned-clock-parents:
145 - assigned-clock-parents
147 "^cmn-refclk1?-dig-div$":
149 additionalProperties: false
151 WIZ node should have subnodes for each of the PMA common refclock
152 provided by the SERDES.
157 description: Phandle to the clock node representing the input to the
167 "^serdes@[0-9a-f]+$":
170 WIZ node should have '1' subnode for the SERDES. It could be either
171 Sierra SERDES or Torrent SERDES. Sierra SERDES should follow the
172 bindings specified in
173 Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml
174 Torrent SERDES should follow the bindings specified in
175 Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
193 const: ti,j7200-wiz-10g
198 additionalProperties: false
202 #include <dt-bindings/soc/ti,sci_pm_domain.h>
205 compatible = "ti,j721e-wiz-16g";
206 #address-cells = <1>;
208 power-domains = <&k3_pds 292 TI_SCI_PD_EXCLUSIVE>;
209 clocks = <&k3_clks 292 5>, <&k3_clks 292 11>, <&dummy_cmn_refclk>;
210 clock-names = "fck", "core_ref_clk", "ext_ref_clk";
211 assigned-clocks = <&k3_clks 292 11>, <&k3_clks 292 0>;
212 assigned-clock-parents = <&k3_clks 292 15>, <&k3_clks 292 4>;
215 ranges = <0x5000000 0x5000000 0x10000>;
218 clocks = <&k3_clks 293 13>, <&dummy_cmn_refclk>;
220 assigned-clocks = <&wiz1_pll0_refclk>;
221 assigned-clock-parents = <&k3_clks 293 13>;
225 clocks = <&k3_clks 293 0>, <&dummy_cmn_refclk1>;
227 assigned-clocks = <&wiz1_pll1_refclk>;
228 assigned-clock-parents = <&k3_clks 293 0>;
232 clocks = <&wiz1_refclk_dig>;
236 cmn-refclk1-dig-div {
237 clocks = <&wiz1_pll1_refclk>;
242 clocks = <&k3_clks 292 11>, <&k3_clks 292 0>,
243 <&dummy_cmn_refclk>, <&dummy_cmn_refclk1>;
245 assigned-clocks = <&wiz0_refclk_dig>;
246 assigned-clock-parents = <&k3_clks 292 11>;
250 compatible = "ti,sierra-phy-t0";
251 reg-names = "serdes";
252 reg = <0x5000000 0x10000>;
253 #address-cells = <1>;
255 resets = <&serdes_wiz0 0>;
256 reset-names = "sierra_reset";
257 clocks = <&wiz0_cmn_refclk_dig_div>, <&wiz0_cmn_refclk1_dig_div>;
258 clock-names = "cmn_refclk_dig_div", "cmn_refclk1_dig_div";