b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | From c39edb9f9dcb6c8a0ba0ebf5df9e0ac93ab94b82 Mon Sep 17 00:00:00 2001 |
| 2 | From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl> |
| 3 | Date: Fri, 5 Mar 2021 19:32:35 +0100 |
| 4 | Subject: [PATCH] dt-bindings: nvmem: add Broadcom's NVRAM |
| 5 | MIME-Version: 1.0 |
| 6 | Content-Type: text/plain; charset=UTF-8 |
| 7 | Content-Transfer-Encoding: 8bit |
| 8 | |
| 9 | Broadcom's NVRAM structure contains device data and can be accessed |
| 10 | using I/O mapping. |
| 11 | |
| 12 | Signed-off-by: Rafał Miłecki <rafal@milecki.pl> |
| 13 | Reviewed-by: Rob Herring <robh@kernel.org> |
| 14 | Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> |
| 15 | --- |
| 16 | .../devicetree/bindings/nvmem/brcm,nvram.yaml | 34 +++++++++++++++++++ |
| 17 | 1 file changed, 34 insertions(+) |
| 18 | create mode 100644 Documentation/devicetree/bindings/nvmem/brcm,nvram.yaml |
| 19 | |
| 20 | --- /dev/null |
| 21 | +++ b/Documentation/devicetree/bindings/nvmem/brcm,nvram.yaml |
| 22 | @@ -0,0 +1,34 @@ |
| 23 | +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 24 | +%YAML 1.2 |
| 25 | +--- |
| 26 | +$id: http://devicetree.org/schemas/nvmem/brcm,nvram.yaml# |
| 27 | +$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 28 | + |
| 29 | +title: Broadcom's NVRAM |
| 30 | + |
| 31 | +description: | |
| 32 | + Broadcom's NVRAM is a structure containing device specific environment |
| 33 | + variables. It is used for storing device configuration, booting parameters |
| 34 | + and calibration data. |
| 35 | + |
| 36 | + NVRAM can be accessed on Broadcom BCM47xx MIPS and Northstar ARM Cortex-A9 |
| 37 | + devices usiong I/O mapped memory. |
| 38 | + |
| 39 | +maintainers: |
| 40 | + - Rafał Miłecki <rafal@milecki.pl> |
| 41 | + |
| 42 | +allOf: |
| 43 | + - $ref: "nvmem.yaml#" |
| 44 | + |
| 45 | +properties: |
| 46 | + compatible: |
| 47 | + const: brcm,nvram |
| 48 | + |
| 49 | +unevaluatedProperties: false |
| 50 | + |
| 51 | +examples: |
| 52 | + - | |
| 53 | + nvram@1eff0000 { |
| 54 | + compatible = "brcm,nvram"; |
| 55 | + reg = <0x1eff0000 0x10000>; |
| 56 | + }; |