OpenWrt of GW3000C

I tried to adapt GW3000c by myself but it didn't work, can someone help me?

Connecting to COM3...
Connected.

Probe failed
sy6970 init fa荁ND:  ONFI device found
ID = 1590aa2c
Vendor = 2c
Device = aa
qpic_nand: changing oobsize to 80 from 128 bytes
SPI_ADDR_LEN=3
SF: Detected MX25U25635F with page size 256 Bytes, erase size 64 KiB, total 32 MiB
ipq_spi: page_size: 0x100, sector_size: 0x10000, size: 0x2000000
288 MiB
MMC:   sdhci: Node Not found, skipping initialization

PCI1 is not defined in the device tree
In:    serial@78B3000
Out:   serial@78B3000
Err:   serial@78B3000
machid: 8010008
MMC Device 0 not found
eth0 MAC Address from ART is not valid
eth1 MAC Address from ART is not valid
eth2 MAC Address from ART is not valid
eth3 MAC Address from ART is not valid
eth4 MAC Address from ART is not valid
eth5 MAC Address from ART is not valid
Hit any key to stop autoboot:  0 
ubi0: attaching mtd2
ubi0: scanning is finished
UBI init error 22

Net:   MAC0 addr:0:3:7f:ba:db:ad
PHY ID1: 0x4d
PHY ID2: 0xd0b1
PHY ID1: 0x4d
PHY ID2: 0xd101
EDMA ver 1 hw init
Num rings - TxDesc:1 (0-0) TxCmpl:1 (7-7)
RxDesc:1 (15-15) RxFill:1 (7-7)
ipq807x_edma_alloc_rings: successfull
ipq807x_edma_setup_ring_resources: successfull
ipq807x_edma_configure_rings: successfull
ipq807x_edma_hw_init: successfull
eth0

Net:   MAC0 addr:0:3:7f:ba:db:ad
PHY ID1: 0x4d
PHY ID2: 0xd101
EDMA ver 1 hw init
Num rings - TxDesc:1 (0-0) TxCmpl:1 (7-7)
RxDesc:1 (15-15) RxFill:1 (7-7)
ipq807x_edma_alloc_rings: successfull
ipq807x_edma_setup_ring_resources: successfull
ipq807x_edma_configure_rings: successfull
ipq807x_edma_hw_init: successfull
, eth0
IPQ807x# 
Filesystem                Size      Used Available Use% Mounted on
mtd:ubi_rootfs           35.0M     35.0M         0 100% /rom
tmpfs                   433.2M    912.0K    432.3M   0% /tmp
/dev/ubi0_2              56.0M      9.7M     43.4M  18% /overlay
overlayfs:/overlay       56.0M      9.7M     43.4M  18% /
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock26           2.3M      2.3M         0 100% /lib/firmware/IPQ8074/WIFI_FW
root@GW3KC:~# cat /proc/partitions
-ash: pacat: not found
root@GW3KC:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00050000 00010000 "0:SBL1"
mtd1: 00010000 00010000 "0:MIBIB"
mtd2: 00020000 00010000 "0:BOOTCONFIG"
mtd3: 00020000 00010000 "0:BOOTCONFIG1"
mtd4: 00180000 00010000 "0:QSEE"
mtd5: 00180000 00010000 "0:QSEE_1"
mtd6: 00010000 00010000 "0:DEVCFG"
mtd7: 00010000 00010000 "0:DEVCFG_1"
mtd8: 00010000 00010000 "0:APDP"
mtd9: 00010000 00010000 "0:APDP_1"
mtd10: 00040000 00010000 "0:RPM"
mtd11: 00040000 00010000 "0:RPM_1"
mtd12: 00010000 00010000 "0:CDT"
mtd13: 00010000 00010000 "0:CDT_1"
mtd14: 00010000 00010000 "0:APPSBLENV"
mtd15: 000a0000 00010000 "0:APPSBL"
mtd16: 000a0000 00010000 "0:APPSBL_1"
mtd17: 00060000 00010000 "0:ART"
mtd18: 00080000 00010000 "0:ETHPHYFW"
mtd19: 07000000 00020000 "rootfs"
mtd20: 00800000 00020000 "0:WIFIFW"
mtd21: 07000000 00020000 "rootfs_1"
mtd22: 00800000 00020000 "0:WIFIFW_1"
mtd23: 00592000 0001f000 "kernel"
mtd24: 0231e000 0001f000 "ubi_rootfs"
mtd25: 03e7c000 0001f000 "rootfs_data"
mtd26: 0022e000 0001f000 "wifi_fw"
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/* Copyright 2023 Nokia */

/dts-v1/;

#include "ipq8074.dtsi"
#include "ipq8074-hk-cpu.dtsi"
#include "ipq8074-ess.dtsi"
#include "ipq8074-nss.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>

