From: Mieczyslaw Nalewaj Date: Sun, 16 Jun 2024 07:11:25 +0000 (+0200) Subject: ramips: cudy_x6: cleaning up nvmem-cells definitions X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c54ce12a747497bac6836d3bca79cb9a0ddbbba3;p=openwrt%2Fstaging%2Flinusw.git ramips: cudy_x6: cleaning up nvmem-cells definitions Move nvmem-cells definitions to dts files to prevent overwriting Signed-off-by: Mieczyslaw Nalewaj --- 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; }; };