aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorThéo Lebrun <theo.lebrun@bootlin.com>2024-12-30 14:30:31 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-30 15:36:00 +0100
commit6afcaef38d4df444dcb3eaab4823a2c5d0f0b43a (patch)
tree6507bb63546ea55b637aa768001576e545f4e861
parentnvmem: rmem: add CRC validation for Mobileye EyeQ5 NVMEM (diff)
downloadwireguard-linux-6afcaef38d4df444dcb3eaab4823a2c5d0f0b43a.tar.xz
wireguard-linux-6afcaef38d4df444dcb3eaab4823a2c5d0f0b43a.zip
MIPS: mobileye: eyeq5: add bootloader config reserved memory
Add a new reserved-memory node, containing bootloader config with MAC addresses for both ethernet instances of the SoC. Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20241230143035.265518-8-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--arch/mips/boot/dts/mobileye/eyeq5.dtsi22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/mobileye/eyeq5.dtsi b/arch/mips/boot/dts/mobileye/eyeq5.dtsi
index 5d73e8320b8e..a84e6e720619 100644
--- a/arch/mips/boot/dts/mobileye/eyeq5.dtsi
+++ b/arch/mips/boot/dts/mobileye/eyeq5.dtsi
@@ -49,6 +49,28 @@
mhm_reserved_0: the-mhm-reserved-0@0 {
reg = <0x8 0x00000000 0x0 0x0000800>;
};
+
+ nvram@461fe00 {
+ compatible = "mobileye,eyeq5-bootloader-config", "nvmem-rmem";
+ reg = <0x0 0x0461fe00 0x0 0x200>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ no-map;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eth0_mac: mac@7c {
+ reg = <0x7c 0x6>;
+ };
+
+ eth1_mac: mac@82 {
+ reg = <0x82 0x6>;
+ };
+ };
+ };
};
aliases {