Skip to contentSkip to conversation

ARM: dts: BCM5301X: Describe NVMEM NVRAM on Linksys & Luxul routers

PATCH Applied Rafał Miłecki 2 participants 2 messages Mar 10, 2021 – Mar 13, 2021 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: BCM5301X: Describe NVMEM NVRAM on Linksys & Luxul routers

From: Rafał Miłecki <[email protected]>

Provide access to NVRAM which contains device environment variables.

---
This validates cleanly (dtbs_check) with:
dt-bindings: nvmem: add Broadcom's NVRAM
from the git://git.kernel.org/pub/scm/linux/kernel/git/srini/nvmem.git

---
 arch/arm/boot/dts/bcm4708-linksys-ea6300-v1.dts  | 5 +++++
 arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts    | 5 +++++
 arch/arm/boot/dts/bcm4709-linksys-ea9200.dts     | 5 +++++
 arch/arm/boot/dts/bcm47094-linksys-panamera.dts  | 5 +++++
 arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts    | 5 +++++
 arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts    | 5 +++++
 arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts    | 5 +++++
 arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts | 5 +++++
 8 files changed, 40 insertions(+)
arch/arm/boot/dts/bcm4708-linksys-ea6300-v1.dts +5 -0
index 41548d6d479a..5bac1e15775a 100644
@@ -21,6 +21,11 @@ memory@0 {
 		reg = <0x00000000 0x08000000>;
 	};
 
+	nvram@1c080000 {
+		compatible = "brcm,nvram";
+		reg = <0x1c080000 0x180000>;
+	};
+
 	gpio-keys {
 		compatible = "gpio-keys";
 
arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts +5 -0
index 432254383769..9316a36434f7 100644
@@ -21,6 +21,11 @@ memory@0 {
 		reg = <0x00000000 0x08000000>;
 	};
 
+	nvram@1eff0000 {
+		compatible = "brcm,nvram";
+		reg = <0x1eff0000 0x10000>;
+	};
+
 	leds {
 		compatible = "gpio-leds";
 
arch/arm/boot/dts/bcm4709-linksys-ea9200.dts +5 -0
index 38fbefdf2e4e..9b6887d477d8 100644
@@ -22,6 +22,11 @@ memory {
 		      <0x88000000 0x08000000>;
 	};
 
+	nvram@1c080000 {
+		compatible = "brcm,nvram";
+		reg = <0x1c080000 0x180000>;
+	};
+
 	gpio-keys {
 		compatible = "gpio-keys";
 		#address-cells = <1>;
arch/arm/boot/dts/bcm47094-linksys-panamera.dts +5 -0
index 4b24b25389b5..1dc0cb0fae22 100644
@@ -22,6 +22,11 @@ memory@0 {
 		      <0x88000000 0x08000000>;
 	};
 
+	nvram@1c080000 {
+		compatible = "brcm,nvram";
+		reg = <0x1c080000 0x100000>;
+	};
+
 	gpio-keys {
 		compatible = "gpio-keys";
 
arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts +5 -0
index a6dc99955e19..4b8117f32d26 100644
@@ -22,6 +22,11 @@ memory@0 {
 		      <0x88000000 0x18000000>;
 	};
 
+	nvram@1eff0000 {
+		compatible = "brcm,nvram";
+		reg = <0x1eff0000 0x10000>;
+	};
+
 	leds {
 		compatible = "gpio-leds";
 
arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts +5 -0
index ff98837bc0db..5fecce0422c7 100644
@@ -22,6 +22,11 @@ memory@0 {
 		      <0x88000000 0x18000000>;
 	};
 
+	nvram@1eff0000 {
+		compatible = "brcm,nvram";
+		reg = <0x1eff0000 0x10000>;
+	};
+
 	leds {
 		compatible = "gpio-leds";
 
arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts +5 -0
index b76bfe6efcd4..cbe8c8e4a301 100644
@@ -22,6 +22,11 @@ memory@0 {
 		      <0x88000000 0x08000000>;
 	};
 
+	nvram@1eff0000 {
+		compatible = "brcm,nvram";
+		reg = <0x1eff0000 0x10000>;
+	};
+
 	leds {
 		compatible = "gpio-leds";
 
arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts +5 -0
index 32d5a50578ec..24ae3c8a3e09 100644
@@ -22,6 +22,11 @@ memory@0 {
 		      <0x88000000 0x18000000>;
 	};
 
+	nvram@1eff0000 {
+		compatible = "brcm,nvram";
+		reg = <0x1eff0000 0x10000>;
+	};
+
 	leds {
 		compatible = "gpio-leds";
 
Signature · 1 line
2.26.2