From c54ce12a747497bac6836d3bca79cb9a0ddbbba3 Mon Sep 17 00:00:00 2001 From: Mieczyslaw Nalewaj Date: Sun, 16 Jun 2024 09:11:25 +0200 Subject: [PATCH] ramips: cudy_x6: cleaning up nvmem-cells definitions Move nvmem-cells definitions to dts files to prevent overwriting Signed-off-by: Mieczyslaw Nalewaj --- target/linux/ramips/dts/mt7621_cudy_x6-v1.dts | 4 ++-- target/linux/ramips/dts/mt7621_cudy_x6-v2.dts | 4 ++-- target/linux/ramips/dts/mt7621_cudy_x6.dtsi | 2 -- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/target/linux/ramips/dts/mt7621_cudy_x6-v1.dts b/target/linux/ramips/dts/mt7621_cudy_x6-v1.dts index 940a0598c1..fa89fd1efd 100644 --- a/target/linux/ramips/dts/mt7621_cudy_x6-v1.dts +++ b/target/linux/ramips/dts/mt7621_cudy_x6-v1.dts @@ -56,6 +56,6 @@ }; &wifi { - nvmem-cells = <&macaddr_bdinfo_de00 0>; - nvmem-cell-names = "mac-address"; + nvmem-cells = <&eeprom_factory_0>, <&macaddr_bdinfo_de00 0>; + nvmem-cell-names = "eeprom", "mac-address"; }; diff --git a/target/linux/ramips/dts/mt7621_cudy_x6-v2.dts b/target/linux/ramips/dts/mt7621_cudy_x6-v2.dts index 70e6a845a4..fe8dada5c3 100644 --- a/target/linux/ramips/dts/mt7621_cudy_x6-v2.dts +++ b/target/linux/ramips/dts/mt7621_cudy_x6-v2.dts @@ -56,6 +56,6 @@ }; &wifi { - nvmem-cells = <&macaddr_bdinfo_de00 0>; - nvmem-cell-names = "mac-address"; + nvmem-cells = <&eeprom_factory_0>, <&macaddr_bdinfo_de00 0>; + nvmem-cell-names = "eeprom", "mac-address"; }; diff --git a/target/linux/ramips/dts/mt7621_cudy_x6.dtsi b/target/linux/ramips/dts/mt7621_cudy_x6.dtsi index 0542640f13..5da11e8945 100644 --- a/target/linux/ramips/dts/mt7621_cudy_x6.dtsi +++ b/target/linux/ramips/dts/mt7621_cudy_x6.dtsi @@ -104,8 +104,6 @@ wifi:wifi@0,0 { compatible = "mediatek,mt76"; reg = <0x0000 0 0 0 0>; - nvmem-cells = <&eeprom_factory_0>; - nvmem-cell-names = "eeprom"; mediatek,disable-radar-background; }; }; -- 2.30.2