Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame] | 1 | # 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 | |
| 7 | title: T-HEAD TH1520 AP sub-system clock controller |
| 8 | |
| 9 | description: | |
| 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 | |
| 16 | maintainers: |
| 17 | - Jisheng Zhang <jszhang@kernel.org> |
| 18 | - Wei Fu <wefu@redhat.com> |
| 19 | - Drew Fustini <dfustini@tenstorrent.com> |
| 20 | |
| 21 | properties: |
| 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 | |
| 37 | required: |
| 38 | - compatible |
| 39 | - reg |
| 40 | - clocks |
| 41 | - "#clock-cells" |
| 42 | |
| 43 | additionalProperties: false |
| 44 | |
| 45 | examples: |
| 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 | }; |