diff --git a/target/linux/ramips/dts/mt7621_xiaoyu_xy-c5.dts b/target/linux/ramips/dts/XiaoYu-C5.dts similarity index 94% rename from target/linux/ramips/dts/mt7621_xiaoyu_xy-c5.dts rename to target/linux/ramips/dts/XiaoYu-C5.dts index 072b2cc455..8d7cf3ecfd 100644 --- a/target/linux/ramips/dts/mt7621_xiaoyu_xy-c5.dts +++ b/target/linux/ramips/dts/XiaoYu-C5.dts @@ -17,6 +17,11 @@ label-mac-device = ðernet; }; + memory@0 { + device_type = "memory"; + reg = <0x0 0x1c000000>, <0x20000000 0x4000000>; + }; + chosen { bootargs = "console=ttyS0,57600"; }; diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index 3173e528ef..af15b9e487 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -131,10 +131,9 @@ endef TARGET_DEVICES += mediatek_ap-mt7621a-v60 define Device/xiaoyu_xy-c5 - MTK_SOC := mt7621 - IMAGE_SIZE := 32448k - DEVICE_VENDOR := XiaoYu - DEVICE_MODEL := XY-C5 + DTS := XiaoYu-C5 + IMAGE_SIZE := $(ralink_default_fw_size_32M) + DEVICE_TITLE := XiaoYu_XY-C5 DEVICE_PACKAGES := kmod-ata-core kmod-ata-ahci kmod-usb3 endef TARGET_DEVICES += xiaoyu_xy-c5