0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/clock/allwinner,sun9i-a80-usb-mod-clk.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Allwinner A80 USB Module Clock Device Tree Bindings
0008
0009 maintainers:
0010 - Chen-Yu Tsai <wens@csie.org>
0011 - Maxime Ripard <mripard@kernel.org>
0012
0013 deprecated: true
0014
0015 properties:
0016 "#clock-cells":
0017 const: 1
0018 description: >
0019 The additional ID argument passed to the clock shall refer to
0020 the index of the output.
0021
0022 "#reset-cells":
0023 const: 1
0024
0025 compatible:
0026 const: allwinner,sun9i-a80-usb-mod-clk
0027
0028 reg:
0029 maxItems: 1
0030
0031 clocks:
0032 maxItems: 1
0033
0034 clock-output-names:
0035 maxItems: 6
0036
0037 required:
0038 - "#clock-cells"
0039 - "#reset-cells"
0040 - compatible
0041 - reg
0042 - clocks
0043 - clock-output-names
0044
0045 additionalProperties: false
0046
0047 examples:
0048 - |
0049 clk@a08000 {
0050 #clock-cells = <1>;
0051 #reset-cells = <1>;
0052 compatible = "allwinner,sun9i-a80-usb-mod-clk";
0053 reg = <0x00a08000 0x4>;
0054 clocks = <&ahb1_gates 1>;
0055 clock-output-names = "usb0_ahb", "usb_ohci0",
0056 "usb1_ahb", "usb_ohci1",
0057 "usb2_ahb", "usb_ohci2";
0058 };
0059
0060 ...