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