Orange Pi Zero 2 (Allwinner H616): BSP bring-up + uwe5622 SDIO WiFi driver - #84
Open
berte wants to merge 1 commit into
Open
Orange Pi Zero 2 (Allwinner H616): BSP bring-up + uwe5622 SDIO WiFi driver#84berte wants to merge 1 commit into
berte wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds NetBSD support for the Orange Pi Zero 2 (Allwinner H616), including:
sun50i_h616_ccu.c/h,sun50i_h616_gpio.c), plus real IRQ/DMA support added tosunxi_mmc.cfor the SD/MMC controllers.wpa_supplicant(8)bridge. Supports open networks and WPA2-Personal (PSK/CCMP) on both 2.4GHz and 5GHz. WPA3/SAE is not supported - the firmware's own command ABI has no AKM/auth-type value for it.led_set_by_name()) used to drive a TX/RX activity LED from the driver.uwe5622_sdio(4).The driver is split into several files under
sys/dev/sdmmc/(if_uwe5622_sdio.cplus_transport.c/_fw.c/_proto.c/_data.c/_net80211.cand a sharedif_uwe5622_sdiovar.h), following the same pattern assdmmc.c/sdmmc_io.c/sdmmc_mem.cin the same directory. Firmware/calibration blobs live undersys/dev/microcode/uwe5622/, matching the existing convention used bybge/tigon/atmel.Test plan
All tested on real Orange Pi Zero 2 hardware, netbooted:
iperf3), pingwpa_supplicant, full 4-way handshake, pairwise + group key installKnown limitations
This work is dedicated to my son, who's about to turn one, and to my lovely wife ❤️