1*038010bbSJohn Crispin# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*038010bbSJohn Crispin%YAML 1.2 3*038010bbSJohn Crispin--- 4*038010bbSJohn Crispin$id: http://devicetree.org/schemas/clock/airoha,en7523-scu.yaml# 5*038010bbSJohn Crispin$schema: http://devicetree.org/meta-schemas/core.yaml# 6*038010bbSJohn Crispin 7*038010bbSJohn Crispintitle: EN7523 Clock Device Tree Bindings 8*038010bbSJohn Crispin 9*038010bbSJohn Crispinmaintainers: 10*038010bbSJohn Crispin - Felix Fietkau <nbd@nbd.name> 11*038010bbSJohn Crispin - John Crispin <nbd@nbd.name> 12*038010bbSJohn Crispin 13*038010bbSJohn Crispindescription: | 14*038010bbSJohn Crispin This node defines the System Control Unit of the EN7523 SoC, 15*038010bbSJohn Crispin a collection of registers configuring many different aspects of the SoC. 16*038010bbSJohn Crispin 17*038010bbSJohn Crispin The clock driver uses it to read and configure settings of the 18*038010bbSJohn Crispin PLL controller, which provides clocks for the CPU, the bus and 19*038010bbSJohn Crispin other SoC internal peripherals. 20*038010bbSJohn Crispin 21*038010bbSJohn Crispin Each clock is assigned an identifier and client nodes use this identifier 22*038010bbSJohn Crispin to specify which clock they consume. 23*038010bbSJohn Crispin 24*038010bbSJohn Crispin All these identifiers can be found in: 25*038010bbSJohn Crispin [1]: <include/dt-bindings/clock/en7523-clk.h>. 26*038010bbSJohn Crispin 27*038010bbSJohn Crispin The clocks are provided inside a system controller node. 28*038010bbSJohn Crispin 29*038010bbSJohn Crispinproperties: 30*038010bbSJohn Crispin compatible: 31*038010bbSJohn Crispin items: 32*038010bbSJohn Crispin - const: airoha,en7523-scu 33*038010bbSJohn Crispin 34*038010bbSJohn Crispin reg: 35*038010bbSJohn Crispin maxItems: 2 36*038010bbSJohn Crispin 37*038010bbSJohn Crispin "#clock-cells": 38*038010bbSJohn Crispin description: 39*038010bbSJohn Crispin The first cell indicates the clock number, see [1] for available 40*038010bbSJohn Crispin clocks. 41*038010bbSJohn Crispin const: 1 42*038010bbSJohn Crispin 43*038010bbSJohn Crispinrequired: 44*038010bbSJohn Crispin - compatible 45*038010bbSJohn Crispin - reg 46*038010bbSJohn Crispin - '#clock-cells' 47*038010bbSJohn Crispin 48*038010bbSJohn CrispinadditionalProperties: false 49*038010bbSJohn Crispin 50*038010bbSJohn Crispinexamples: 51*038010bbSJohn Crispin - | 52*038010bbSJohn Crispin #include <dt-bindings/clock/en7523-clk.h> 53*038010bbSJohn Crispin scu: system-controller@1fa20000 { 54*038010bbSJohn Crispin compatible = "airoha,en7523-scu"; 55*038010bbSJohn Crispin reg = <0x1fa20000 0x400>, 56*038010bbSJohn Crispin <0x1fb00000 0x1000>; 57*038010bbSJohn Crispin #clock-cells = <1>; 58*038010bbSJohn Crispin }; 59