0001 # SPDX-License-Identifier: GPL-2.0+
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/clock/allwinner,sun9i-a80-usb-clks.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Allwinner A80 USB Clock Controller Device Tree Bindings
0008
0009 maintainers:
0010 - Chen-Yu Tsai <wens@csie.org>
0011 - Maxime Ripard <mripard@kernel.org>
0012
0013 properties:
0014 "#clock-cells":
0015 const: 1
0016
0017 "#reset-cells":
0018 const: 1
0019
0020 compatible:
0021 const: allwinner,sun9i-a80-usb-clks
0022
0023 reg:
0024 maxItems: 1
0025
0026 clocks:
0027 items:
0028 - description: Bus Clock
0029 - description: High Frequency Oscillator
0030
0031 clock-names:
0032 items:
0033 - const: bus
0034 - const: hosc
0035
0036 required:
0037 - "#clock-cells"
0038 - "#reset-cells"
0039 - compatible
0040 - reg
0041 - clocks
0042 - clock-names
0043
0044 additionalProperties: false
0045
0046 examples:
0047 - |
0048 #include <dt-bindings/clock/sun9i-a80-ccu.h>
0049
0050 usb_clocks: clock@a08000 {
0051 compatible = "allwinner,sun9i-a80-usb-clks";
0052 reg = <0x00a08000 0x8>;
0053 clocks = <&ccu CLK_BUS_USB>, <&osc24M>;
0054 clock-names = "bus", "hosc";
0055 #clock-cells = <1>;
0056 #reset-cells = <1>;
0057 };
0058
0059 ...