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