Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/nvmem/brcm,nvram.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Broadcom's NVRAM
0008 
0009 description: |
0010   Broadcom's NVRAM is a structure containing device specific environment
0011   variables. It is used for storing device configuration, booting parameters
0012   and calibration data.
0013 
0014   NVRAM can be accessed on Broadcom BCM47xx MIPS and Northstar ARM Cortex-A9
0015   devices usiong I/O mapped memory.
0016 
0017   NVRAM variables can be defined as NVMEM device subnodes.
0018 
0019 maintainers:
0020   - Rafał Miłecki <rafal@milecki.pl>
0021 
0022 allOf:
0023   - $ref: "nvmem.yaml#"
0024 
0025 properties:
0026   compatible:
0027     const: brcm,nvram
0028 
0029   reg:
0030     maxItems: 1
0031 
0032   board_id:
0033     type: object
0034     description: Board identification name
0035 
0036   et0macaddr:
0037     type: object
0038     description: First Ethernet interface's MAC address
0039 
0040   et1macaddr:
0041     type: object
0042     description: Second Ethernet interface's MAC address
0043 
0044   et2macaddr:
0045     type: object
0046     description: Third Ethernet interface's MAC address
0047 
0048 unevaluatedProperties: false
0049 
0050 examples:
0051   - |
0052     nvram@1eff0000 {
0053         compatible = "brcm,nvram";
0054         reg = <0x1eff0000 0x10000>;
0055 
0056         mac: et0macaddr {
0057         };
0058     };