aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorDavide Ammirata <list@davidea.it>2018-05-03 15:59:27 +0000
committerMathias Kresin <dev@kresin.me>2018-05-07 18:54:23 +0200
commit004cc22e4ef8187dd80d5d6be5a2575453ef3699 (patch)
treeb8e27c07ebd6ed63e68e100d3ec8ffca25b8108a /target/linux/ramips/dts
parent5ef79af4f80f772772e44e38478f2b3b78d40732 (diff)
downloadupstream-004cc22e4ef8187dd80d5d6be5a2575453ef3699.tar.gz
upstream-004cc22e4ef8187dd80d5d6be5a2575453ef3699.tar.bz2
upstream-004cc22e4ef8187dd80d5d6be5a2575453ef3699.zip
ramips: add support for mqmaker witi 512mb version
Splitted out the dts file and create the new dts for the 256 MByte RAM and the 512 MB RAM version. Migrate both versions to the common board detection. The install the 512 MByte Version on a board running the 256 MByte image, a forceful sysupgrade with the -F flag is required. Signed-off-by: Davide Ammirata <list@davidea.it>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/WITI-256M.dts13
-rw-r--r--target/linux/ramips/dts/WITI-512M.dts13
-rw-r--r--target/linux/ramips/dts/WITI.dtsi (renamed from target/linux/ramips/dts/WITI.dts)6
3 files changed, 26 insertions, 6 deletions
diff --git a/target/linux/ramips/dts/WITI-256M.dts b/target/linux/ramips/dts/WITI-256M.dts
new file mode 100644
index 0000000000..4c12d8c3b5
--- /dev/null
+++ b/target/linux/ramips/dts/WITI-256M.dts
@@ -0,0 +1,13 @@
+/dts-v1/;
+
+#include "WITI.dtsi"
+
+/ {
+ compatible = "mqmaker,witi-256m", "mqmaker,witi", "mediatek,mt7621-soc";
+ model = "MQmaker WiTi (256MB RAM)";
+
+ memory@0 {
+ device_type = "memory";
+ reg = <0x0 0x10000000>;
+ };
+};
diff --git a/target/linux/ramips/dts/WITI-512M.dts b/target/linux/ramips/dts/WITI-512M.dts
new file mode 100644
index 0000000000..b249075534
--- /dev/null
+++ b/target/linux/ramips/dts/WITI-512M.dts
@@ -0,0 +1,13 @@
+/dts-v1/;
+
+#include "WITI.dtsi"
+
+/ {
+ compatible = "mqmaker,witi-512m", "mqmaker,witi", "mediatek,mt7621-soc";
+ model = "MQmaker WiTi (512MB RAM)";
+
+ memory@0 {
+ device_type = "memory";
+ reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
+ };
+};
diff --git a/target/linux/ramips/dts/WITI.dts b/target/linux/ramips/dts/WITI.dtsi
index 097c8163ff..767ea03ff0 100644
--- a/target/linux/ramips/dts/WITI.dts
+++ b/target/linux/ramips/dts/WITI.dtsi
@@ -7,12 +7,6 @@
/ {
compatible = "mqmaker,witi", "mediatek,mt7621-soc";
- model = "MQmaker WiTi";
-
- memory@0 {
- device_type = "memory";
- reg = <0x0 0x10000000>;
- };
chosen {
bootargs = "console=ttyS0,57600";