xref: /freebsd/sys/contrib/device-tree/Bindings/clock/allwinner,sun9i-a80-usb-phy-clk.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/allwinner,sun9i-a80-usb-phy-clk.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7*7ef62cebSEmmanuel Vadottitle: Allwinner A80 USB PHY Clock
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Chen-Yu Tsai <wens@csie.org>
11c66ec88fSEmmanuel Vadot  - Maxime Ripard <mripard@kernel.org>
12c66ec88fSEmmanuel Vadot
13c66ec88fSEmmanuel Vadotdeprecated: true
14c66ec88fSEmmanuel Vadot
15c66ec88fSEmmanuel Vadotproperties:
16c66ec88fSEmmanuel Vadot  "#clock-cells":
17c66ec88fSEmmanuel Vadot    const: 1
18c66ec88fSEmmanuel Vadot    description: >
19c66ec88fSEmmanuel Vadot      The additional ID argument passed to the clock shall refer to
20c66ec88fSEmmanuel Vadot      the index of the output.
21c66ec88fSEmmanuel Vadot
22c66ec88fSEmmanuel Vadot  "#reset-cells":
23c66ec88fSEmmanuel Vadot    const: 1
24c66ec88fSEmmanuel Vadot
25c66ec88fSEmmanuel Vadot  compatible:
26c66ec88fSEmmanuel Vadot    const: allwinner,sun9i-a80-usb-phy-clk
27c66ec88fSEmmanuel Vadot
28c66ec88fSEmmanuel Vadot  reg:
29c66ec88fSEmmanuel Vadot    maxItems: 1
30c66ec88fSEmmanuel Vadot
31c66ec88fSEmmanuel Vadot  clocks:
32c66ec88fSEmmanuel Vadot    maxItems: 1
33c66ec88fSEmmanuel Vadot
34c66ec88fSEmmanuel Vadot  clock-output-names:
35c66ec88fSEmmanuel Vadot    maxItems: 6
36c66ec88fSEmmanuel Vadot
37c66ec88fSEmmanuel Vadotrequired:
38c66ec88fSEmmanuel Vadot  - "#clock-cells"
39c66ec88fSEmmanuel Vadot  - "#reset-cells"
40c66ec88fSEmmanuel Vadot  - compatible
41c66ec88fSEmmanuel Vadot  - reg
42c66ec88fSEmmanuel Vadot  - clocks
43c66ec88fSEmmanuel Vadot  - clock-output-names
44c66ec88fSEmmanuel Vadot
45c66ec88fSEmmanuel VadotadditionalProperties: false
46c66ec88fSEmmanuel Vadot
47c66ec88fSEmmanuel Vadotexamples:
48c66ec88fSEmmanuel Vadot  - |
49c66ec88fSEmmanuel Vadot    clk@a08004 {
50c66ec88fSEmmanuel Vadot        #clock-cells = <1>;
51c66ec88fSEmmanuel Vadot        #reset-cells = <1>;
52c66ec88fSEmmanuel Vadot        compatible = "allwinner,sun9i-a80-usb-phy-clk";
53c66ec88fSEmmanuel Vadot        reg = <0x00a08004 0x4>;
54c66ec88fSEmmanuel Vadot        clocks = <&ahb1_gates 1>;
55c66ec88fSEmmanuel Vadot        clock-output-names = "usb_phy0", "usb_hsic1_480M",
56c66ec88fSEmmanuel Vadot                             "usb_phy1", "usb_hsic2_480M",
57c66ec88fSEmmanuel Vadot                             "usb_phy2", "usb_hsic_12M";
58c66ec88fSEmmanuel Vadot    };
59c66ec88fSEmmanuel Vadot
60c66ec88fSEmmanuel Vadot...
61