74 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/nvmem/brcm,nvram.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Broadcom's NVRAM8 9description: |10 Broadcom's NVRAM is a structure containing device specific environment11 variables. It is used for storing device configuration, booting parameters12 and calibration data.13 14 NVRAM can be accessed on Broadcom BCM47xx MIPS and Northstar ARM Cortex-A915 devices usiong I/O mapped memory.16 17 NVRAM variables can be defined as NVMEM device subnodes.18 19maintainers:20 - Rafał Miłecki <rafal@milecki.pl>21 22allOf:23 - $ref: nvmem.yaml#24 25properties:26 compatible:27 const: brcm,nvram28 29 reg:30 maxItems: 131 32 board_id:33 type: object34 description: Board identification name35 36 et0macaddr:37 type: object38 description: First Ethernet interface's MAC address39 properties:40 "#nvmem-cell-cells":41 description: The first argument is a MAC address offset.42 const: 143 additionalProperties: false44 45 et1macaddr:46 type: object47 description: Second Ethernet interface's MAC address48 properties:49 "#nvmem-cell-cells":50 description: The first argument is a MAC address offset.51 const: 152 additionalProperties: false53 54 et2macaddr:55 type: object56 description: Third Ethernet interface's MAC address57 properties:58 "#nvmem-cell-cells":59 description: The first argument is a MAC address offset.60 const: 161 additionalProperties: false62 63unevaluatedProperties: false64 65examples:66 - |67 nvram@1eff0000 {68 compatible = "brcm,nvram";69 reg = <0x1eff0000 0x10000>;70 71 mac: et0macaddr {72 };73 };74