| // SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
| #include "imx8mm-verdin-dahlia.dtsi" |
| compatible = "simple-audio-card"; |
| simple-audio-card,bitclock-master = <&dailink_master>; |
| simple-audio-card,format = "i2s"; |
| simple-audio-card,frame-master = <&dailink_master>; |
| simple-audio-card,name = "imx8mm-nau8822"; |
| simple-audio-card,routing = |
| simple-audio-card,widgets = |
| "Headphones", "Headphones", |
| dailink_master: simple-audio-card,codec { |
| clocks = <&clk IMX8MM_CLK_SAI2_ROOT>; |
| sound-dai = <&nau8822_1a>; |
| nau8822_1a: audio-codec@1a { |
| compatible = "nuvoton,nau8822"; |
| /* Verdin UART_1, connector X50 through RS485 transceiver */ |
| linux,rs485-enabled-at-boot-time; |
| /* Limit frequency on dev board due to long traces and bad signal integrity */ |
| max-frequency = <100000000>; |