]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: aspeed: e3c246d4i: convert NVMEM content to layout syntax
authorTan Siewert <tan@siewert.io>
Sun, 3 Aug 2025 15:19:37 +0000 (17:19 +0200)
committerAndrew Jeffery <andrew@codeconstruct.com.au>
Mon, 11 Aug 2025 00:07:47 +0000 (09:37 +0930)
The used bindings syntax has been deprecated and doesn't work properly
anymore.

Use the newer (and non-deprecated) fixed-layout approach. See commit
bd912c991d2e ("dt-bindings: nvmem: layouts: add fixed-layout") for
details.

Signed-off-by: Tan Siewert <tan@siewert.io>
Reviewed-by: Zev Weiss <zev@bewilderbeest.net>
Link: https://patch.msgid.link/20250803151949.68618-1-tan@siewert.io
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-e3c246d4i.dts

index 93190f4e696cac9fb11409026470b8d2d66929ea..3ebd80db06f991a46ac6bc761dbf24c60b339e9e 100644 (file)
                compatible = "st,24c128", "atmel,24c128";
                reg = <0x57>;
                pagesize = <16>;
-               #address-cells = <1>;
-               #size-cells = <1>;
 
-               eth0_macaddress: macaddress@3f80 {
-                       reg = <0x3f80 6>;
+               nvmem-layout {
+                       compatible = "fixed-layout";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       eth0_macaddress: macaddress@3f80 {
+                               reg = <0x3f80 6>;
+                       };
                };
        };
 };