blob: 0129bd0ba4b3fe7d99fc838c021e1a041caee162 [file] [log] [blame]
Tom Rini6b642ac2024-10-01 12:20:28 -06001# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/thead,th1520-clk-ap.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: T-HEAD TH1520 AP sub-system clock controller
8
9description: |
10 The T-HEAD TH1520 AP sub-system clock controller configures the
11 CPU, DPU, GMAC and TEE PLLs.
12
13 SoC reference manual
14 https://openbeagle.org/beaglev-ahead/beaglev-ahead/-/blob/main/docs/TH1520%20System%20User%20Manual.pdf
15
16maintainers:
17 - Jisheng Zhang <jszhang@kernel.org>
18 - Wei Fu <wefu@redhat.com>
19 - Drew Fustini <dfustini@tenstorrent.com>
20
21properties:
22 compatible:
23 const: thead,th1520-clk-ap
24
25 reg:
26 maxItems: 1
27
28 clocks:
29 items:
30 - description: main oscillator (24MHz)
31
32 "#clock-cells":
33 const: 1
34 description:
35 See <dt-bindings/clock/thead,th1520-clk-ap.h> for valid indices.
36
37required:
38 - compatible
39 - reg
40 - clocks
41 - "#clock-cells"
42
43additionalProperties: false
44
45examples:
46 - |
47 #include <dt-bindings/clock/thead,th1520-clk-ap.h>
48 clock-controller@ef010000 {
49 compatible = "thead,th1520-clk-ap";
50 reg = <0xef010000 0x1000>;
51 clocks = <&osc>;
52 #clock-cells = <1>;
53 };