xref: /linux/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-apb1-clk.yaml (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
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-apb1-clk.yaml#
5f95cad74SMaxime Ripard$schema: http://devicetree.org/meta-schemas/core.yaml#
6f95cad74SMaxime Ripard
7*dd3cb467SAndrew Lunntitle: Allwinner A10 APB1 Bus Clock
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    const: allwinner,sun4i-a10-apb1-clk
21f95cad74SMaxime Ripard
22f95cad74SMaxime Ripard  reg:
23f95cad74SMaxime Ripard    maxItems: 1
24f95cad74SMaxime Ripard
25f95cad74SMaxime Ripard  clocks:
26f95cad74SMaxime Ripard    maxItems: 3
27f95cad74SMaxime Ripard    description: >
28f95cad74SMaxime Ripard      The parent order must match the hardware programming order.
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    clk@1c20058 {
45f95cad74SMaxime Ripard        #clock-cells = <0>;
46f95cad74SMaxime Ripard        compatible = "allwinner,sun4i-a10-apb1-clk";
47f95cad74SMaxime Ripard        reg = <0x01c20058 0x4>;
48f95cad74SMaxime Ripard        clocks = <&osc24M>, <&pll6 1>, <&osc32k>;
49f95cad74SMaxime Ripard        clock-output-names = "apb1";
50f95cad74SMaxime Ripard    };
51f95cad74SMaxime Ripard
52f95cad74SMaxime Ripard...
53