]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: aspeed: x570d4u: convert NVMEM content to layout syntax
authorTan Siewert <tan@siewert.io>
Sun, 3 Aug 2025 15:19:40 +0000 (17:19 +0200)
committerAndrew Jeffery <andrew@codeconstruct.com.au>
Mon, 11 Aug 2025 00:07:48 +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-4-tan@siewert.io
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-x570d4u.dts

index 0943e0bf1305ae069c73d196e7388e7cf4ba68de..e61a6cb4343818da6b0bec02f704c33e24b02395 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>;
+                       };
 
-               eth1_macaddress: macaddress@3f88 {
-                       reg = <0x3f88 6>;
+                       eth1_macaddress: macaddress@3f88 {
+                               reg = <0x3f88 6>;
+                       };
                };
        };
 };