Broadcom's NVRAM
Schema identifier ($id): "http://devicetree.org/schemas/nvmem/brcm,nvram.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Broadcom's NVRAM is a structure containing device specific environment variables. It is used for storing device configuration, booting parameters and calibration data.
NVRAM can be accessed on Broadcom BCM47xx MIPS and Northstar ARM Cortex-A9 devices usiong I/O mapped memory.
NVRAM variables can be defined as NVMEM device subnodes.
Maintainers (maintainers): "Rafał Miłecki <rafal@milecki.pl>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):nvmem.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "brcm,nvram"
reg — not listed as required here #
Maximum number of items (maxItems): 1
board_id — not listed as required here #
Value type (type): "object"
Board identification name
et0macaddr — not listed as required here #
Value type (type): "object"
First Ethernet interface's MAC address
Properties and child nodes (properties) #
#nvmem-cell-cells — not listed as required here
The first argument is a MAC address offset.
Exact value (const): 1
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
et1macaddr — not listed as required here #
Value type (type): "object"
Second Ethernet interface's MAC address
Properties and child nodes (properties) #
#nvmem-cell-cells — not listed as required here
The first argument is a MAC address offset.
Exact value (const): 1
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
et2macaddr — not listed as required here #
Value type (type): "object"
Third Ethernet interface's MAC address
Properties and child nodes (properties) #
#nvmem-cell-cells — not listed as required here
The first argument is a MAC address offset.
Exact value (const): 1
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
nvram@1eff0000 {
compatible = "brcm,nvram";
reg = <0x1eff0000 0x10000>;
mac: et0macaddr {
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)