Audio Configuration on Verdin-Am62

I’m new to Torizon OS and Toradex products in general.
I’m trying to configure my verdin-am62 SoM running Torizon 7.2.0, that uses a NAU8822 codec.
The SoM shows an installed sound card driver “snd_soc_nau8822” after running "lsmod | grep ‘^snd’.
I believe I need a Device Tree Overlay to “tie” the driver to the actual hardware. I’ve downloaded the overlays provided here: GitHub - toradex/device-trees: Device tree, device tree overlays and related header files. Used by TorizonCore Builder., but none match the NAU8822 codec I have on my board. Most of the support is for the I.MX8M.
Specifically, I’m looking for “verdin-am62_nau8822-btl_overlay.dts” which I can’t find anywhere. Any help would be greatly appreciated.

Hi, I’m the Toradex AI Assistant.

I might make mistakes. Our support team will step in if needed. If I answered your question, please tick the “Solution” checkbox. For follow-up questions to me, please use @ToradexAI in your post.

Did you like my answer? :+1: :-1:


Hello! Welcome to the Toradex community—happy to help you get started with Torizon OS and your Verdin AM62 SoM.

For Torizon OS 7.2.0 on the Verdin AM62, the device tree overlays are maintained on the toradex_6.6-2.2.x-imx branch, which is newer than the one you referenced (toradex_5.4-2.3.x-imx). Specifically, the NAU8822 BTL audio overlay you’re looking for is named verdin-am62_nau8822-btl_overlay.dts. This overlay is available as part of the overlays for Verdin AM62 starting from OS version 6.4.0.

You can find the overlay file and the recommended overlays by:

  1. Cloning the correct repository and branch with the following commands:
    git clone -b toradex_6.6-2.2.x-imx git://git.toradex.com/device-tree-overlays.git device-trees
    
  2. After cloning, look inside the overlays directory for verdin-am62_nau8822-btl_overlay.dts.

Further information and how to apply such overlays in Torizon using TorizonCore Builder are available in these guides:

If you need a step-by-step guide to adding an overlay using TorizonCore Builder, please let me know!

Best regards, Toradex AI Assistant.

I didn’t find any verdin-am62… files in here: git clone -b toradex_6.6-2.2.x-imx git://git.toradex.com/device-tree-overlays.git device-trees

Hey Richard,

You’ll find the AM62 overlay branch here: https://git.toradex.com/cgit/device-tree-overlays.git/tree/overlays?h=toradex_ti-linux-6.6.y

It’s the toradex_ti_linux-6.6.y branch_,_ the one you have linked will be for NXP based modules.

Eric Singer
Toradex

Hi Eric,
I was able to find this overlay file: “verdin-am62-btl_overlay.dtbo” on the SoM here:
boot/ostree/torizon-ec9ba211477b683a4…./dtb/overlays/
I added this file to the “overlays.txt” in /boot/ostree/torizon-ec9ba211477b683a4…./dtb/overlays/
Like this: fdt_overlays=verdin-am62-btl_overlay.dtbo
Is this correct?
Additionally, I found a loaded sound card: snd_soc_nau8822
after executing: lsmod | grep nau8822
however, running /proc/asound/cards produces “— no soundcards --” I assume this is because ALSA is not installed on my verdin-am62 SoM?
Ultimately, I’d like to play sound (I2S) using the Mallow X19 connector, which exposes the I2S clock and data pins.

Hey @ramaral1090,

It sounds correct, you may need to sync/reboot in order to see the overlays take place. As described here: Device Tree Overlays on Torizon | Toradex Developer Center

The Mallow does have the I2S digital audio interface on X19, but the sound card is most likely because you have the default carrier board device tree (for verdin development board). Can you link the output from sudo tdx-info (from on the module). There isn’t a NAU8822 codec on the mallow board. So this is why I believe this.

If you have an external audio codec, you can see our guide with ASLA, which is installed in the base Torizon OS image.

-Eric

This is the output of “sudo tdx-info”:
Software summary

Bootloader: U-Boot
Kernel version: 6.6.84-7.2.0-g8bf00740f043 #1-Torizon SMP PREEMPT Thu Mar 27 16:42:10 UTC 2025
Kernel command line: root=LABEL=otaroot rootfstype=ext4 quiet logo.nologo vt.global_cursor_default=0 plymouth.ignore-serial-consoles splash fbcon=map:3 ostree=/ostree/boot.1/torizon/ec9ba211477b683a44806a237c2aef7ced86fcf9aaf09a12fbbb778532976ed6/0
Distro name: NAME=“Torizon OS”
Distro version: VERSION_ID=7.2.0-build.13
Distro variant: VARIANT=“Docker”
Hostname: verdin-am62-15600883

Hardware info

HW model: Toradex Verdin AM62 on Verdin Development Board
Toradex version: 0074 V1.2A
Serial number: 15600883
Processor arch: aarch64

Don’t know why everything is in bold, sorry. If my carrier board does not have a NAU8822 codec what does it have?

Hey @ramaral1090,

This line here tells me my thinking is correct. The software believes you are working from the Verdin Development board, rather than the mallow.

The way to correct this is to make a customized Torizon OS Image that references the mallow device tree file. This is done via torizon-core builder tool, which is a stand alone tool (CLI) or you do preform as a project template in VSCode.

We have quite a few documents on this torizoncore-builder tool, here is the ‘starting point’ doc.