T-HEAD TH1520 AP sub-system clock controller
Schema identifier ($id): "http://devicetree.org/schemas/clock/thead,th1520-clk-ap.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The T-HEAD TH1520 AP sub-system clock controller configures the CPU, DPU, GMAC and TEE PLLs. Additionally the VO subsystem configures the clock gates for the HDMI, MIPI and the GPU.
SoC reference manual https://openbeagle.org/beaglev-ahead/beaglev-ahead/-/blob/main/docs/TH1520%20System%20User%20Manual.pdf
Maintainers (maintainers): "Jisheng Zhang <jszhang@kernel.org>", "Wei Fu <wefu@redhat.com>", "Drew Fustini <dfustini@tenstorrent.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "thead,th1520-clk-ap", "thead,th1520-clk-vo"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
One input clock: - For "thead,th1520-clk-ap": the clock input must be the 24 MHz main oscillator. - For "thead,th1520-clk-vo": the clock input must be the VIDEO_PLL, which is configured by the AP clock controller. According to the TH1520 manual, VIDEO_PLL is a Silicon Creations Sigma-Delta PLL (integer PLL) typically running at 792 MHz (FOUTPOSTDIV), with a maximum FOUTVCO of 2376 MHz.
#clock-cells — required here #
Exact value (const): 1
See <dt-bindings/clock/thead,th1520-clk-ap.h> for valid indices.
Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (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>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause