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