From 10b7e2d0dfa5cde39b7df2b067e2dfcd70096ebf Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 13 Nov 2023 12:23:07 -0800 Subject: [PATCH] apm821xx: convert to nvmem-layout nvmem-cells is deprecated. Signed-off-by: Rosen Penev --- .../linux/apm821xx/dts/netgear-wndr4700.dts | 30 ++++++++++--------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/target/linux/apm821xx/dts/netgear-wndr4700.dts b/target/linux/apm821xx/dts/netgear-wndr4700.dts index cbfe1235e9..0788037981 100644 --- a/target/linux/apm821xx/dts/netgear-wndr4700.dts +++ b/target/linux/apm821xx/dts/netgear-wndr4700.dts @@ -267,23 +267,25 @@ reg = <0x07fc0000 0x00040000>; read-only; - compatible = "nvmem-cells"; - #address-cells = <1>; - #size-cells = <1>; + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; - macaddr_wifi_0: macaddr@0 { - reg = <0x0 0x6>; - }; - macaddr_wifi_c: macaddr@c { - reg = <0xc 0x6>; - }; + macaddr_wifi_0: macaddr@0 { + reg = <0x0 0x6>; + }; + macaddr_wifi_c: macaddr@c { + reg = <0xc 0x6>; + }; - calibration_wifi_1000: calibration@1000 { - reg = <0x1000 0x440>; - }; + calibration_wifi_1000: calibration@1000 { + reg = <0x1000 0x440>; + }; - calibration_wifi_5000: calibration@5000 { - reg = <0x5000 0x440>; + calibration_wifi_5000: calibration@5000 { + reg = <0x5000 0x440>; + }; }; }; }; -- 2.30.2