- diff --git a/target/linux/ramips/dts/CF-WR617AC.dts b/target/linux/ramips/dts/CF-WR617AC.dts
- new file mode 100644
- index 0000000000..f669dc1590
- --- /dev/null
- +++ b/target/linux/ramips/dts/CF-WR617AC.dts
- @@ -0,0 +1,70 @@
- +/dts-v1/;
- +
- +#include "mt7628an.dtsi"
- +
- +/ {
- + compatible = "comfast,cf-wr617ac", "mediatek,mt7628an-soc";
- + model = "Comfast CF-WR617AC";
- +
- + chosen {
- + bootargs = "console=ttyS0,115200";
- + };
- +
- + memory@0 {
- + device_type = "memory";
- + reg = <0x0 0x4000000>;
- + };
- +};
- +
- +&pinctrl {
- + state_default: pinctrl0 {
- + gpio {
- + ralink,group = "i2c";
- + ralink,function = "gpio";
- + };
- + };
- +};
- +
- +&spi0 {
- + status = "okay";
- +
- + m25p80@0 {
- + compatible = "jedec,spi-nor";
- + reg = <0>;
- + spi-max-frequency = <10000000>;
- +
- + partitions {
- + compatible = "fixed-partitions";
- + #address-cells = <1>;
- + #size-cells = <1>;
- +
- + partition@0 {
- + label = "u-boot";
- + reg = <0x0 0x30000>;
- + read-only;
- + };
- +
- + partition@30000 {
- + label = "u-boot-env";
- + reg = <0x30000 0x10000>;
- + read-only;
- + };
- +
- + factory: partition@40000 {
- + label = "factory";
- + reg = <0x40000 0x10000>;
- + read-only;
- + };
- +
- + partition@50000 {
- + compatible = "denx,uimage";
- + label = "firmware";
- + reg = <0x50000 0x760000>;
- + };
- + };
- + };
- +};
- +
- +&wmac {
- + status = "okay";
- +};
- diff --git a/target/linux/ramips/image/mt76x8.mk b/target/linux/ramips/image/mt76x8.mk
- index 7df5c04297..ceaef7797f 100644
- --- a/target/linux/ramips/image/mt76x8.mk
- +++ b/target/linux/ramips/image/mt76x8.mk
- @@ -40,6 +40,17 @@ define Device/cudy_wr1000
- endef
- TARGET_DEVICES += cudy_wr1000
- +define Device/comfast_cf-wr617ac
- + IMAGE_SIZE := $(ralink_default_fw_size_16M)
- + DTS := CF-WR617AC
- + DEVICE_VENDOR := Comfast
- + DEVICE_MODEL := CF-WR617AC
- + DEVICE_PACKAGES := kmod-mt76x2
- + DEVICE_TITLE := Comfast CF-WR617AC
- + SUPPORTED_DEVICES += cf-wr617ac
- +endef
- +TARGET_DEVICES += comfast_cf-wr617ac
- +
- define Device/tama_w06
- DTS := W06
- IMAGE_SIZE := 15040k