Amlogic Meson Firmware registers Interface
Schema identifier ($id): "http://devicetree.org/schemas/arm/amlogic/amlogic,meson-gx-ao-secure.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"
The Meson SoCs have a register bank with status and data shared with the secure firmware.
Automatic schema selection (select) #
Properties and child nodes (
properties) #
compatible— required here #Rule for matching array elements (
contains)Exact value (
const):"amlogic,meson-gx-ao-secure"
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):"amlogic,meson-gx-ao-secure"Item 2
Exact value (
const):"syscon"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"amlogic,a4-ao-secure","amlogic,c3-ao-secure","amlogic,s4-ao-secure","amlogic,s6-ao-secure","amlogic,s7-ao-secure","amlogic,s7d-ao-secure","amlogic,t7-ao-secure"Item 2
Exact value (
const):"amlogic,meson-gx-ao-secure"Item 3
Exact value (
const):"syscon"
reg — required here #
Maximum number of items (maxItems): 1
amlogic,has-chip-id — not listed as required here #
A firmware register encodes the SoC type, package and revision information on the Meson GX SoCs. If present, the interface gives the current SoC version.
Value type (type): "boolean"
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
ao-secure@140 {
compatible = "amlogic,meson-gx-ao-secure", "syscon";
reg = <0x140 0x140>;
amlogic,has-chip-id;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright 2019 BayLibre, SAS
Line 17: We need a select here so we don't match all nodes with 'syscon'