| 1 |
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 |
/* |
| 3 |
* Copyright 2025 NXP |
| 4 |
*/ |
| 5 |
|
| 6 |
/dts-v1/; |
| 7 |
|
| 8 |
#include "imx95-19x19-evk.dts" |
| 9 |
|
| 10 |
/ { |
| 11 |
sof_cpu: cm7-cpu@80000000 { |
| 12 |
compatible = "fsl,imx95-cm7-sof"; |
| 13 |
reg = <0x0 0x80000000 0x0 0x6100000>; |
| 14 |
reg-names = "sram"; |
| 15 |
memory-region = <&adma_res>; |
| 16 |
memory-region-names = "dma"; |
| 17 |
mboxes = <&mu7 2 0>, <&mu7 2 1>, <&mu7 3 0>, <&mu7 3 1>; |
| 18 |
mbox-names = "txdb0", "txdb1", "rxdb0", "rxdb1"; |
| 19 |
|
| 20 |
sai3_cpu: port { |
| 21 |
sai3_cpu_ep: endpoint { |
| 22 |
remote-endpoint = <&wm8962_ep>; |
| 23 |
}; |
| 24 |
}; |
| 25 |
}; |
| 26 |
|
| 27 |
reserved-memory { |
| 28 |
adma_res: memory@86100000 { |
| 29 |
compatible = "shared-dma-pool"; |
| 30 |
reg = <0x0 0x86100000 0x0 0x100000>; |
| 31 |
no-map; |
| 32 |
}; |
| 33 |
}; |
| 34 |
|
| 35 |
sof-sound { |
| 36 |
compatible = "audio-graph-card2"; |
| 37 |
links = <&sai3_cpu>; |
| 38 |
label = "audio"; |
| 39 |
hp-det-gpios = <&gpio2 11 GPIO_ACTIVE_HIGH>; |
| 40 |
pinctrl-names = "default"; |
| 41 |
pinctrl-0 = <&pinctrl_hp>; |
| 42 |
widgets = "Headphone", "Headphones", |
| 43 |
"Microphone", "Headset Mic"; |
| 44 |
routing = "Headphones", "HPOUTL", |
| 45 |
"Headphones", "HPOUTR", |
| 46 |
"Headset Mic", "MICBIAS", |
| 47 |
"IN3R", "Headset Mic", |
| 48 |
"IN1R", "Headset Mic"; |
| 49 |
}; |
| 50 |
|
| 51 |
sound-wm8962 { |
| 52 |
status = "disabled"; |
| 53 |
}; |
| 54 |
|
| 55 |
}; |
| 56 |
|
| 57 |
&edma2 { |
| 58 |
/* channels 30 and 31 reserved for FW usage */ |
| 59 |
dma-channel-mask = <0xc0000000>, <0x0>; |
| 60 |
}; |
| 61 |
|
| 62 |
&sai3 { |
| 63 |
status = "disabled"; |
| 64 |
}; |
| 65 |
|
| 66 |
&wm8962 { |
| 67 |
assigned-clocks = <&scmi_clk IMX95_CLK_AUDIOPLL1_VCO>, |
| 68 |
<&scmi_clk IMX95_CLK_AUDIOPLL2_VCO>, |
| 69 |
<&scmi_clk IMX95_CLK_AUDIOPLL1>, |
| 70 |
<&scmi_clk IMX95_CLK_AUDIOPLL2>, |
| 71 |
<&scmi_clk IMX95_CLK_SAI3>; |
| 72 |
assigned-clock-parents = <0>, <0>, <0>, <0>, <&scmi_clk IMX95_CLK_AUDIOPLL1>; |
| 73 |
assigned-clock-rates = <3932160000>, <3612672000>, |
| 74 |
<393216000>, <361267200>, |
| 75 |
<12288000>; |
| 76 |
|
| 77 |
port { |
| 78 |
wm8962_ep: endpoint { |
| 79 |
bitclock-master; |
| 80 |
frame-master; |
| 81 |
remote-endpoint = <&sai3_cpu_ep>; |
| 82 |
}; |
| 83 |
}; |
| 84 |
}; |