Skip to content

Commit cfc9160

Browse files
ranechitacseci
authored andcommitted
arm64: boot: xilinx: add fixed-layout nvmem
The support of adding nvmem cells directly to the memory node is being removed in the future and has to be explicitly specified in driver nvmem configuration. By default, nvmem only adds cells from fixed-layout node. Added fixed layout node in the i2c eeprom to support loading MAC address from eeprom. Signed-off-by: Ramona Alexandra Nechita <ramona.nechita@analog.com> (cherry picked from commit f9e9b06)
1 parent 2e8452c commit cfc9160

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

arch/arm64/boot/dts/xilinx/zynqmp-jupiter-sdr.dtsi

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -296,11 +296,15 @@
296296
compatible = "atmel,24c16";
297297
pagesize = <16>;
298298
reg = <0x50>;
299-
#address-cells = <1>;
300-
#size-cells = <1>;
301299

302-
eth0_addr: eth-mac-addr@B {
303-
reg = <0xB 0x06>;
300+
nvmem-layout {
301+
compatible = "fixed-layout";
302+
#address-cells = <1>;
303+
#size-cells = <1>;
304+
305+
eth0_addr: eth-mac-addr@B {
306+
reg = <0xB 0x06>;
307+
};
304308
};
305309
};
306310

0 commit comments

Comments
 (0)