bmips: sercomm,h500-s: add Quantenna network config
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Fri, 24 Mar 2023 09:20:56 +0000 (10:20 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Fri, 24 Mar 2023 10:23:42 +0000 (11:23 +0100)
Sercomm H500-s has an external Quantenna QT3740BC SoC connected by RGMII.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/bmips/nand/base-files/etc/board.d/02_network

index ea95f57251f91914f302f126b0b56e2500b8b4d2..b2a340ecf8cdbd37018e79d25aaf0cfe44c2580c 100644 (file)
@@ -17,7 +17,10 @@ netgear,dgnd3700-v2)
 sercomm,h500-s-lowi |\
 sercomm,h500-s-vfes)
        ucidef_set_bridge_device switch
-       ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 wifi" "wan"
+       ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" "wan"
+       ucidef_set_interface "qtn" device "wifi" protocol "static" ipaddr "1.1.1.1" netmask "255.255.255.252"
+       uci add_list firewall.@zone[0].network='qtn'
+       ;;
 esac
 
 board_config_flush