1*e1404d20SNeil Armstrong# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*e1404d20SNeil Armstrong# Copyright 2020 BayLibre, SAS
3*e1404d20SNeil Armstrong%YAML 1.2
4*e1404d20SNeil Armstrong---
5*e1404d20SNeil Armstrong$id: "http://devicetree.org/schemas/phy/amlogic,axg-mipi-dphy.yaml#"
6*e1404d20SNeil Armstrong$schema: "http://devicetree.org/meta-schemas/core.yaml#"
7*e1404d20SNeil Armstrong
8*e1404d20SNeil Armstrongtitle: Amlogic AXG MIPI D-PHY
9*e1404d20SNeil Armstrong
10*e1404d20SNeil Armstrongmaintainers:
11*e1404d20SNeil Armstrong  - Neil Armstrong <narmstrong@baylibre.com>
12*e1404d20SNeil Armstrong
13*e1404d20SNeil Armstrongproperties:
14*e1404d20SNeil Armstrong  compatible:
15*e1404d20SNeil Armstrong    enum:
16*e1404d20SNeil Armstrong      - amlogic,axg-mipi-dphy
17*e1404d20SNeil Armstrong
18*e1404d20SNeil Armstrong  reg:
19*e1404d20SNeil Armstrong    maxItems: 1
20*e1404d20SNeil Armstrong
21*e1404d20SNeil Armstrong  clocks:
22*e1404d20SNeil Armstrong    maxItems: 1
23*e1404d20SNeil Armstrong
24*e1404d20SNeil Armstrong  clock-names:
25*e1404d20SNeil Armstrong    items:
26*e1404d20SNeil Armstrong      - const: pclk
27*e1404d20SNeil Armstrong
28*e1404d20SNeil Armstrong  resets:
29*e1404d20SNeil Armstrong    maxItems: 1
30*e1404d20SNeil Armstrong
31*e1404d20SNeil Armstrong  reset-names:
32*e1404d20SNeil Armstrong    items:
33*e1404d20SNeil Armstrong      - const: phy
34*e1404d20SNeil Armstrong
35*e1404d20SNeil Armstrong  "#phy-cells":
36*e1404d20SNeil Armstrong    const: 0
37*e1404d20SNeil Armstrong
38*e1404d20SNeil Armstrong  phys:
39*e1404d20SNeil Armstrong    maxItems: 1
40*e1404d20SNeil Armstrong
41*e1404d20SNeil Armstrong  phy-names:
42*e1404d20SNeil Armstrong    items:
43*e1404d20SNeil Armstrong      - const: analog
44*e1404d20SNeil Armstrong
45*e1404d20SNeil Armstrongrequired:
46*e1404d20SNeil Armstrong  - compatible
47*e1404d20SNeil Armstrong  - reg
48*e1404d20SNeil Armstrong  - clocks
49*e1404d20SNeil Armstrong  - clock-names
50*e1404d20SNeil Armstrong  - resets
51*e1404d20SNeil Armstrong  - reset-names
52*e1404d20SNeil Armstrong  - phys
53*e1404d20SNeil Armstrong  - phy-names
54*e1404d20SNeil Armstrong  - "#phy-cells"
55*e1404d20SNeil Armstrong
56*e1404d20SNeil ArmstrongadditionalProperties: false
57*e1404d20SNeil Armstrong
58*e1404d20SNeil Armstrongexamples:
59*e1404d20SNeil Armstrong  - |
60*e1404d20SNeil Armstrong    phy@ff640000 {
61*e1404d20SNeil Armstrong            compatible = "amlogic,axg-mipi-dphy";
62*e1404d20SNeil Armstrong            reg = <0xff640000 0x100>;
63*e1404d20SNeil Armstrong            clocks = <&clk_mipi_dsi_phy>;
64*e1404d20SNeil Armstrong            clock-names = "pclk";
65*e1404d20SNeil Armstrong            resets = <&reset_phy>;
66*e1404d20SNeil Armstrong            reset-names = "phy";
67*e1404d20SNeil Armstrong            phys = <&mipi_pcie_analog_dphy>;
68*e1404d20SNeil Armstrong            phy-names = "analog";
69*e1404d20SNeil Armstrong            #phy-cells = <0>;
70*e1404d20SNeil Armstrong    };
71