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>
24 description: clock-specifier to represent input to the WIZ
50 assigned-clock-parents:
56 GPIO to signal Type-C cable orientation for lane swap.
57 If GPIO is active, lane 0 and lane 1 of SERDES will be swapped to
58 achieve the funtionality of an external type-C plug flip mux.
60 typec-dir-debounce-ms:
65 Number of milliseconds to wait before sampling typec-dir-gpio.
66 If not specified, the default debounce of 100ms will be used.
67 Type-C spec states minimum CC pin debounce of 100 ms and maximum
68 of 200 ms. However, some solutions might need more than 200 ms.
74 WIZ node should have subnodes for each of the PLLs present in
79 description: Phandle to clock nodes representing the two inputs to PLL.
87 assigned-clock-parents:
94 - assigned-clock-parents
96 "^cmn-refclk1?-dig-div$":
99 WIZ node should have subnodes for each of the PMA common refclock
100 provided by the SERDES.
104 description: Phandle to the clock node representing the input to the
117 WIZ node should have subnode for refclk_dig to select the reference
118 clock source for the reference clock used in the PHY and PMA digital
123 description: Phandle to four clock nodes representing the inputs to
132 assigned-clock-parents:
139 - assigned-clock-parents
141 "^serdes@[0-9a-f]+$":
144 WIZ node should have '1' subnode for the SERDES. It could be either
145 Sierra SERDES or Torrent SERDES. Sierra SERDES should follow the
146 bindings specified in
147 Documentation/devicetree/bindings/phy/phy-cadence-sierra.txt
148 Torrent SERDES should follow the bindings specified in
149 Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
162 additionalProperties: false
166 #include <dt-bindings/soc/ti,sci_pm_domain.h>
169 compatible = "ti,j721e-wiz-16g";
170 #address-cells = <1>;
172 power-domains = <&k3_pds 292 TI_SCI_PD_EXCLUSIVE>;
173 clocks = <&k3_clks 292 5>, <&k3_clks 292 11>, <&dummy_cmn_refclk>;
174 clock-names = "fck", "core_ref_clk", "ext_ref_clk";
175 assigned-clocks = <&k3_clks 292 11>, <&k3_clks 292 0>;
176 assigned-clock-parents = <&k3_clks 292 15>, <&k3_clks 292 4>;
179 ranges = <0x5000000 0x5000000 0x10000>;
182 clocks = <&k3_clks 293 13>, <&dummy_cmn_refclk>;
184 assigned-clocks = <&wiz1_pll0_refclk>;
185 assigned-clock-parents = <&k3_clks 293 13>;
189 clocks = <&k3_clks 293 0>, <&dummy_cmn_refclk1>;
191 assigned-clocks = <&wiz1_pll1_refclk>;
192 assigned-clock-parents = <&k3_clks 293 0>;
196 clocks = <&wiz1_refclk_dig>;
200 cmn-refclk1-dig-div {
201 clocks = <&wiz1_pll1_refclk>;
206 clocks = <&k3_clks 292 11>, <&k3_clks 292 0>, <&dummy_cmn_refclk>, <&dummy_cmn_refclk1>;
208 assigned-clocks = <&wiz0_refclk_dig>;
209 assigned-clock-parents = <&k3_clks 292 11>;
213 compatible = "cdns,ti,sierra-phy-t0";
214 reg-names = "serdes";
215 reg = <0x5000000 0x10000>;
216 #address-cells = <1>;
218 resets = <&serdes_wiz0 0>;
219 reset-names = "sierra_reset";
220 clocks = <&wiz0_cmn_refclk_dig_div>, <&wiz0_cmn_refclk1_dig_div>;
221 clock-names = "cmn_refclk_dig_div", "cmn_refclk1_dig_div";