mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
d8e8a2a8db
It still requires fixing PCIe support: [ 6.644699] pcie_iproc_bcma bcma0:7: host bridge /axi@18000000/pcie@12000 ranges: [ 6.652217] pcie_iproc_bcma bcma0:7: No bus range found for /axi@18000000/pcie@12000, using [bus 00-ff] [ 6.661833] OF: /axi@18000000/pcie@12000: Missing device_type [ 6.667622] pcie_iproc_bcma: probe of bcma0:7 failed with error -12 [ 6.673985] pcie_iproc_bcma bcma0:8: host bridge /axi@18000000/pcie@13000 ranges: [ 6.681514] pcie_iproc_bcma bcma0:8: No bus range found for /axi@18000000/pcie@13000, using [bus 00-ff] [ 6.691137] pcie_iproc_bcma: probe of bcma0:8 failed with error -12 [ 6.697522] pcie_iproc_bcma bcma0:9: host bridge /axi@18000000/pcie@14000 ranges: [ 6.705048] pcie_iproc_bcma bcma0:9: No bus range found for /axi@18000000/pcie@14000, using [bus 00-ff] [ 6.714669] pcie_iproc_bcma: probe of bcma0:9 failed with error -12 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
57 lines
1.6 KiB
Diff
57 lines
1.6 KiB
Diff
From c39edb9f9dcb6c8a0ba0ebf5df9e0ac93ab94b82 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
|
|
Date: Fri, 5 Mar 2021 19:32:35 +0100
|
|
Subject: [PATCH] dt-bindings: nvmem: add Broadcom's NVRAM
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Broadcom's NVRAM structure contains device data and can be accessed
|
|
using I/O mapping.
|
|
|
|
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
|
|
Reviewed-by: Rob Herring <robh@kernel.org>
|
|
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
|
|
---
|
|
.../devicetree/bindings/nvmem/brcm,nvram.yaml | 34 +++++++++++++++++++
|
|
1 file changed, 34 insertions(+)
|
|
create mode 100644 Documentation/devicetree/bindings/nvmem/brcm,nvram.yaml
|
|
|
|
--- /dev/null
|
|
+++ b/Documentation/devicetree/bindings/nvmem/brcm,nvram.yaml
|
|
@@ -0,0 +1,34 @@
|
|
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
+%YAML 1.2
|
|
+---
|
|
+$id: http://devicetree.org/schemas/nvmem/brcm,nvram.yaml#
|
|
+$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
+
|
|
+title: Broadcom's NVRAM
|
|
+
|
|
+description: |
|
|
+ Broadcom's NVRAM is a structure containing device specific environment
|
|
+ variables. It is used for storing device configuration, booting parameters
|
|
+ and calibration data.
|
|
+
|
|
+ NVRAM can be accessed on Broadcom BCM47xx MIPS and Northstar ARM Cortex-A9
|
|
+ devices usiong I/O mapped memory.
|
|
+
|
|
+maintainers:
|
|
+ - Rafał Miłecki <rafal@milecki.pl>
|
|
+
|
|
+allOf:
|
|
+ - $ref: "nvmem.yaml#"
|
|
+
|
|
+properties:
|
|
+ compatible:
|
|
+ const: brcm,nvram
|
|
+
|
|
+unevaluatedProperties: false
|
|
+
|
|
+examples:
|
|
+ - |
|
|
+ nvram@1eff0000 {
|
|
+ compatible = "brcm,nvram";
|
|
+ reg = <0x1eff0000 0x10000>;
|
|
+ };
|