xref: /freebsd/sys/contrib/device-tree/Bindings/clock/allwinner,sun4i-a10-tcon-ch0-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,sun4i-a10-tcon-ch0-clk.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7*7ef62cebSEmmanuel Vadottitle: Allwinner A10 TCON Channel 0 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: 0
18c66ec88fSEmmanuel Vadot
19c66ec88fSEmmanuel Vadot  "#reset-cells":
20c66ec88fSEmmanuel Vadot    const: 1
21c66ec88fSEmmanuel Vadot
22c66ec88fSEmmanuel Vadot  compatible:
23c66ec88fSEmmanuel Vadot    enum:
24c66ec88fSEmmanuel Vadot      - allwinner,sun4i-a10-tcon-ch0-clk
25c66ec88fSEmmanuel Vadot      - allwinner,sun4i-a10-tcon-ch1-clk
26c66ec88fSEmmanuel Vadot
27c66ec88fSEmmanuel Vadot  reg:
28c66ec88fSEmmanuel Vadot    maxItems: 1
29c66ec88fSEmmanuel Vadot
30c66ec88fSEmmanuel Vadot  clocks:
31c66ec88fSEmmanuel Vadot    maxItems: 4
32c66ec88fSEmmanuel Vadot    description: >
33c66ec88fSEmmanuel Vadot      The parent order must match the hardware programming order.
34c66ec88fSEmmanuel Vadot
35c66ec88fSEmmanuel Vadot  clock-output-names:
36c66ec88fSEmmanuel Vadot    maxItems: 1
37c66ec88fSEmmanuel Vadot
38c66ec88fSEmmanuel Vadotrequired:
39c66ec88fSEmmanuel Vadot  - "#clock-cells"
40c66ec88fSEmmanuel Vadot  - compatible
41c66ec88fSEmmanuel Vadot  - reg
42c66ec88fSEmmanuel Vadot  - clocks
43c66ec88fSEmmanuel Vadot  - clock-output-names
44c66ec88fSEmmanuel Vadot
45c66ec88fSEmmanuel Vadotif:
46c66ec88fSEmmanuel Vadot  properties:
47c66ec88fSEmmanuel Vadot    compatible:
48c66ec88fSEmmanuel Vadot      contains:
49c66ec88fSEmmanuel Vadot        const: allwinner,sun4i-a10-tcon-ch0-clk
50c66ec88fSEmmanuel Vadot
51c66ec88fSEmmanuel Vadotthen:
52c66ec88fSEmmanuel Vadot  required:
53c66ec88fSEmmanuel Vadot    - "#reset-cells"
54c66ec88fSEmmanuel Vadot
55c66ec88fSEmmanuel VadotadditionalProperties: false
56c66ec88fSEmmanuel Vadot
57c66ec88fSEmmanuel Vadotexamples:
58c66ec88fSEmmanuel Vadot  - |
59c66ec88fSEmmanuel Vadot    clk@1c20118 {
60c66ec88fSEmmanuel Vadot        #clock-cells = <0>;
61c66ec88fSEmmanuel Vadot        #reset-cells = <1>;
62c66ec88fSEmmanuel Vadot        compatible = "allwinner,sun4i-a10-tcon-ch0-clk";
63c66ec88fSEmmanuel Vadot        reg = <0x01c20118 0x4>;
64c66ec88fSEmmanuel Vadot        clocks = <&pll3>, <&pll7>, <&pll3x2>, <&pll7x2>;
65c66ec88fSEmmanuel Vadot        clock-output-names = "tcon-ch0-sclk";
66c66ec88fSEmmanuel Vadot    };
67c66ec88fSEmmanuel Vadot
68c66ec88fSEmmanuel Vadot  - |
69c66ec88fSEmmanuel Vadot    clk@1c2012c {
70c66ec88fSEmmanuel Vadot        #clock-cells = <0>;
71c66ec88fSEmmanuel Vadot        compatible = "allwinner,sun4i-a10-tcon-ch1-clk";
72c66ec88fSEmmanuel Vadot        reg = <0x01c2012c 0x4>;
73c66ec88fSEmmanuel Vadot        clocks = <&pll3>, <&pll7>, <&pll3x2>, <&pll7x2>;
74c66ec88fSEmmanuel Vadot        clock-output-names = "tcon-ch1-sclk";
75c66ec88fSEmmanuel Vadot    };
76c66ec88fSEmmanuel Vadot
77c66ec88fSEmmanuel Vadot...
78