[OpenWrt-Devel] [PATCH 2/2] ramips: remove redundant mtd-eeprom in mt76x8 DTS files
Adrian Schmutzler
freifunk at adrianschmutzler.de
Fri Oct 25 08:06:45 EDT 2019
In mt7628an.dtsi, calibration data for wmac is already defined:
mediatek,mtd-eeprom = <&factory 0x0>;
Thus, this patch removes redundant entries of this property in
derived DTS files.
Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
Question:
While this is mediatek, several DTS files contained
ralink,mtd-eeprom = <&factory 0x0>;
I also removed those, as this is mt76. Can somebody point me to
where ralink,mtd-eeprom and mediatek,mtd-eeprom are defined?
---
target/linux/ramips/dts/mt7628an_alfa-network_awusfree1.dts | 1 -
target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts | 1 -
target/linux/ramips/dts/mt7628an_glinet_vixmini.dts | 2 --
target/linux/ramips/dts/mt7628an_netgear_r6120.dts | 1 -
target/linux/ramips/dts/mt7628an_skylab_skw92a.dts | 1 -
target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts | 1 -
target/linux/ramips/dts/mt7628an_unielec_u7628-01.dtsi | 1 -
target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts | 1 -
8 files changed, 9 deletions(-)
diff --git a/target/linux/ramips/dts/mt7628an_alfa-network_awusfree1.dts b/target/linux/ramips/dts/mt7628an_alfa-network_awusfree1.dts
index ffb8dbac62..35665172c5 100644
--- a/target/linux/ramips/dts/mt7628an_alfa-network_awusfree1.dts
+++ b/target/linux/ramips/dts/mt7628an_alfa-network_awusfree1.dts
@@ -163,5 +163,4 @@
&wmac {
status = "okay";
- mediatek,mtd-eeprom = <&factory 0x0>;
};
diff --git a/target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts b/target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts
index 48dcfc0e5c..979f5d2bc9 100644
--- a/target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts
+++ b/target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts
@@ -90,7 +90,6 @@
&wmac {
status = "okay";
- ralink,mtd-eeprom = <&factory 0x0>;
};
&spi0 {
diff --git a/target/linux/ramips/dts/mt7628an_glinet_vixmini.dts b/target/linux/ramips/dts/mt7628an_glinet_vixmini.dts
index b2e82c64b5..46d74b7651 100644
--- a/target/linux/ramips/dts/mt7628an_glinet_vixmini.dts
+++ b/target/linux/ramips/dts/mt7628an_glinet_vixmini.dts
@@ -63,8 +63,6 @@
&wmac {
status = "okay";
-
- ralink,mtd-eeprom = <&factory 0x0>;
};
&spi0 {
diff --git a/target/linux/ramips/dts/mt7628an_netgear_r6120.dts b/target/linux/ramips/dts/mt7628an_netgear_r6120.dts
index 7fd8924145..12eb638df3 100644
--- a/target/linux/ramips/dts/mt7628an_netgear_r6120.dts
+++ b/target/linux/ramips/dts/mt7628an_netgear_r6120.dts
@@ -133,7 +133,6 @@
&wmac {
status = "okay";
- mediatek,mtd-eeprom = <&factory 0x0>;
};
ðernet {
diff --git a/target/linux/ramips/dts/mt7628an_skylab_skw92a.dts b/target/linux/ramips/dts/mt7628an_skylab_skw92a.dts
index b33b27e80d..addcabd7f9 100644
--- a/target/linux/ramips/dts/mt7628an_skylab_skw92a.dts
+++ b/target/linux/ramips/dts/mt7628an_skylab_skw92a.dts
@@ -59,7 +59,6 @@
&wmac {
status = "okay";
- ralink,mtd-eeprom = <&factory 0x0>;
};
&spi0 {
diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts
index 17b8ff4d0f..93869381cf 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts
+++ b/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts
@@ -91,7 +91,6 @@
&wmac {
status = "okay";
mtd-mac-address = <&factory 0xf100>;
- mediatek,mtd-eeprom = <&factory 0x0>;
};
ðernet {
diff --git a/target/linux/ramips/dts/mt7628an_unielec_u7628-01.dtsi b/target/linux/ramips/dts/mt7628an_unielec_u7628-01.dtsi
index ab6bd6bf00..3416714d96 100644
--- a/target/linux/ramips/dts/mt7628an_unielec_u7628-01.dtsi
+++ b/target/linux/ramips/dts/mt7628an_unielec_u7628-01.dtsi
@@ -126,7 +126,6 @@
&wmac {
status = "okay";
- ralink,mtd-eeprom = <&factory 0x0>;
};
&pinctrl {
diff --git a/target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts b/target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts
index 538827b03f..8b069d4370 100644
--- a/target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts
+++ b/target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts
@@ -184,7 +184,6 @@
&wmac {
status = "okay";
- mediatek,mtd-eeprom = <&factory 0x0>;
};
&pcie {
--
2.20.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list