From 69f6639d1dbba0bd8eb20ddd325528241f238d61 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 24 Feb 2023 06:40:11 +0000
Subject: [PATCH] add 5g fg650

---
 kernel/arch/arm64/configs/rockchip_linux_defconfig |   37 ++++++++++++++++++++++++++++++++++++-
 README.MD                                          |   23 +++++++++++++++++++++++
 2 files changed, 59 insertions(+), 1 deletions(-)

diff --git a/README.MD b/README.MD
index e69de29..7e5190b 100755
--- a/README.MD
+++ b/README.MD
@@ -0,0 +1,23 @@
+## MAC
+i2ctransfer -y -f 3 w2@0x51 0x00 0x00 r6
+
+i2ctransfer -y -f 3 w3@0x51 0x00 0x00 0x68
+i2ctransfer -y -f 3 w3@0x51 0x00 0x01 0xed
+i2ctransfer -y -f 3 w3@0x51 0x00 0x02 0x21
+i2ctransfer -y -f 3 w3@0x51 0x00 0x03 0x26
+i2ctransfer -y -f 3 w3@0x51 0x00 0x04 0x25
+i2ctransfer -y -f 3 w3@0x51 0x00 0x05 0x37
+
+##UART
+UART_RX5_232&UART_TX5_232   /dev/ttyS7
+UART_TTL                    /dev/ttyS0
+UART_RX3_232&UART_TX3_232   /dev/ttyS5
+UART_RX4_232&UART_TX4_232   /dev/ttyS9
+RS485_A1 & RS485_B1         /dev/ttyS3
+RS485_A2 & RS485_B2         /dev/ttyS4
+
+#GPIO
+GPIO1 56
+GPIO2 57
+GPIO3 58
+GPIO4 59
diff --git a/kernel/arch/arm64/configs/rockchip_linux_defconfig b/kernel/arch/arm64/configs/rockchip_linux_defconfig
index 9aa3dae..eb5f9f5 100644
--- a/kernel/arch/arm64/configs/rockchip_linux_defconfig
+++ b/kernel/arch/arm64/configs/rockchip_linux_defconfig
@@ -1822,7 +1822,42 @@
 CONFIG_PPP_SYNC_TTY=y
 # CONFIG_SLIP is not set
 CONFIG_SLHC=y
-# CONFIG_USB_NET_DRIVERS is not set
+CONFIG_USB_NET_DRIVERS=y
+# CONFIG_USB_CATC is not set
+# CONFIG_USB_KAWETH is not set
+# CONFIG_USB_PEGASUS is not set
+# CONFIG_USB_RTL8150 is not set
+# CONFIG_USB_RTL8152 is not set
+# CONFIG_USB_LAN78XX is not set
+CONFIG_USB_USBNET=y
+# CONFIG_USB_NET_AX8817X is not set
+# CONFIG_USB_NET_AX88179_178A is not set
+CONFIG_USB_NET_CDCETHER=y
+CONFIG_USB_NET_CDC_EEM=y
+CONFIG_USB_NET_CDC_NCM=y
+# CONFIG_USB_NET_HUAWEI_CDC_NCM is not set
+# CONFIG_USB_NET_CDC_MBIM is not set
+# CONFIG_USB_NET_DM9601 is not set
+# CONFIG_USB_NET_SR9700 is not set
+# CONFIG_USB_NET_SR9800 is not set
+# CONFIG_USB_NET_SMSC75XX is not set
+# CONFIG_USB_NET_SMSC95XX is not set
+# CONFIG_USB_NET_GL620A is not set
+CONFIG_USB_NET_NET1080=y
+# CONFIG_USB_NET_PLUSB is not set
+# CONFIG_USB_NET_MCS7830 is not set
+CONFIG_USB_NET_RNDIS_HOST=y
+# CONFIG_USB_NET_CDC_SUBSET is not set
+# CONFIG_USB_NET_ZAURUS is not set
+# CONFIG_USB_NET_CX82310_ETH is not set
+# CONFIG_USB_NET_KALMIA is not set
+# CONFIG_USB_NET_QMI_WWAN is not set
+# CONFIG_USB_HSO is not set
+# CONFIG_USB_NET_INT51X1 is not set
+# CONFIG_USB_IPHETH is not set
+# CONFIG_USB_SIERRA_NET is not set
+# CONFIG_USB_VL600 is not set
+# CONFIG_USB_NET_CH9200 is not set
 CONFIG_WLAN=y
 # CONFIG_WIRELESS_WDS is not set
 # CONFIG_WLAN_VENDOR_ADMTEK is not set

--
Gitblit v1.6.2