ramips: tplink_8m: cleaning up nvmem-cells definitions
authorMieczyslaw Nalewaj <namiltd@yahoo.com>
Sun, 16 Jun 2024 07:24:26 +0000 (09:24 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 16 Jun 2024 19:24:11 +0000 (21:24 +0200)
Move nvmem-cells definitions to dts files for compatibility with other files
in which mt7628an_tplink_8m.dtsi is loaded, to prevent overwriting

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
target/linux/ramips/dts/mt7628an_tplink_8m.dtsi
target/linux/ramips/dts/mt7628an_tplink_archer-c20-v4.dts
target/linux/ramips/dts/mt7628an_tplink_archer-c50-v3.dts
target/linux/ramips/dts/mt7628an_tplink_tl-mr3420-v5.dts
target/linux/ramips/dts/mt7628an_tplink_tl-wa801nd-v5.dts
target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v4.dts
target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v13.dts
target/linux/ramips/dts/mt7628an_tplink_tl-wr842n-v5.dts
target/linux/ramips/dts/mt7628an_tplink_tl-wr850n-v2.dts
target/linux/ramips/dts/mt7628an_tplink_tl-wr902ac-v3.dts
target/linux/ramips/dts/mt7628an_tplink_tl-wr902ac-v4.dts

index 3db4bb9b9c24c1f968bb49a0d0f17e59b32767b6..4956c12d9c841a5e1676674c56945d7d10a920c8 100644 (file)
@@ -72,8 +72,3 @@
                };
        };
 };
-
-&ethernet {
-       nvmem-cells = <&macaddr_factory_f100 0>;
-       nvmem-cell-names = "mac-address";
-};
index 66e2cfdde778d4eba9f974f2472c4de8bb9fefc5..6e6d7253bdea41383fa8a8a0b5f45b68829fe55d 100644 (file)
        nvmem-cell-names = "eeprom", "mac-address";
 };
 
+&ethernet {
+       nvmem-cells = <&macaddr_factory_f100 0>;
+       nvmem-cell-names = "mac-address";
+};
+
 &esw {
        mediatek,portmap = <0x3e>;
 };
index c20eb3c46f80e3df5715bfc547b66dbf0dd454f5..0e9159402e34c3d5b646f9a3672f990111774040 100644 (file)
        nvmem-cell-names = "eeprom", "mac-address";
 };
 
+&ethernet {
+       nvmem-cells = <&macaddr_factory_f100 0>;
+       nvmem-cell-names = "mac-address";
+};
+
 &esw {
        mediatek,portmap = <0x3e>;
 };
index fcdc1d6d373ad737826c544be0846bf81c6b0a3b..db6c73b00170bc444826cb6fbe8ae0d47207affc 100644 (file)
        nvmem-cell-names = "eeprom", "mac-address";
 };
 
+&ethernet {
+       nvmem-cells = <&macaddr_factory_f100 0>;
+       nvmem-cell-names = "mac-address";
+};
+
 &esw {
        mediatek,portmap = <0x3e>;
 };
index 01d5d756e380016fa3d79f8aa9a23f098b735313..d0119a76b8b60d85ca0b236c61a30bc21266c549 100644 (file)
@@ -87,3 +87,8 @@
        nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_f100 0>;
        nvmem-cell-names = "eeprom", "mac-address";
 };
+
+&ethernet {
+       nvmem-cells = <&macaddr_factory_f100 0>;
+       nvmem-cell-names = "mac-address";
+};
index 408e5fd9563ffc6756a6219190f7e5fb1bd74fc2..0109178b79a1f101789f79785e02c23972357b2f 100644 (file)
        nvmem-cell-names = "eeprom", "mac-address";
 };
 
+&ethernet {
+       nvmem-cells = <&macaddr_factory_f100 0>;
+       nvmem-cell-names = "mac-address";
+};
+
 &esw {
        mediatek,portmap = <0x3e>;
 };
index 2e5aabd5818a0a5a620e09fad9f6254ca39ae4f8..755b93535ff246c34e3c267d456c6436c5f42cd4 100644 (file)
        nvmem-cell-names = "eeprom", "mac-address";
 };
 
+&ethernet {
+       nvmem-cells = <&macaddr_factory_f100 0>;
+       nvmem-cell-names = "mac-address";
+};
+
 &esw {
        mediatek,portmap = <0x3e>;
 };
index 0ded67a1a633ae051087ae3fb96e06c5cdec04df..c2b91649c6ea12d16fc5ffebc660a895af79fca6 100644 (file)
        nvmem-cell-names = "eeprom", "mac-address";
 };
 
+&ethernet {
+       nvmem-cells = <&macaddr_factory_f100 0>;
+       nvmem-cell-names = "mac-address";
+};
+
 &esw {
        mediatek,portmap = <0x3e>;
 };
index b8a394b26ba8dddd05a1840bc9b7f025ce247e34..6c709da0a31d14a4fbcdbf1030e18faab50f1f4e 100644 (file)
        nvmem-cell-names = "eeprom", "mac-address";
 };
 
+&ethernet {
+       nvmem-cells = <&macaddr_factory_f100 0>;
+       nvmem-cell-names = "mac-address";
+};
+
 &esw {
        mediatek,portmap = <0x3e>;
 };
index d280c6b32a72ad9e01e93921cf4a10739ea30ca8..bebb02d0f42df72b58e995fa985b1438752cf764 100644 (file)
        nvmem-cell-names = "eeprom", "mac-address";
 };
 
+&ethernet {
+       nvmem-cells = <&macaddr_factory_f100 0>;
+       nvmem-cell-names = "mac-address";
+};
+
 &pcie {
        status = "okay";
 };
index a41e87edf75babcca3ee80a149f1282866445e50..946efb9443e8aae08c1a47a859a9afc96ee937c9 100644 (file)
        nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100 0>;
        nvmem-cell-names = "eeprom", "mac-address";
 };
+
+&ethernet {
+       nvmem-cells = <&macaddr_factory_f100 0>;
+       nvmem-cell-names = "mac-address";
+};