Skip to content

Commit f3e870d

Browse files
LaurentiuM1234nashif
authored andcommitted
boards: nxp: imx95_evk: add edma and sai nodes
Add edma and sai nodes for the M7-based i.MX95 board. Signed-off-by: Laurentiu Mihalcea <[email protected]>
1 parent c0cfe49 commit f3e870d

File tree

3 files changed

+40
-0
lines changed

3 files changed

+40
-0
lines changed

boards/nxp/imx95_evk/imx95_evk-pinctrl.dtsi

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,17 @@
4747
drive-strength = "x4";
4848
};
4949
};
50+
51+
sai3_default: sai3_default {
52+
group0 {
53+
pinmux = <&iomuxc_gpio_io16_sai_tx_bclk_sai3_tx_bclk>,
54+
<&iomuxc_gpio_io17_sai_mclk_sai3_mclk>,
55+
<&iomuxc_gpio_io20_sai_rx_data_bit_sai3_rx_data_bit0>,
56+
<&iomuxc_gpio_io21_sai_tx_data_bit_sai3_tx_data_bit0>,
57+
<&iomuxc_gpio_io26_sai_tx_sync_sai3_tx_sync>;
58+
bias-pull-up;
59+
slew-rate = "slightly_fast";
60+
drive-strength = "x4";
61+
};
62+
};
5063
};

boards/nxp/imx95_evk/imx95_evk_mimx9596_m7.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,8 @@
4141
pinctrl-0 = <&lpuart3_default>;
4242
pinctrl-names = "default";
4343
};
44+
45+
&sai3 {
46+
pinctrl-0 = <&sai3_default>;
47+
pinctrl-names = "default";
48+
};

dts/arm/nxp/nxp_imx95_m7.dtsi

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,15 @@
7777
reg = <0x20000000 DT_SIZE_K(256)>;
7878
};
7979

80+
edma2: dma@42000000 {
81+
compatible = "nxp,edma";
82+
reg = <0x42000000 (DT_SIZE_K(64) * 33)>;
83+
valid-channels = <30>, <31>;
84+
interrupts = <143 0>, <143 0>;
85+
#dma-cells = <2>;
86+
status = "disabled";
87+
};
88+
8089
lpi2c3: i2c@42530000 {
8190
compatible = "nxp,imx-lpi2c";
8291
clock-frequency = <I2C_BITRATE_STANDARD>;
@@ -131,6 +140,19 @@
131140
status = "disabled";
132141
};
133142

143+
sai3: dai@42650000 {
144+
compatible = "nxp,dai-sai";
145+
reg = <0x42650000 DT_SIZE_K(64)>;
146+
clocks = <&scmi_clk IMX95_CLK_SAI3>;
147+
clock-names = "mclk1";
148+
interrupts = <170 0>;
149+
dai-index = <3>;
150+
mclk-is-output;
151+
dmas = <&edma2 30 60>, <&edma2 31 61>;
152+
dma-names = "tx", "rx";
153+
status = "disabled";
154+
};
155+
134156
lpuart7: serial@42690000 {
135157
compatible = "nxp,imx-lpuart", "nxp,kinetis-lpuart";
136158
reg = <0x42690000 DT_SIZE_K(64)>;

0 commit comments

Comments
 (0)