ARM Versatile Express system registers
Schema identifier ($id): "http://devicetree.org/schemas/arm/vexpress-sysreg.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Andre Przywara <andre.przywara@arm.com>"
This is a system control registers block, providing multiple low level platform functions like board detection and identification, software interrupt generation, MMC and NOR Flash control, etc.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "arm,vexpress-sysreg"
reg — required here #
Maximum number of items (maxItems): 1
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 1
ranges — not listed as required here #
true — No constraints added by this property rule.
gpio-controller — not listed as required here #
Deprecated (deprecated): true
#gpio-cells — not listed as required here #
Deprecated (deprecated): true
Exact value (const): 2
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties matching a name pattern (patternProperties) #
^gpio@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
GPIO children
Properties and child nodes (properties) #
compatible — required here
Allowed values (enum): "arm,vexpress-sysreg,sys_led", "arm,vexpress-sysreg,sys_mci", "arm,vexpress-sysreg,sys_flash"
gpio-controller — required here
true — No constraints added by this property rule.
#gpio-cells — required here
Exact value (const): 2
The first cell is the function number: for sys_led : 0..7 = LED 0..7 for sys_mci : 0 = MMC CARDIN, 1 = MMC WPROT for sys_flash : 0 = NOR FLASH WPn The second cell can take standard GPIO flags.
reg — required here
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "gpio-controller", "#gpio-cells"
Required in this object (required): "compatible", "reg"
Examples (examples) #
sysreg@0 {
compatible = "arm,vexpress-sysreg";
reg = <0x00000 0x1000>;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0 0 0x1000>;
v2m_led_gpios: gpio@8 {
compatible = "arm,vexpress-sysreg,sys_led";
reg = <0x008 4>;
gpio-controller;
#gpio-cells = <2>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)