From df6154848a1486c6dcbf2566ea9fd9bf2e094a40 Mon Sep 17 00:00:00 2001 From: Shiji Yang Date: Sun, 21 Mar 2021 16:45:24 +0800 Subject: 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 [improve commit title, rebase] Signed-off-by: Adrian Schmutzler --- target/linux/ramips/dts/mt7620a_phicomm_psg1218b.dts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'target/linux/ramips/dts/mt7620a_phicomm_psg1218b.dts') diff --git a/target/linux/ramips/dts/mt7620a_phicomm_psg1218b.dts b/target/linux/ramips/dts/mt7620a_phicomm_psg1218b.dts index 822fb13b6f..4143d5e4d6 100644 --- a/target/linux/ramips/dts/mt7620a_phicomm_psg1218b.dts +++ b/target/linux/ramips/dts/mt7620a_phicomm_psg1218b.dts @@ -1,10 +1,18 @@ -#include "mt7620a_phicomm_psg1218.dtsi" +#include "mt7620a_phicomm_k2x.dtsi" / { compatible = "phicomm,psg1218b", "phicomm,psg1218", "ralink,mt7620a-soc"; model = "Phicomm PSG1218 rev.B"; }; +&partitions { + partition@50000 { + compatible = "denx,uimage"; + label = "firmware"; + reg = <0x50000 0x7b0000>; + }; +}; + ðernet { mtd-mac-address = <&factory 0x28>; }; -- cgit v1.2.3