aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7628an.dtsi
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-08-17 14:07:57 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-08-17 18:41:17 +0200
commitad6b0770493e0fd332db9a7fe09f9214342c578b (patch)
treeffabf9f0c3582c531343160faf9eb2a0667d1425 /target/linux/ramips/dts/mt7628an.dtsi
parent9704d25da1ed859fa8464689eab2a7ffb284bc8c (diff)
downloadupstream-ad6b0770493e0fd332db9a7fe09f9214342c578b.tar.gz
upstream-ad6b0770493e0fd332db9a7fe09f9214342c578b.tar.bz2
upstream-ad6b0770493e0fd332db9a7fe09f9214342c578b.zip
ramips: mt7628: move mtd-eeprom out of root DTSI
The mt76x8 subtarget is the only one in ramips that stores the mediatek,mtd-eeprom property directly in the "root" mt7628an.dtsi. This is not optimal for a few different reasons: * If you don't really know it or are used to other (sub)targets, the property will be set somewhat magically. * The property is set based on &factory partition before (if at all) this partition is defined. * There are several devices that have different offset or even different partitions to read from, which will then be overwritten in the DTS files. Thus, definitions are scattered between root DTSI and individual files. Based on these circumstances, the "root" definition is removed and the property is added to the device-based DTS(I) files where needed and applicable. This should be easier to grasp for unexperienced developers and will move the property closer to the partition definitions. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/dts/mt7628an.dtsi')
-rw-r--r--target/linux/ramips/dts/mt7628an.dtsi2
1 files changed, 0 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi
index 0dafdc790e..7bc001207b 100644
--- a/target/linux/ramips/dts/mt7628an.dtsi
+++ b/target/linux/ramips/dts/mt7628an.dtsi
@@ -492,7 +492,5 @@
interrupts = <6>;
status = "disabled";
-
- mediatek,mtd-eeprom = <&factory 0x0000>;
};
};