xref: /freebsd/sys/contrib/device-tree/Bindings/phy/cdns,dphy.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1c9ccf3a3SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2c9ccf3a3SEmmanuel Vadot%YAML 1.2
3c9ccf3a3SEmmanuel Vadot---
4c9ccf3a3SEmmanuel Vadot$id: http://devicetree.org/schemas/phy/cdns,dphy.yaml#
5c9ccf3a3SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c9ccf3a3SEmmanuel Vadot
7*7ef62cebSEmmanuel Vadottitle: Cadence DPHY
8c9ccf3a3SEmmanuel Vadot
9c9ccf3a3SEmmanuel Vadotmaintainers:
10*7ef62cebSEmmanuel Vadot  - Pratyush Yadav <pratyush@kernel.org>
11c9ccf3a3SEmmanuel Vadot
12c9ccf3a3SEmmanuel Vadotproperties:
13c9ccf3a3SEmmanuel Vadot  compatible:
14b97ee269SEmmanuel Vadot    enum:
15b97ee269SEmmanuel Vadot      - cdns,dphy
16b97ee269SEmmanuel Vadot      - ti,j721e-dphy
17c9ccf3a3SEmmanuel Vadot
18c9ccf3a3SEmmanuel Vadot  reg:
19c9ccf3a3SEmmanuel Vadot    maxItems: 1
20c9ccf3a3SEmmanuel Vadot
21c9ccf3a3SEmmanuel Vadot  clocks:
22c9ccf3a3SEmmanuel Vadot    items:
23c9ccf3a3SEmmanuel Vadot      - description: PMA state machine clock
24c9ccf3a3SEmmanuel Vadot      - description: PLL reference clock
25c9ccf3a3SEmmanuel Vadot
26c9ccf3a3SEmmanuel Vadot  clock-names:
27c9ccf3a3SEmmanuel Vadot    items:
28c9ccf3a3SEmmanuel Vadot      - const: psm
29c9ccf3a3SEmmanuel Vadot      - const: pll_ref
30c9ccf3a3SEmmanuel Vadot
31c9ccf3a3SEmmanuel Vadot  "#phy-cells":
32c9ccf3a3SEmmanuel Vadot    const: 0
33c9ccf3a3SEmmanuel Vadot
34c9ccf3a3SEmmanuel Vadot  power-domains:
35c9ccf3a3SEmmanuel Vadot    maxItems: 1
36c9ccf3a3SEmmanuel Vadot
37c9ccf3a3SEmmanuel Vadotrequired:
38c9ccf3a3SEmmanuel Vadot  - compatible
39c9ccf3a3SEmmanuel Vadot  - reg
40c9ccf3a3SEmmanuel Vadot  - clocks
41c9ccf3a3SEmmanuel Vadot  - clock-names
42c9ccf3a3SEmmanuel Vadot  - "#phy-cells"
43c9ccf3a3SEmmanuel Vadot
44c9ccf3a3SEmmanuel VadotadditionalProperties: false
45c9ccf3a3SEmmanuel Vadot
46c9ccf3a3SEmmanuel Vadotexamples:
47c9ccf3a3SEmmanuel Vadot  - |
48c9ccf3a3SEmmanuel Vadot    #include <dt-bindings/soc/ti,sci_pm_domain.h>
49c9ccf3a3SEmmanuel Vadot
50c9ccf3a3SEmmanuel Vadot    dphy0: phy@fd0e0000{
51c9ccf3a3SEmmanuel Vadot        compatible = "cdns,dphy";
52c9ccf3a3SEmmanuel Vadot        reg = <0xfd0e0000 0x1000>;
53c9ccf3a3SEmmanuel Vadot        clocks = <&psm_clk>, <&pll_ref_clk>;
54c9ccf3a3SEmmanuel Vadot        clock-names = "psm", "pll_ref";
55c9ccf3a3SEmmanuel Vadot        power-domains = <&k3_pds 147 TI_SCI_PD_EXCLUSIVE>;
56c9ccf3a3SEmmanuel Vadot        #phy-cells = <0>;
57c9ccf3a3SEmmanuel Vadot    };
58