1 From bb8f1a03430422593ce12216f91fb7a5df43f722 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Wed, 10 Mar 2021 15:37:54 +0100
4 Subject: [PATCH] ARM: dts: BCM5301X: Describe NVMEM NVRAM on Linksys & Luxul
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
10 Provide access to NVRAM which contains device environment variables.
12 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
14 This validates cleanly (dtbs_check) with:
15 dt-bindings: nvmem: add Broadcom's NVRAM
16 from the git://git.kernel.org/pub/scm/linux/kernel/git/srini/nvmem.git
18 arch/arm/boot/dts/bcm4708-linksys-ea6300-v1.dts | 5 +++++
19 arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts | 5 +++++
20 arch/arm/boot/dts/bcm4709-linksys-ea9200.dts | 5 +++++
21 arch/arm/boot/dts/bcm47094-linksys-panamera.dts | 5 +++++
22 arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts | 5 +++++
23 arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts | 5 +++++
24 arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts | 5 +++++
25 arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts | 5 +++++
26 8 files changed, 40 insertions(+)
28 diff --git a/arch/arm/boot/dts/bcm4708-linksys-ea6300-v1.dts b/arch/arm/boot/dts/bcm4708-linksys-ea6300-v1.dts
29 index 41548d6d479a..5bac1e15775a 100644
30 --- a/arch/arm/boot/dts/bcm4708-linksys-ea6300-v1.dts
31 +++ b/arch/arm/boot/dts/bcm4708-linksys-ea6300-v1.dts
32 @@ -21,6 +21,11 @@ memory@0 {
33 reg = <0x00000000 0x08000000>;
37 + compatible = "brcm,nvram";
38 + reg = <0x1c080000 0x180000>;
42 compatible = "gpio-keys";
44 diff --git a/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts b/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
45 index 432254383769..9316a36434f7 100644
46 --- a/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
47 +++ b/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
48 @@ -21,6 +21,11 @@ memory@0 {
49 reg = <0x00000000 0x08000000>;
53 + compatible = "brcm,nvram";
54 + reg = <0x1eff0000 0x10000>;
58 compatible = "gpio-leds";
60 diff --git a/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts b/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
61 index 38fbefdf2e4e..9b6887d477d8 100644
62 --- a/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
63 +++ b/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
64 @@ -22,6 +22,11 @@ memory {
65 <0x88000000 0x08000000>;
69 + compatible = "brcm,nvram";
70 + reg = <0x1c080000 0x180000>;
74 compatible = "gpio-keys";
76 diff --git a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
77 index 4b24b25389b5..1dc0cb0fae22 100644
78 --- a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
79 +++ b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
80 @@ -22,6 +22,11 @@ memory@0 {
81 <0x88000000 0x08000000>;
85 + compatible = "brcm,nvram";
86 + reg = <0x1c080000 0x100000>;
90 compatible = "gpio-keys";
92 diff --git a/arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts b/arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts
93 index a6dc99955e19..4b8117f32d26 100644
94 --- a/arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts
95 +++ b/arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts
96 @@ -22,6 +22,11 @@ memory@0 {
97 <0x88000000 0x18000000>;
101 + compatible = "brcm,nvram";
102 + reg = <0x1eff0000 0x10000>;
106 compatible = "gpio-leds";
108 diff --git a/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts b/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts
109 index ff98837bc0db..5fecce0422c7 100644
110 --- a/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts
111 +++ b/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts
112 @@ -22,6 +22,11 @@ memory@0 {
113 <0x88000000 0x18000000>;
117 + compatible = "brcm,nvram";
118 + reg = <0x1eff0000 0x10000>;
122 compatible = "gpio-leds";
124 diff --git a/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts b/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
125 index b76bfe6efcd4..cbe8c8e4a301 100644
126 --- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
127 +++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
128 @@ -22,6 +22,11 @@ memory@0 {
129 <0x88000000 0x08000000>;
133 + compatible = "brcm,nvram";
134 + reg = <0x1eff0000 0x10000>;
138 compatible = "gpio-leds";
140 diff --git a/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts b/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
141 index 32d5a50578ec..24ae3c8a3e09 100644
142 --- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
143 +++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
144 @@ -22,6 +22,11 @@ memory@0 {
145 <0x88000000 0x18000000>;
149 + compatible = "brcm,nvram";
150 + reg = <0x1eff0000 0x10000>;
154 compatible = "gpio-leds";