aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7620a_phicomm_psg1218a.dts
diff options
context:
space:
mode:
authorShiji Yang <yangshiji66@qq.com>2021-03-21 16:45:24 +0800
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-03-21 22:45:20 +0100
commitdf6154848a1486c6dcbf2566ea9fd9bf2e094a40 (patch)
tree3526e176332feda37e067973203d2f7d9a25c0dc /target/linux/ramips/dts/mt7620a_phicomm_psg1218a.dts
parentc36e47c5dad038cdfa0ded1608638ddeb8ce1f32 (diff)
downloadupstream-df6154848a1486c6dcbf2566ea9fd9bf2e094a40.tar.gz
upstream-df6154848a1486c6dcbf2566ea9fd9bf2e094a40.tar.bz2
upstream-df6154848a1486c6dcbf2566ea9fd9bf2e094a40.zip
ramips: create shared DTSI for MT7620 Phicomm K2x series devices
Improve compatibility of the device tree include file. Now a new .dtsi file will support both PSG1218A, PSG1218B and K2G. Signed-off-by: Shiji Yang <yangshiji66@qq.com> [improve commit title, rebase] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/dts/mt7620a_phicomm_psg1218a.dts')
-rw-r--r--target/linux/ramips/dts/mt7620a_phicomm_psg1218a.dts10
1 files changed, 9 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7620a_phicomm_psg1218a.dts b/target/linux/ramips/dts/mt7620a_phicomm_psg1218a.dts
index d17f2fce59..d5aa159498 100644
--- a/target/linux/ramips/dts/mt7620a_phicomm_psg1218a.dts
+++ b/target/linux/ramips/dts/mt7620a_phicomm_psg1218a.dts
@@ -1,10 +1,18 @@
-#include "mt7620a_phicomm_psg1218.dtsi"
+#include "mt7620a_phicomm_k2x.dtsi"
/ {
compatible = "phicomm,psg1218a", "phicomm,psg1218", "ralink,mt7620a-soc";
model = "Phicomm PSG1218 rev.A";
};
+&partitions {
+ partition@50000 {
+ compatible = "denx,uimage";
+ label = "firmware";
+ reg = <0x50000 0x7b0000>;
+ };
+};
+
&ethernet {
mtd-mac-address = <&factory 0x28>;