xref: /freebsd/sys/contrib/device-tree/Bindings/clock/allwinner,sun9i-a80-usb-mod-clk.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/allwinner,sun9i-a80-usb-mod-clk.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Allwinner A80 USB Module 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: 1
18    description: >
19      The additional ID argument passed to the clock shall refer to
20      the index of the output.
21
22  "#reset-cells":
23    const: 1
24
25  compatible:
26    const: allwinner,sun9i-a80-usb-mod-clk
27
28  reg:
29    maxItems: 1
30
31  clocks:
32    maxItems: 1
33
34  clock-output-names:
35    maxItems: 6
36
37required:
38  - "#clock-cells"
39  - "#reset-cells"
40  - compatible
41  - reg
42  - clocks
43  - clock-output-names
44
45additionalProperties: false
46
47examples:
48  - |
49    clk@a08000 {
50        #clock-cells = <1>;
51        #reset-cells = <1>;
52        compatible = "allwinner,sun9i-a80-usb-mod-clk";
53        reg = <0x00a08000 0x4>;
54        clocks = <&ahb1_gates 1>;
55        clock-output-names = "usb0_ahb", "usb_ohci0",
56                             "usb1_ahb", "usb_ohci1",
57                             "usb2_ahb", "usb_ohci2";
58    };
59
60...
61