Skip to content

Commit

Permalink
ipq807x: add wallys DR5018 support
Browse files Browse the repository at this point in the history
Signed-off-by: HaiBac <mail@bacnh.com>
  • Loading branch information
bacnh85 committed Jul 4, 2024
1 parent a449f08 commit 49f1e71
Show file tree
Hide file tree
Showing 12 changed files with 991 additions and 3 deletions.
2 changes: 2 additions & 0 deletions feeds/ipq807x_v5.4/ath11k-wifi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ ALLWIFIBOARDS:= \
indio-um-510axm-v1 \
muxi-ap3220l \
plasmacloud-pax1800 \
wallys-dr5018 \
wallys-dr6018 \
wallys-dr6018-v4 \
tplink-ex227 \
Expand Down Expand Up @@ -395,6 +396,7 @@ $(eval $(call generate-ath11k-wifi-package,muxi-ap3220l,MUXI AP3220L))
$(eval $(call generate-ath11k-wifi-package,yuncore-fap650,YunCore FAP650))
$(eval $(call generate-ath11k-wifi-package,yuncore-fap655,YunCore FAP655))
$(eval $(call generate-ath11k-wifi-package,udaya-a6-id2,Udaya A6-ID2))
$(eval $(call generate-ath11k-wifi-package,wallys-dr5018,Wallys DR5018))

$(foreach PACKAGE,$(ALLWIFIPACKAGES),$(eval $(call BuildPackage,$(PACKAGE))))
$(eval $(call BuildPackage,ath11k-wifi-qcom-ipq5018))
Expand Down
Binary file not shown.
Binary file not shown.
5 changes: 2 additions & 3 deletions feeds/ipq807x_v5.4/ipq50xx/base-files/etc/board.d/01_leds
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ board_config_update
board=$(board_name)

case "$board" in
wallys,dr5018|\
edgecore,eap104)
ucidef_set_led_wlan "wlan2g" "WLAN2G" "green:wifi2" "phy0tpt"
ucidef_set_led_wlan "wlan5g" "WLAN5G" "green:wifi5" "phy1tpt"
ucidef_set_led_netdev "wan" "wan" "yellow:uplink" "eth0"
ucidef_set_led_netdev "wan" "wan" "green:uplink" "eth0"
;;
edgecore,oap101|\
edgecore,oap101-6e|\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ qcom_setup_interfaces()
ucidef_set_interface_lan "eth1"
ucidef_set_interface_wan "eth0"
;;
wallys,dr5018|\
edgecore,eap104)
ucidef_set_interface_wan "eth0"
ucidef_add_switch "switch1" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ ath11k/IPQ5018/hw1.0/caldata.bin)
optimcloud,d50|\
optimcloud,d50-5g|\
udaya,a6-id2|\
wallys,dr5018|\
yuncore,fap655)
caldata_extract "0:ART" 0x1000 0x20000
;;
Expand All @@ -117,13 +118,15 @@ ath11k/qcn6122/hw1.0/caldata_1.bin)
edgecore,oap101e-6e|\
udaya,a6-id2|\
hfcl,ion4xi_w|\
wallys,dr5018|\
yuncore,fap655)
caldata_extract "0:ART" 0x26800 0x20000
;;
esac
;;
ath11k/qcn6122/hw1.0/caldata_2.bin)
case "$board" in
wallys,dr5018|\
edgecore,eap104|\
edgecore,oap101-6e|\
edgecore,oap101e-6e)
Expand Down
2 changes: 2 additions & 0 deletions feeds/ipq807x_v5.4/ipq50xx/base-files/lib/upgrade/platform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ platform_check_image() {
cybertan,eww631-a1|\
cybertan,eww631-b1|\
edgecore,eap104|\
wallys,dr5018|\
hfcl,ion4x_w|\
hfcl,ion4xi_w|\
optimcloud,d60|\
Expand Down Expand Up @@ -123,6 +124,7 @@ platform_do_upgrade() {
cig,wf186w|\
cig,wf186h|\
udaya,a6-id2|\
wallys,dr5018|\
optimcloud,d60|\
optimcloud,d60-5g|\
optimcloud,d50|\
Expand Down
Loading

0 comments on commit 49f1e71

Please sign in to comment.