xref: /freebsd/sys/contrib/device-tree/Bindings/phy/rockchip,px30-dsi-dphy.yaml (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/phy/rockchip,px30-dsi-dphy.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: Rockchip MIPI DPHY with additional LVDS/TTL modes
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Heiko Stuebner <heiko@sntech.de>
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel Vadotproperties:
13c66ec88fSEmmanuel Vadot  "#phy-cells":
14c66ec88fSEmmanuel Vadot    const: 0
15c66ec88fSEmmanuel Vadot
16c66ec88fSEmmanuel Vadot  compatible:
17c66ec88fSEmmanuel Vadot    enum:
18c66ec88fSEmmanuel Vadot      - rockchip,px30-dsi-dphy
19c66ec88fSEmmanuel Vadot      - rockchip,rk3128-dsi-dphy
20c66ec88fSEmmanuel Vadot      - rockchip,rk3368-dsi-dphy
217ef62cebSEmmanuel Vadot      - rockchip,rk3568-dsi-dphy
22*aa1a8ff2SEmmanuel Vadot      - rockchip,rv1126-dsi-dphy
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel Vadot  reg:
25c66ec88fSEmmanuel Vadot    maxItems: 1
26c66ec88fSEmmanuel Vadot
27c66ec88fSEmmanuel Vadot  clocks:
28c66ec88fSEmmanuel Vadot    items:
29c66ec88fSEmmanuel Vadot      - description: PLL reference clock
30c66ec88fSEmmanuel Vadot      - description: Module clock
31c66ec88fSEmmanuel Vadot
32c66ec88fSEmmanuel Vadot  clock-names:
33c66ec88fSEmmanuel Vadot    items:
34c66ec88fSEmmanuel Vadot      - const: ref
35c66ec88fSEmmanuel Vadot      - const: pclk
36c66ec88fSEmmanuel Vadot
37c66ec88fSEmmanuel Vadot  power-domains:
38c66ec88fSEmmanuel Vadot    maxItems: 1
39c66ec88fSEmmanuel Vadot    description: phandle to the associated power domain
40c66ec88fSEmmanuel Vadot
41c66ec88fSEmmanuel Vadot  resets:
42c66ec88fSEmmanuel Vadot    items:
43c66ec88fSEmmanuel Vadot      - description: exclusive PHY reset line
44c66ec88fSEmmanuel Vadot
45c66ec88fSEmmanuel Vadot  reset-names:
46c66ec88fSEmmanuel Vadot    items:
47c66ec88fSEmmanuel Vadot      - const: apb
48c66ec88fSEmmanuel Vadot
49c66ec88fSEmmanuel Vadotrequired:
50c66ec88fSEmmanuel Vadot  - "#phy-cells"
51c66ec88fSEmmanuel Vadot  - compatible
52c66ec88fSEmmanuel Vadot  - reg
53c66ec88fSEmmanuel Vadot  - clocks
54c66ec88fSEmmanuel Vadot  - clock-names
55c66ec88fSEmmanuel Vadot  - resets
56c66ec88fSEmmanuel Vadot  - reset-names
57c66ec88fSEmmanuel Vadot
58c66ec88fSEmmanuel VadotadditionalProperties: false
59c66ec88fSEmmanuel Vadot
60c66ec88fSEmmanuel Vadotexamples:
61c66ec88fSEmmanuel Vadot  - |
62c66ec88fSEmmanuel Vadot    dsi_dphy: phy@ff2e0000 {
63c66ec88fSEmmanuel Vadot        compatible = "rockchip,px30-dsi-dphy";
64c66ec88fSEmmanuel Vadot        reg = <0xff2e0000 0x10000>;
65c66ec88fSEmmanuel Vadot        clocks = <&pmucru 13>, <&cru 12>;
66c66ec88fSEmmanuel Vadot        clock-names = "ref", "pclk";
67c66ec88fSEmmanuel Vadot        resets = <&cru 12>;
68c66ec88fSEmmanuel Vadot        reset-names = "apb";
69c66ec88fSEmmanuel Vadot        #phy-cells = <0>;
70c66ec88fSEmmanuel Vadot    };
71c66ec88fSEmmanuel Vadot
72c66ec88fSEmmanuel Vadot...
73