1037885b30
Document bindings for the T-Head TH1520 AP sub-system clock controller. Link: https://openbeagle.org/beaglev-ahead/beaglev-ahead/-/blob/main/docs/TH1520%20System%20User%20Manual.pdf Co-developed-by: Yangtao Li <frank.li@vivo.com> Signed-off-by: Yangtao Li <frank.li@vivo.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Drew Fustini <dfustini@tenstorrent.com> Link: https://lore.kernel.org/r/20240623-th1520-clk-v2-1-ad8d6432d9fb@tenstorrent.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
54 lines
1.2 KiB
YAML
54 lines
1.2 KiB
YAML
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/clock/thead,th1520-clk-ap.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: T-HEAD TH1520 AP sub-system clock controller
|
|
|
|
description: |
|
|
The T-HEAD TH1520 AP sub-system clock controller configures the
|
|
CPU, DPU, GMAC and TEE PLLs.
|
|
|
|
SoC reference manual
|
|
https://openbeagle.org/beaglev-ahead/beaglev-ahead/-/blob/main/docs/TH1520%20System%20User%20Manual.pdf
|
|
|
|
maintainers:
|
|
- Jisheng Zhang <jszhang@kernel.org>
|
|
- Wei Fu <wefu@redhat.com>
|
|
- Drew Fustini <dfustini@tenstorrent.com>
|
|
|
|
properties:
|
|
compatible:
|
|
const: thead,th1520-clk-ap
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
items:
|
|
- description: main oscillator (24MHz)
|
|
|
|
"#clock-cells":
|
|
const: 1
|
|
description:
|
|
See <dt-bindings/clock/thead,th1520-clk-ap.h> for valid indices.
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- "#clock-cells"
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/clock/thead,th1520-clk-ap.h>
|
|
clock-controller@ef010000 {
|
|
compatible = "thead,th1520-clk-ap";
|
|
reg = <0xef010000 0x1000>;
|
|
clocks = <&osc>;
|
|
#clock-cells = <1>;
|
|
};
|