xref: /freebsd/sys/contrib/device-tree/Bindings/phy/starfive,jh7110-dphy-rx.yaml (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1*aa1a8ff2SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*aa1a8ff2SEmmanuel Vadot%YAML 1.2
3*aa1a8ff2SEmmanuel Vadot---
4*aa1a8ff2SEmmanuel Vadot$id: http://devicetree.org/schemas/phy/starfive,jh7110-dphy-rx.yaml#
5*aa1a8ff2SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*aa1a8ff2SEmmanuel Vadot
7*aa1a8ff2SEmmanuel Vadottitle: StarFive SoC JH7110 MIPI D-PHY Rx Controller
8*aa1a8ff2SEmmanuel Vadot
9*aa1a8ff2SEmmanuel Vadotmaintainers:
10*aa1a8ff2SEmmanuel Vadot  - Jack Zhu <jack.zhu@starfivetech.com>
11*aa1a8ff2SEmmanuel Vadot  - Changhuang Liang <changhuang.liang@starfivetech.com>
12*aa1a8ff2SEmmanuel Vadot
13*aa1a8ff2SEmmanuel Vadotdescription:
14*aa1a8ff2SEmmanuel Vadot  StarFive SoCs contain a MIPI CSI D-PHY based on M31 IP, used to
15*aa1a8ff2SEmmanuel Vadot  transfer CSI camera data.
16*aa1a8ff2SEmmanuel Vadot
17*aa1a8ff2SEmmanuel Vadotproperties:
18*aa1a8ff2SEmmanuel Vadot  compatible:
19*aa1a8ff2SEmmanuel Vadot    const: starfive,jh7110-dphy-rx
20*aa1a8ff2SEmmanuel Vadot
21*aa1a8ff2SEmmanuel Vadot  reg:
22*aa1a8ff2SEmmanuel Vadot    maxItems: 1
23*aa1a8ff2SEmmanuel Vadot
24*aa1a8ff2SEmmanuel Vadot  clocks:
25*aa1a8ff2SEmmanuel Vadot    items:
26*aa1a8ff2SEmmanuel Vadot      - description: config clock
27*aa1a8ff2SEmmanuel Vadot      - description: reference clock
28*aa1a8ff2SEmmanuel Vadot      - description: escape mode transmit clock
29*aa1a8ff2SEmmanuel Vadot
30*aa1a8ff2SEmmanuel Vadot  clock-names:
31*aa1a8ff2SEmmanuel Vadot    items:
32*aa1a8ff2SEmmanuel Vadot      - const: cfg
33*aa1a8ff2SEmmanuel Vadot      - const: ref
34*aa1a8ff2SEmmanuel Vadot      - const: tx
35*aa1a8ff2SEmmanuel Vadot
36*aa1a8ff2SEmmanuel Vadot  resets:
37*aa1a8ff2SEmmanuel Vadot    items:
38*aa1a8ff2SEmmanuel Vadot      - description: DPHY_HW reset
39*aa1a8ff2SEmmanuel Vadot      - description: DPHY_B09_ALWAYS_ON reset
40*aa1a8ff2SEmmanuel Vadot
41*aa1a8ff2SEmmanuel Vadot  power-domains:
42*aa1a8ff2SEmmanuel Vadot    maxItems: 1
43*aa1a8ff2SEmmanuel Vadot
44*aa1a8ff2SEmmanuel Vadot  "#phy-cells":
45*aa1a8ff2SEmmanuel Vadot    const: 0
46*aa1a8ff2SEmmanuel Vadot
47*aa1a8ff2SEmmanuel Vadotrequired:
48*aa1a8ff2SEmmanuel Vadot  - compatible
49*aa1a8ff2SEmmanuel Vadot  - reg
50*aa1a8ff2SEmmanuel Vadot  - clocks
51*aa1a8ff2SEmmanuel Vadot  - clock-names
52*aa1a8ff2SEmmanuel Vadot  - resets
53*aa1a8ff2SEmmanuel Vadot  - power-domains
54*aa1a8ff2SEmmanuel Vadot  - "#phy-cells"
55*aa1a8ff2SEmmanuel Vadot
56*aa1a8ff2SEmmanuel VadotadditionalProperties: false
57*aa1a8ff2SEmmanuel Vadot
58*aa1a8ff2SEmmanuel Vadotexamples:
59*aa1a8ff2SEmmanuel Vadot  - |
60*aa1a8ff2SEmmanuel Vadot    phy@19820000 {
61*aa1a8ff2SEmmanuel Vadot      compatible = "starfive,jh7110-dphy-rx";
62*aa1a8ff2SEmmanuel Vadot      reg = <0x19820000 0x10000>;
63*aa1a8ff2SEmmanuel Vadot      clocks = <&ispcrg 3>,
64*aa1a8ff2SEmmanuel Vadot               <&ispcrg 4>,
65*aa1a8ff2SEmmanuel Vadot               <&ispcrg 5>;
66*aa1a8ff2SEmmanuel Vadot      clock-names = "cfg", "ref", "tx";
67*aa1a8ff2SEmmanuel Vadot      resets = <&ispcrg 2>,
68*aa1a8ff2SEmmanuel Vadot               <&ispcrg 3>;
69*aa1a8ff2SEmmanuel Vadot      power-domains = <&aon_syscon 1>;
70*aa1a8ff2SEmmanuel Vadot      #phy-cells = <0>;
71*aa1a8ff2SEmmanuel Vadot    };
72