136d221a97d06ee2221486a2c4e32582cfb029da
[openwrt/staging/neocturne.git] /
1 From 428ac8df021dd1cbcc693eb76636873d42327e5d 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 22:04:46 +0100
4 Subject: [PATCH] ARM: dts: BCM5301X: Describe NVMEM NVRAM on Linksys & Luxul
5 routers
6 MIME-Version: 1.0
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
9
10 Provide access to NVRAM which contains device environment variables.
11
12 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
13 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
14 ---
15 arch/arm/boot/dts/bcm4708-linksys-ea6300-v1.dts | 5 +++++
16 arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts | 5 +++++
17 arch/arm/boot/dts/bcm4709-linksys-ea9200.dts | 5 +++++
18 arch/arm/boot/dts/bcm47094-linksys-panamera.dts | 5 +++++
19 arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts | 5 +++++
20 arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts | 5 +++++
21 arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts | 5 +++++
22 arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts | 5 +++++
23 8 files changed, 40 insertions(+)
24
25 --- a/arch/arm/boot/dts/bcm4708-linksys-ea6300-v1.dts
26 +++ b/arch/arm/boot/dts/bcm4708-linksys-ea6300-v1.dts
27 @@ -21,6 +21,11 @@
28 reg = <0x00000000 0x08000000>;
29 };
30
31 + nvram@1c080000 {
32 + compatible = "brcm,nvram";
33 + reg = <0x1c080000 0x180000>;
34 + };
35 +
36 gpio-keys {
37 compatible = "gpio-keys";
38
39 --- a/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
40 +++ b/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
41 @@ -21,6 +21,11 @@
42 reg = <0x00000000 0x08000000>;
43 };
44
45 + nvram@1eff0000 {
46 + compatible = "brcm,nvram";
47 + reg = <0x1eff0000 0x10000>;
48 + };
49 +
50 leds {
51 compatible = "gpio-leds";
52
53 --- a/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
54 +++ b/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
55 @@ -22,6 +22,11 @@
56 <0x88000000 0x08000000>;
57 };
58
59 + nvram@1c080000 {
60 + compatible = "brcm,nvram";
61 + reg = <0x1c080000 0x180000>;
62 + };
63 +
64 gpio-keys {
65 compatible = "gpio-keys";
66 #address-cells = <1>;
67 --- a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
68 +++ b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
69 @@ -22,6 +22,11 @@
70 <0x88000000 0x08000000>;
71 };
72
73 + nvram@1c080000 {
74 + compatible = "brcm,nvram";
75 + reg = <0x1c080000 0x100000>;
76 + };
77 +
78 gpio-keys {
79 compatible = "gpio-keys";
80
81 --- a/arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts
82 +++ b/arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts
83 @@ -22,6 +22,11 @@
84 <0x88000000 0x18000000>;
85 };
86
87 + nvram@1eff0000 {
88 + compatible = "brcm,nvram";
89 + reg = <0x1eff0000 0x10000>;
90 + };
91 +
92 leds {
93 compatible = "gpio-leds";
94
95 --- a/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts
96 +++ b/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts
97 @@ -22,6 +22,11 @@
98 <0x88000000 0x18000000>;
99 };
100
101 + nvram@1eff0000 {
102 + compatible = "brcm,nvram";
103 + reg = <0x1eff0000 0x10000>;
104 + };
105 +
106 leds {
107 compatible = "gpio-leds";
108
109 --- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
110 +++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
111 @@ -22,6 +22,11 @@
112 <0x88000000 0x08000000>;
113 };
114
115 + nvram@1eff0000 {
116 + compatible = "brcm,nvram";
117 + reg = <0x1eff0000 0x10000>;
118 + };
119 +
120 leds {
121 compatible = "gpio-leds";
122
123 --- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
124 +++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
125 @@ -22,6 +22,11 @@
126 <0x88000000 0x18000000>;
127 };
128
129 + nvram@1eff0000 {
130 + compatible = "brcm,nvram";
131 + reg = <0x1eff0000 0x10000>;
132 + };
133 +
134 leds {
135 compatible = "gpio-leds";
136