diff options
| author | Mieczyslaw Nalewaj | 2024-06-16 07:11:25 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2024-06-16 19:24:11 +0000 |
| commit | c54ce12a747497bac6836d3bca79cb9a0ddbbba3 (patch) | |
| tree | 53923dbeb41690febfe3e80a5cbbf5d0e6ca3e7b | |
| parent | e750c229043a48d48f92ccc826fb15bad0024640 (diff) | |
| download | openwrt-c54ce12a747497bac6836d3bca79cb9a0ddbbba3.tar.gz | |
ramips: cudy_x6: cleaning up nvmem-cells definitions
Move nvmem-cells definitions to dts files to prevent overwriting
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
| -rw-r--r-- | target/linux/ramips/dts/mt7621_cudy_x6-v1.dts | 4 | ||||
| -rw-r--r-- | target/linux/ramips/dts/mt7621_cudy_x6-v2.dts | 4 | ||||
| -rw-r--r-- | 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; }; }; |