STMicroelectronics STM32 Platforms System Controller

Schema identifier ($id): "http://devicetree.org/schemas/arm/stm32/st,stm32-syscon.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Alexandre Torgue <alexandre.torgue@foss.st.com>", "Christophe Roullier <christophe.roullier@foss.st.com>"

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): "st,stm32-power-config", "st,stm32-syscfg", "st,stm32-tamp", "st,stm32f4-gcan", "st,stm32mp151-pwr-mcu", "st,stm32mp157-syscfg", "st,stm32mp21-syscfg", "st,stm32mp23-syscfg", "st,stm32mp25-syscfg"

Item 2

Exact value (const): "syscon"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "st,stm32-tamp"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

#clock-cells — not listed as required here #

Exact value (const): 0

Required in this object (required): "compatible", "reg"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "st,stm32mp157-syscfg", "st,stm32f4-gcan"

When the condition matches (then) #

Required in this object (required): "clocks"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "st,stm32mp25-syscfg"

When the condition matches (then) #

Required in this object (required): "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/stm32mp1-clks.h>
syscfg: syscon@50020000 {
    compatible = "st,stm32mp157-syscfg", "syscon";
    reg = <0x50020000 0x400>;
    clocks = <&rcc SYSCFG>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page