Microchip PolarFire Clock Control Module
Schema identifier ($id): "http://devicetree.org/schemas/clock/microchip,mpfs-clkcfg.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Daire McNamara <daire.mcnamara@microchip.com>"
Microchip PolarFire clock control (CLKCFG) is an integrated clock controller, which gates and enables all peripheral clocks.
This device tree binding describes 33 gate clocks. Clocks are referenced by user nodes by the CLKCFG node phandle and the clock index in the group, from 0 to 32.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"microchip,pic64gx-clkcfg"Item 2
Exact value (
const):"microchip,mpfs-clkcfg"
Rule 2
Exact value (
const):"microchip,mpfs-clkcfg"
reg — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
clock config registers: These registers contain enable, reset & divider tables for the, cpu, axi, ahb and rtc/mtimer reference clocks as well as enable and reset for the peripheral clocks.
Item 2
mss pll dri registers: Block of registers responsible for dynamic reconfiguration of the mss pll
Deprecated (
deprecated):true
Rule 2
Array item rules (
items)Item 1
mss pll dri registers: Block of registers responsible for dynamic reconfiguration of the mss pll
clocks — required here #
Maximum number of items (maxItems): 1
#clock-cells — required here #
Exact value (const): 1
The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. See include/dt-bindings/clock/microchip,mpfs-clock.h for the full list of PolarFire clock IDs.
resets — not listed as required here #
Maximum number of items (maxItems): 1
#reset-cells — not listed as required here #
The AHB/AXI peripherals on the PolarFire SoC have reset support, so from CLK_ENVM to CLK_CFM. The reset consumer should specify the desired peripheral via the clock ID in its "resets" phandle cell. See include/dt-bindings/clock/microchip,mpfs-clock.h for the full list of PolarFire clock IDs.
Exact value (const): 1
Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)Exact value (
const):"microchip,pic64gx-clkcfg"
When the condition matches (then) #
Properties and child nodes (
properties) #
reg— not listed as required here #Maximum number of items (
maxItems):1
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/microchip,mpfs-clock.h>
soc {
#address-cells = <1>;
#size-cells = <1>;
clkcfg: clock-controller@3E001000 {
compatible = "microchip,mpfs-clkcfg";
reg = <0x3E001000 0x1000>;
clocks = <&ref>;
#clock-cells = <1>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 89: Clock Config node: