xref: /freebsd/sys/contrib/device-tree/Bindings/clock/allwinner,sun9i-a80-usb-clocks.yaml (revision fe6060f10f634930ff71b7c50291ddc610da2475)
1# SPDX-License-Identifier: GPL-2.0+
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/allwinner,sun9i-a80-usb-clocks.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Allwinner A80 USB Clock Controller Device Tree Bindings
8
9maintainers:
10  - Chen-Yu Tsai <wens@csie.org>
11  - Maxime Ripard <mripard@kernel.org>
12
13properties:
14  "#clock-cells":
15    const: 1
16
17  "#reset-cells":
18    const: 1
19
20  compatible:
21    const: allwinner,sun9i-a80-usb-clocks
22
23  reg:
24    maxItems: 1
25
26  clocks:
27    items:
28      - description: Bus Clock
29      - description: High Frequency Oscillator
30
31  clock-names:
32    items:
33      - const: bus
34      - const: hosc
35
36required:
37  - "#clock-cells"
38  - "#reset-cells"
39  - compatible
40  - reg
41  - clocks
42  - clock-names
43
44additionalProperties: false
45
46examples:
47  - |
48    #include <dt-bindings/clock/sun9i-a80-ccu.h>
49
50    usb_clocks: clock@a08000 {
51        compatible = "allwinner,sun9i-a80-usb-clks";
52        reg = <0x00a08000 0x8>;
53        clocks = <&ccu CLK_BUS_USB>, <&osc24M>;
54        clock-names = "bus", "hosc";
55        #clock-cells = <1>;
56        #reset-cells = <1>;
57    };
58
59...
60