xref: /freebsd/sys/contrib/device-tree/Bindings/nvmem/brcm,nvram.yaml (revision b197d4b893974c9eb4d7b38704c6d5c486235d6f)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/nvmem/brcm,nvram.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Broadcom's NVRAM
8
9description: |
10  Broadcom's NVRAM is a structure containing device specific environment
11  variables. It is used for storing device configuration, booting parameters
12  and calibration data.
13
14  NVRAM can be accessed on Broadcom BCM47xx MIPS and Northstar ARM Cortex-A9
15  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,nvram
28
29  reg:
30    maxItems: 1
31
32  board_id:
33    type: object
34    description: Board identification name
35
36  et0macaddr:
37    type: object
38    description: First Ethernet interface's MAC address
39
40  et1macaddr:
41    type: object
42    description: Second Ethernet interface's MAC address
43
44  et2macaddr:
45    type: object
46    description: Third Ethernet interface's MAC address
47
48unevaluatedProperties: false
49
50examples:
51  - |
52    nvram@1eff0000 {
53        compatible = "brcm,nvram";
54        reg = <0x1eff0000 0x10000>;
55
56        mac: et0macaddr {
57        };
58    };
59