Integrating the Ezurio Sona MT320 in Your Genio 510/700

This tutorial shows how to integrate the Ezurio Sona MT320 Radio into a Mediatek Genio 510 or Genio 700 EVK or MPU.

Note: If you are using either the Ezurio Tungsten510 SMARC SOM or the Ezurio Tungsten700 SMARC SOM, the MT320 is already built in. The code is available here:

Setup

The Sona MT320 supports SDIO 3.0 for both the Wi-Fi and HCI Bluetooth as well as PCM for Bluetooth Audio. The radio comes in two form factors either M.2 1420 SMT or M.2 2230 E Key pluggable. Please see the Datasheet and Integration Guide for information to integrate the radio into your device.

Steps

Download the Genio SDK

Instructions for downloading and building the yocto image can be found on Mediatek’s website: IoT Yocto Overview

Add Ezurio’s Power Tables

The power tables for the MT320 are built into the device tree. A patch needs to be added to your kernel recipe. Download the patch here: Patch

Add the patch as is to your kernel using bbappend. You will then have to create a patch for your DTS. It will look simialr to this:

From 6b74d5a3c7801d4a3a5d77b4ef7d4b4c68a10425 Mon Sep 17 00:00:00 2001
From: Gary Bisson <gary.bisson@boundarydevices.com>
Date: Thu, 28 Mar 2024 12:06:10 +0100
Subject: [PATCH] arm64: dts: mt83x0-tungsten-smarc: include mt320 power tables

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
 arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi b/arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi
index 6b0ad0c76841..1a0414052fa0 100644
--- a/arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt83x0-tungsten-smarc.dtsi
@@ -669,6 +669,7 @@
 	vmmc-supply = <&sdio_fixed_3v3>;
 	vqmmc-supply = <&mt6359_vcn18_ldo_reg>; // VCN18_WIFI
 	mmc-pwrseq = <&wifi_pwrseq>;
+#include "mt7921-mt320-tables.dtsi"
 };
 
 &spi0 {

The above is an example. Your file will be specific to your device tree settings.

Note: To leverage Ezurio’s regulatory grants you must use our power tables.