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