1# SPDX-License-Identifier: GPL-2.0+
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/allwinner,sun9i-a80-de-clks.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Allwinner A80 Display Engine Clock Controller Device Tree Bindings
8
9maintainers:
10  - Chen-Yu Tsai <wens@csie.org>
11  - Maxime Ripard <mripard@kernel.org>
12
13properties:
14  "#clock-cells":
15    const: 1
16
17  "#reset-cells":
18    const: 1
19
20  compatible:
21    const: allwinner,sun9i-a80-de-clks
22
23  reg:
24    maxItems: 1
25
26  clocks:
27    items:
28      - description: Bus Clock
29      - description: RAM Bus Clock
30      - description: Module Clock
31
32  clock-names:
33    items:
34      - const: mod
35      - const: dram
36      - const: bus
37
38  resets:
39    maxItems: 1
40
41required:
42  - "#clock-cells"
43  - "#reset-cells"
44  - compatible
45  - reg
46  - clocks
47  - clock-names
48  - resets
49
50additionalProperties: false
51
52examples:
53  - |
54    #include <dt-bindings/clock/sun9i-a80-ccu.h>
55    #include <dt-bindings/reset/sun9i-a80-ccu.h>
56
57    de_clocks: clock@3000000 {
58        compatible = "allwinner,sun9i-a80-de-clks";
59        reg = <0x03000000 0x30>;
60        clocks = <&ccu CLK_DE>, <&ccu CLK_SDRAM>, <&ccu CLK_BUS_DE>;
61        clock-names = "mod", "dram", "bus";
62        resets = <&ccu RST_BUS_DE>;
63        #clock-cells = <1>;
64        #reset-cells = <1>;
65    };
66
67...
68