1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/clock/microchip,mpfs-clkcfg.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Microchip PolarFire Clock Control Module
10 - Daire McNamara <daire.mcnamara@microchip.com>
13 Microchip PolarFire clock control (CLKCFG) is an integrated clock controller,
14 which gates and enables all peripheral clocks.
16 This device tree binding describes 33 gate clocks. Clocks are referenced by
17 user nodes by the CLKCFG node phandle and the clock index in the group, from
22 const: microchip,mpfs-clkcfg
27 clock config registers:
28 These registers contain enable, reset & divider tables for the, cpu,
29 axi, ahb and rtc/mtimer reference clocks as well as enable and reset
30 for the peripheral clocks.
32 mss pll dri registers:
33 Block of registers responsible for dynamic reconfiguration of the mss
42 The clock consumer should specify the desired clock by having the clock
43 ID in its "clocks" phandle cell.
44 See include/dt-bindings/clock/microchip,mpfs-clock.h for the full list of
52 The AHB/AXI peripherals on the PolarFire SoC have reset support, so from
53 CLK_ENVM to CLK_CFM. The reset consumer should specify the desired
54 peripheral via the clock ID in its "resets" phandle cell.
55 See include/dt-bindings/clock/microchip,mpfs-clock.h for the full list of
65 additionalProperties: false
70 #include <dt-bindings/clock/microchip,mpfs-clock.h>
74 clkcfg: clock-controller@20002000 {
75 compatible = "microchip,mpfs-clkcfg";
76 reg = <0x0 0x20002000 0x0 0x1000>, <0x0 0x3E001000 0x0 0x1000>;