xref: /freebsd/sys/contrib/device-tree/Bindings/clock/allwinner,sun4i-a10-axi-clk.yaml (revision 2ff63af9b88c7413b7d71715b5532625752a248e)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-axi-clk.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Allwinner A10 AXI Clock
8
9maintainers:
10  - Chen-Yu Tsai <wens@csie.org>
11  - Maxime Ripard <mripard@kernel.org>
12
13deprecated: true
14
15properties:
16  "#clock-cells":
17    const: 0
18
19  compatible:
20    enum:
21      - allwinner,sun4i-a10-axi-clk
22      - allwinner,sun8i-a23-axi-clk
23
24  reg:
25    maxItems: 1
26
27  clocks:
28    maxItems: 1
29
30  clock-output-names:
31    maxItems: 1
32
33required:
34  - "#clock-cells"
35  - compatible
36  - reg
37  - clocks
38  - clock-output-names
39
40additionalProperties: false
41
42examples:
43  - |
44    axi@1c20054 {
45        #clock-cells = <0>;
46        compatible = "allwinner,sun4i-a10-axi-clk";
47        reg = <0x01c20054 0x4>;
48        clocks = <&cpu>;
49        clock-output-names = "axi";
50    };
51
52  - |
53    axi_clk@1c20050 {
54        #clock-cells = <0>;
55        compatible = "allwinner,sun8i-a23-axi-clk";
56        reg = <0x01c20050 0x4>;
57        clocks = <&cpu>;
58        clock-output-names = "axi";
59    };
60
61...
62