Socionext UniPhier system controller
Schema identifier ($id): "http://devicetree.org/schemas/soc/socionext/socionext,uniphier-sysctrl.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kunihiko Hayashi <hayashi.kunihiko@socionext.com>"
System controller implemented on Socionext UniPhier SoCs has multiple functions such as clock control, reset control, internal watchdog timer, thermal management, and so on.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"socionext,uniphier-ld4-sysctrl","socionext,uniphier-pro4-sysctrl","socionext,uniphier-pro5-sysctrl","socionext,uniphier-pxs2-sysctrl","socionext,uniphier-sld8-sysctrl","socionext,uniphier-ld11-sysctrl","socionext,uniphier-ld20-sysctrl","socionext,uniphier-pxs3-sysctrl","socionext,uniphier-nx1-sysctrl"
Item 2
Exact value (
const):"simple-mfd"
Item 3
Exact value (
const):"syscon"
reg — required here #
Maximum number of items (maxItems): 1
clock-controller — not listed as required here #
Shared schema rule ($ref): /schemas/clock/socionext,uniphier-clock.yaml#
reset-controller — not listed as required here #
Shared schema rule ($ref): /schemas/reset/socionext,uniphier-reset.yaml#
watchdog — not listed as required here #
Shared schema rule ($ref): /schemas/watchdog/socionext,uniphier-wdt.yaml#
thermal-sensor — not listed as required here #
Shared schema rule ($ref): /schemas/thermal/socionext,uniphier-thermal.yaml#
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"socionext,uniphier-ld4-sysctrl"When the condition matches (
then) #Properties and child nodes (
properties)
watchdog— not listed as required here
false— Not permitted by this property rule.
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"socionext,uniphier-ld4-sysctrl","socionext,uniphier-pro4-sysctrl","socionext,uniphier-sld8-sysctrl","socionext,uniphier-ld11-sysctrl"When the condition matches (
then) #Properties and child nodes (
properties)
thermal-sensor— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg"
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
syscon@61840000 {
compatible = "socionext,uniphier-ld20-sysctrl",
"simple-mfd", "syscon";
reg = <0x61840000 0x4000>;
clock-controller {
compatible = "socionext,uniphier-ld20-clock";
#clock-cells = <1>;
};
reset-controller {
compatible = "socionext,uniphier-ld20-reset";
#reset-cells = <1>;
};
watchdog {
compatible = "socionext,uniphier-wdt";
};
thermal-sensor {
compatible = "socionext,uniphier-ld20-thermal";
interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
#thermal-sensor-cells = <0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)