Cirrus Logic EP93xx Platforms System Controller
Schema identifier ($id): "http://devicetree.org/schemas/soc/cirrus/cirrus,ep9301-syscon.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Alexander Sverdlin <alexander.sverdlin@gmail.com>", "Nikita Shubin <nikita.shubin@maquefel.me>"
Central resources are controlled by a set of software-locked registers, which can be used to prevent accidental accesses. Syscon generates the various bus and peripheral clocks and controls the system startup configuration.
The System Controller (Syscon) provides: - Clock control - Power management - System configuration management
Syscon registers are common for all EP93xx SoC's, through some actual peripheral may be missing depending on actual SoC model.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"cirrus,ep9302-syscon","cirrus,ep9307-syscon","cirrus,ep9312-syscon","cirrus,ep9315-syscon"Item 2
Exact value (
const):"cirrus,ep9301-syscon"Item 3
Exact value (
const):"syscon"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"cirrus,ep9301-syscon"Item 2
Exact value (
const):"syscon"
reg — required here #
Maximum number of items (maxItems): 1
#clock-cells — required here #
Exact value (const): 1
clocks — required here #
Array item rules (items) #
Item 1
reference clock
Properties matching a name pattern (patternProperties) #
^pins- — name matches this regular expression #
Value type (type): "object"
pin node
Shared schema rule ($ref): /schemas/pinctrl/pinmux-node.yaml
Properties and child nodes (properties) #
function — required here
Allowed values (enum): "spi", "ac97", "i2s", "pwm", "keypad", "pata", "lcd", "gpio"
groups — required here
Allowed values (enum): "ssp", "ac97", "i2s_on_ssp", "i2s_on_ac97", "pwm1", "gpio1agrp", "gpio2agrp", "gpio3agrp", "gpio4agrp", "gpio6agrp", "gpio7agrp", "rasteronsdram0grp", "rasteronsdram3grp", "keypadgrp", "idegrp"
Required in this object (required): "function", "groups"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "#clock-cells", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
syscon@80930000 {
compatible = "cirrus,ep9301-syscon", "syscon";
reg = <0x80930000 0x1000>;
#clock-cells = <1>;
clocks = <&xtali>;
spi_default_pins: pins-spi {
function = "spi";
groups = "ssp";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause