Skip to content

Commit 85aff83

Browse files
mcuxtedkartben
authored andcommitted
dts: arm/nxp/mcxn94x: Add sai nodes for NXP mcxn94x
Add sai nodes for NXP mcxn94x Signed-off-by: Qiang Zhang <[email protected]>
1 parent cbb6c28 commit 85aff83

File tree

2 files changed

+38
-1
lines changed

2 files changed

+38
-1
lines changed

dts/arm/nxp/nxp_mcxn94x_common.dtsi

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,6 +1040,39 @@
10401040
clock-src = <0>;
10411041
alarms-count = <1>;
10421042
};
1043+
1044+
sai0: sai@106000 {
1045+
compatible = "nxp,mcux-i2s";
1046+
#address-cells = <1>;
1047+
#size-cells = <0>;
1048+
#pinmux-cells = <2>;
1049+
reg = < 0x106000 0x1000>;
1050+
clocks = <&syscon MCUX_SAI0_CLK>;
1051+
pinmuxes = <&sai0 0x100 0x40000000>;
1052+
interrupts = <59 0>;
1053+
dmas = <&edma0 0 99>, <&edma0 0 100>;
1054+
dma-names = "rx", "tx";
1055+
nxp,tx-channel = <1>;
1056+
nxp,tx-dma-channel = <0>;
1057+
nxp,rx-dma-channel = <1>;
1058+
status = "disabled";
1059+
};
1060+
sai1: sai@107000 {
1061+
compatible = "nxp,mcux-i2s";
1062+
#address-cells = <1>;
1063+
#size-cells = <0>;
1064+
#pinmux-cells = <2>;
1065+
reg = < 0x107000 0x1000>;
1066+
clocks = <&syscon MCUX_SAI1_CLK>;
1067+
pinmuxes = <&sai1 0x100 0x40000000>;
1068+
interrupts = <60 0>;
1069+
dmas = <&edma0 0 101>, <&edma0 0 102>;
1070+
dma-names = "rx", "tx";
1071+
nxp,tx-channel = <1>;
1072+
nxp,tx-dma-channel = <2>;
1073+
nxp,rx-dma-channel = <3>;
1074+
status = "disabled";
1075+
};
10431076
};
10441077

10451078
&systick {

dts/bindings/i2s/nxp,mcux-i2s.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2021,2023 NXP
1+
# Copyright 2021,2023-2024 NXP
22
# SPDX-License-Identifier: Apache-2.0
33

44
description: NXP mcux SAI-I2S controller
@@ -64,3 +64,7 @@ properties:
6464
clock-mux:
6565
type: int
6666
description: Clock mux source for SAI root clock
67+
68+
pinmux-cells:
69+
- pin
70+
- function

0 commit comments

Comments
 (0)