/ {
	model = "Gosuncn GW3000C";
	compatible = "qcom,ipq807x-hk09", "qcom,ipq8074";

	aliases {
		serial0 = &blsp1_uart5;
		/* Aliases as required by u-boot to patch MAC addresses */
		ethernet0 = &dp4;
		ethernet1 = &dp6; /*WAN*/
		ethernet2 = &dp3;
		ethernet3 = &dp5;
		label-mac-device = &dp6;
	};

	chosen {
		stdout-path = "serial0:115200n8";
		bootargs-append = " root=/dev/ubiblock0_0";
	};

	keys {
		compatible = "gpio-keys";

		reset {
			label = "reset";
			gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
			linux,code = <KEY_RESTART>;
		};

		wps {
			label = "wps"; /* Labeled Mesh on the device */
			gpios = <&tlmm 64 GPIO_ACTIVE_LOW>;
			linux,code = <KEY_WPS_BUTTON>;
		};
	};

};

&tlmm {
	mdio_pins: mdio-pins {
		mdc {
			pins = "gpio68";
			function = "mdc";
			drive-strength = <8>;
			bias-pull-up;
		};

		mdio {
			pins = "gpio69";
			function = "mdio";
			drive-strength = <8>;
			bias-pull-up;
		};

		gpio {
			pins = "gpio44";
			function = "gpio";
			bias-pull-up;
		};
	};

};

&blsp1_uart5 {
	status = "okay";
};

&prng {
	status = "okay";
};

&cryptobam {
	status = "okay";
};

&crypto {
	status = "okay";
};

&qpic_bam {
	status = "okay";
};

&blsp1_spi1 {
	status = "okay";
};

&tlmm {
	mdio_pins: mdio-pins {
		mdc {
			pins = "gpio68";
			function = "mdc";
			drive-strength = <8>;
			bias-pull-up;
		};

		mdio {
			pins = "gpio69";
			function = "mdio";
			drive-strength = <8>;
			bias-pull-up;
		};
	};

};

&blsp1_spi1 {
	status = "okay";

	flash@0 {
		#address-cells = <1>;
		#size-cells = <1>;
		reg = <0>;
		compatible = "jedec,spi-nor";
		linux,modalias = "m25p80", "n25q128a11";
		spi-max-frequency = <50000000>;

		partitions {
			compatible = "fixed-partitions";
			#address-cells = <1>;
			#size-cells = <1>;

			partition@0 {
				label = "0:sbl1";
				reg = <0x0 0x50000>;
				read-only;
			};

			partition@50000 {
				label = "0:mibib";
				reg = <0x50000 0x10000>;
				read-only;
			};

			partition@60000 {
				label = "0:bootconfig";
				reg = <0x60000 0x20000>;
				read-only;
			};

			partition@80000 {
				label = "0:bootconfig1";
				reg = <0x80000 0x20000>;
				read-only;
			};

			partition@a0000 {
				label = "0:qsee";
				reg = <0xa0000 0x180000>;
				read-only;
			};

			partition@220000 {
				label = "0:qsee_1";
				reg = <0x220000 0x180000>;
				read-only;
			};

			partition@3a0000 {
				label = "0:devcfg";
				reg = <0x3a0000 0x10000>;
				read-only;
			};

			partition@3b0000 {
				label = "0:devcfg_1";
				reg = <0x3b0000 0x10000>;
				read-only;
			};

			partition@3c0000 {
				label = "0:apdp";
				reg = <0x3c0000 0x10000>;
				read-only;
			};

			partition@3d0000 {
				label = "0:apdp_1";
				reg = <0x3d0000 0x10000>;
				read-only;
			};

			partition@3e0000 {
				label = "0:rpm";
				reg = <0x3e0000 0x40000>;
				read-only;
			};

			partition@420000 {
				label = "0:rpm_1";
				reg = <0x420000 0x40000>;
				read-only;
			};

			partition@460000 {
				label = "0:cdt";
				reg = <0x460000 0x10000>;
				read-only;
			};

			partition@470000 {
				label = "0:cdt_1";
				reg = <0x470000 0x10000>;
				read-only;
			};

			partition@480000 {
				label = "0:appsblenv";
				reg = <0x480000 0x10000>;
			};

			partition@490000 {
				label = "0:appsbl";
				reg = <0x490000 0xa0000>;
				read-only;
			};

			partition@550000 {
				label = "0:appsbl_1";
				reg = <0x530000 0xa0000>;
				read-only;
			};

			partition@5d0000 {
				label = "0:art";
				reg = <0x5d0000 0x40000>;
				read-only;
			};

			partition@630000 {
				label = "0:ethphyfw";
				reg = <0x630000 0x80000>;
				read-only;
			};
		};
	};
};

