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