Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Théo Lebrun and committed by
Greg Kroah-Hartman
6afcaef3 7e606c31

+22
+22
arch/mips/boot/dts/mobileye/eyeq5.dtsi
··· 49 49 mhm_reserved_0: the-mhm-reserved-0@0 { 50 50 reg = <0x8 0x00000000 0x0 0x0000800>; 51 51 }; 52 + 53 + nvram@461fe00 { 54 + compatible = "mobileye,eyeq5-bootloader-config", "nvmem-rmem"; 55 + reg = <0x0 0x0461fe00 0x0 0x200>; 56 + #address-cells = <1>; 57 + #size-cells = <1>; 58 + no-map; 59 + 60 + nvmem-layout { 61 + compatible = "fixed-layout"; 62 + #address-cells = <1>; 63 + #size-cells = <1>; 64 + 65 + eth0_mac: mac@7c { 66 + reg = <0x7c 0x6>; 67 + }; 68 + 69 + eth1_mac: mac@82 { 70 + reg = <0x82 0x6>; 71 + }; 72 + }; 73 + }; 52 74 }; 53 75 54 76 aliases {