0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/clock/airoha,en7523-scu.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: EN7523 Clock Device Tree Bindings
0008
0009 maintainers:
0010 - Felix Fietkau <nbd@nbd.name>
0011 - John Crispin <nbd@nbd.name>
0012
0013 description: |
0014 This node defines the System Control Unit of the EN7523 SoC,
0015 a collection of registers configuring many different aspects of the SoC.
0016
0017 The clock driver uses it to read and configure settings of the
0018 PLL controller, which provides clocks for the CPU, the bus and
0019 other SoC internal peripherals.
0020
0021 Each clock is assigned an identifier and client nodes use this identifier
0022 to specify which clock they consume.
0023
0024 All these identifiers can be found in:
0025 [1]: <include/dt-bindings/clock/en7523-clk.h>.
0026
0027 The clocks are provided inside a system controller node.
0028
0029 properties:
0030 compatible:
0031 items:
0032 - const: airoha,en7523-scu
0033
0034 reg:
0035 maxItems: 2
0036
0037 "#clock-cells":
0038 description:
0039 The first cell indicates the clock number, see [1] for available
0040 clocks.
0041 const: 1
0042
0043 required:
0044 - compatible
0045 - reg
0046 - '#clock-cells'
0047
0048 additionalProperties: false
0049
0050 examples:
0051 - |
0052 #include <dt-bindings/clock/en7523-clk.h>
0053 scu: system-controller@1fa20000 {
0054 compatible = "airoha,en7523-scu";
0055 reg = <0x1fa20000 0x400>,
0056 <0x1fb00000 0x1000>;
0057 #clock-cells = <1>;
0058 };