Merge tag 'block-5.14-2021-08-07' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / clock / allwinner,sun9i-a80-usb-mod-clk.yaml
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
7 title: Allwinner A80 USB Module Clock Device Tree Bindings
8
9 maintainers:
10   - Chen-Yu Tsai <wens@csie.org>
11   - Maxime Ripard <mripard@kernel.org>
12
13 deprecated: true
14
15 properties:
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
37 required:
38   - "#clock-cells"
39   - "#reset-cells"
40   - compatible
41   - reg
42   - clocks
43   - clock-output-names
44
45 additionalProperties: false
46
47 examples:
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 ...