xref: /freebsd/sys/contrib/device-tree/Bindings/clock/allwinner,sun4i-a10-mbus-clk.yaml (revision d485c77f203fb0f4cdc08dea5ff81631b51d8809)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-mbus-clk.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Allwinner A10 MBUS Clock Device Tree Bindings
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,sun5i-a13-mbus-clk
22      - allwinner,sun8i-a23-mbus-clk
23
24  reg:
25    maxItems: 1
26
27  clocks:
28    maxItems: 3
29    description: >
30      The parent order must match the hardware programming order.
31
32  clock-output-names:
33    maxItems: 1
34
35required:
36  - "#clock-cells"
37  - compatible
38  - reg
39  - clocks
40  - clock-output-names
41
42additionalProperties: false
43
44examples:
45  - |
46    clk@1c2015c {
47        #clock-cells = <0>;
48        compatible = "allwinner,sun5i-a13-mbus-clk";
49        reg = <0x01c2015c 0x4>;
50        clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
51        clock-output-names = "mbus";
52    };
53
54  - |
55    clk@1c2015c {
56        #clock-cells = <0>;
57        compatible = "allwinner,sun8i-a23-mbus-clk";
58        reg = <0x01c2015c 0x4>;
59        clocks = <&osc24M>, <&pll6 1>, <&pll5>;
60        clock-output-names = "mbus";
61    };
62
63...
64