1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/phy/allwinner,sun6i-a31-mipi-dphy.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Allwinner A31 MIPI D-PHY Controller Device Tree Bindings
8
9maintainers:
10  - Chen-Yu Tsai <wens@csie.org>
11  - Maxime Ripard <mripard@kernel.org>
12
13properties:
14  "#phy-cells":
15    const: 0
16
17  compatible:
18    const: allwinner,sun6i-a31-mipi-dphy
19
20  reg:
21    maxItems: 1
22
23  clocks:
24    items:
25      - description: Bus Clock
26      - description: Module Clock
27
28  clock-names:
29    items:
30      - const: bus
31      - const: mod
32
33  resets:
34    maxItems: 1
35
36required:
37  - "#phy-cells"
38  - compatible
39  - reg
40  - clocks
41  - clock-names
42  - resets
43
44additionalProperties: false
45
46examples:
47  - |
48    dphy0: d-phy@1ca1000 {
49        compatible = "allwinner,sun6i-a31-mipi-dphy";
50        reg = <0x01ca1000 0x1000>;
51        clocks = <&ccu 23>, <&ccu 97>;
52        clock-names = "bus", "mod";
53        resets = <&ccu 4>;
54        #phy-cells = <0>;
55    };
56
57...
58