&qpic_nand {
	status = "okay";

	nand@0 {
		reg = <0>;
		nand-ecc-strength = <4>;
		nand-ecc-step-size = <512>;
		nand-bus-width = <8>;

		partitions {
			compatible = "fixed-partitions";
			#address-cells = <1>;
			#size-cells = <1>;

			partition@0 {
				label = "rootfs";
				reg = <0x0000000 0x7000000>;
			};

			partition@7000000 {
				label = "0:wififw";
				reg = <0x7000000 0x800000>;
				read-only;
			};

			partition@7800000 {
				label = "rootfs_1";
				reg = <0x7800000 0x7000000>;
			};

			partition@e800000 {
				label = "0:wififw_1";
				reg = <0xe800000 0x800000>;
				read-only;
			};
		};
	};
};

&qusb_phy_0 {
	status = "okay";
};

&qusb_phy_1 {
	status = "okay";
};

&ssphy_0 {
	status = "okay";
};

&ssphy_1 {
	status = "okay";
};

&usb_0 {
	status = "okay";
};

&usb_1 {
	status = "okay";
};


&mdio {
	status = "okay";
	pinctrl-0 = <&mdio_pins>;
	pinctrl-names = "default";
	reset-gpios = <&tlmm 37 GPIO_ACTIVE_LOW>;

	qca8075_1: ethernet-phy@1 {
		compatible = "ethernet-phy-ieee802.3-c22";
		reg = <1>;
	};

	qca8075_2: ethernet-phy@2 {
		compatible = "ethernet-phy-ieee802.3-c22";
		reg = <2>;
	};

	qca8075_3: ethernet-phy@3 {
		compatible = "ethernet-phy-ieee802.3-c22";
		reg = <3>;
	};

	qca8075_4: ethernet-phy@4 {
		compatible = "ethernet-phy-ieee802.3-c22";
		reg = <4>;
	};

	qca8075_5: ethernet-phy@6 {
		compatible = "ethernet-phy-ieee802.3-c22";
		reg = <5>;
	};

	qca8081: ethernet-phy@10 {
		compatible = "ethernet-phy-ieee802.3-c22";
		reg = <10>;
	};

};

&switch {
	status = "okay";

	switch_cpu_bmp = <0x1>;  /* cpu port bitmap */
	switch_lan_bmp = <0x3e>; /* lan port bitmap */
	switch_wan_bmp = <0x40>; /* wan port bitmap */
	switch_mac_mode = <0x0>; /* mac mode for uniphy instance0*/
	switch_mac_mode1 = <0xff>; /* mac mode for uniphy instance1*/
	switch_mac_mode2 = <0x0f>; /* mac mode for uniphy instance2*/
	bm_tick_mode = <0>; /* bm tick mode */
	tm_tick_mode = <0>; /* tm tick mode */

	qcom,port_phyinfo {
		port@0 {
			port_id = <0>;
			phy_address = <1>;
		};
		port@1 {
			port_id = <1>;
			phy_address = <2>;
		};
		port@2 {
			port_id = <2>;
			phy_address = <3>;
		};
		port@3 {
			port_id = <3>;
			phy_address = <4>;
		};
		port@4 {
			port_id = <4>;
			phy_address = <5>;
		};
		port@5 {
			port_id = <6>;
			phy_address = <10>;
			port_mac_sel = "QGMAC_PORT";
		};
	};
};

&edma {
	status = "okay";
};

&dp5 {
        status = "okay";
        phy-handle = <&qca8075_5>;
        label = "lan1";
};

&dp3 {
        status = "okay";
        phy-handle = <&qca8075_2>;
        label = "lan2";
};

&dp4 {
        status = "okay";
        phy-handle = <&qca8075_3>;
        label = "lan3";
};

&dp6 {
        status = "okay";
        phy-handle = <&qca8081>;
        label = "wan";
};

&pcie_qmp0 {
	status = "okay";
};

&pcie0 {
	status = "okay";

	perst-gpio = <&tlmm 58 GPIO_ACTIVE_LOW>;

	bridge@0,0 {
		reg = <0x00020000 0 0 0 0>;
		#address-cells = <3>;
		#size-cells = <2>;
		ranges;
	};
};

&pcie_qmp1 {
	status = "okay";
};

&pcie1 {
	status = "okay";

	perst-gpio = <&tlmm 62 GPIO_ACTIVE_HIGH>;

	bridge@1,0 {
		reg = <0x00010000 0 0 0 0>;
		#address-cells = <3>;
		#size-cells = <2>;
		ranges;
	};
};

&wifi {
	status = "okay";

	qcom,ath11k-calibration-variant = "gw3000c-mb-c";
};

define Device/gw3000c-mb-c
       $(call Device/FitImage)
       $(call Device/UbiFit)
       DEVICE_VENDOR := Gosuncn
       DEVICE_MODEL := GW3000C_MB_C
       BLOCKSIZE := 128k
       PAGESIZE := 2048
       DEVICE_DTS_CONFIG := config@hk09
       SOC := ipq8072
       DEVICE_PACKAGES := ipq-wifi-gw3000c-mb-c
       IMAGE/factory.ubi := append-ubi | qsdk-ipq-factory-nand
endef
TARGET_DEVICES += gw3000c-mb-c