Fixed offset & size NVMEM cell

Schema identifier ($id): "http://devicetree.org/schemas/nvmem/layouts/fixed-cell.yaml#"

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

Maintainers (maintainers): "Rafał Miłecki <rafal@milecki.pl>", "Srinivas Kandagatla <srinivas.kandagatla@linaro.org>"

Properties and child nodes (properties) #

compatible — not listed as required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "mac-base"

Cell with base MAC address to be used for calculating extra relative addresses. It can be stored in a plain binary format (cell length 6) or as an ASCII text like "00:11:22:33:44:55" (cell length 17).

reg — required here #

Maximum number of items (maxItems): 1

bits — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Array item rules (items) #

Item 1

Minimum value (minimum): 0

Maximum value (maximum): 31

Offset in bit within the address range specified by reg.

Item 2

Minimum value (minimum): 1

Size in bit within the address range specified by reg.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — required here

Rule for matching array elements (contains)

Exact value (const): "mac-base"

Required in this object (required): "compatible"

When the condition matches (then) #

Properties and child nodes (properties)

#nvmem-cell-cells — required here

The first argument is a MAC address offset.

Exact value (const): 1

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

Required in this object (required): "reg"

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

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

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

Edit this page