]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: aspeed: romed8hm3: convert NVMEM content to layout syntax
authorTan Siewert <tan@siewert.io>
Sun, 3 Aug 2025 15:19:39 +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-3-tan@siewert.io
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-romed8hm3.dts

index 6dd221644dc6b171efce7b9868c4b321893e62d7..e306655ce4a3bb1d21dbdb3eae6065bd8577f3f8 100644 (file)
                compatible = "st,24c128", "atmel,24c128";
                reg = <0x50>;
                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>;
+                       };
                };
        };
 };