Skip to content

Commit fc29380

Browse files
lucien-nxpdanieldegrasse
authored andcommitted
dts: arm: nxp: support sai instances on rt700 cm33 cpu0
add 3 sai instances on cm33 cpu0 add pinmux-cells in lpc-syscon.yaml Signed-off-by: Lucien Zhao <[email protected]>
1 parent 2bcec4c commit fc29380

File tree

2 files changed

+56
-0
lines changed

2 files changed

+56
-0
lines changed

dts/arm/nxp/nxp_rt7xx_cm33_cpu0.dtsi

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@
274274
compatible = "nxp,lpc-syscon";
275275
reg = <0x2000 0x1000>;
276276
#clock-cells = <1>;
277+
#pinmux-cells = <2>;
277278
};
278279

279280
syscon2: syscon@66000 {
@@ -1069,6 +1070,57 @@
10691070
clk-divider = <1>;
10701071
};
10711072

1073+
sai0: sai@152000 {
1074+
compatible = "nxp,mcux-i2s";
1075+
#address-cells = <1>;
1076+
#size-cells = <0>;
1077+
#pinmux-cells = <2>;
1078+
reg = < 0x152000 0x1000>;
1079+
clocks = <&clkctl0 MCUX_SAI0_CLK>;
1080+
pinmuxes = <&syscon0 0x240 0x1>;
1081+
interrupts = <115 0>;
1082+
dmas = <&edma0 0 81>, <&edma0 1 82>;
1083+
dma-names = "rx", "tx";
1084+
nxp,tx-channel = <1>;
1085+
nxp,tx-dma-channel = <1>;
1086+
nxp,rx-dma-channel = <0>;
1087+
status = "disabled";
1088+
};
1089+
1090+
sai1: sai@153000 {
1091+
compatible = "nxp,mcux-i2s";
1092+
#address-cells = <1>;
1093+
#size-cells = <0>;
1094+
#pinmux-cells = <2>;
1095+
reg = < 0x153000 0x1000>;
1096+
clocks = <&clkctl0 MCUX_SAI1_CLK>;
1097+
pinmuxes = <&syscon0 0x240 0x1>;
1098+
interrupts = <116 0>;
1099+
dmas = <&edma0 0 83>, <&edma0 0 84>;
1100+
dma-names = "rx", "tx";
1101+
nxp,tx-channel = <1>;
1102+
nxp,tx-dma-channel = <2>;
1103+
nxp,rx-dma-channel = <3>;
1104+
status = "disabled";
1105+
};
1106+
1107+
sai2: sai@154000 {
1108+
compatible = "nxp,mcux-i2s";
1109+
#address-cells = <1>;
1110+
#size-cells = <0>;
1111+
#pinmux-cells = <2>;
1112+
reg = < 0x154000 0x1000>;
1113+
clocks = <&clkctl0 MCUX_SAI2_CLK>;
1114+
pinmuxes = <&syscon0 0x240 0x1>;
1115+
interrupts = <117 0>;
1116+
dmas = <&edma0 0 85>, <&edma0 0 86>;
1117+
dma-names = "rx", "tx";
1118+
nxp,tx-channel = <1>;
1119+
nxp,tx-dma-channel = <2>;
1120+
nxp,rx-dma-channel = <3>;
1121+
status = "disabled";
1122+
};
1123+
10721124
sc_timer: pwm@114000 {
10731125
compatible = "nxp,sctimer-pwm";
10741126
reg = <0x114000 0x1000>;

dts/bindings/clock/nxp,lpc-syscon.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@ properties:
1616

1717
clock-cells:
1818
- name
19+
20+
pinmux-cells:
21+
- offset
22+
- mask

0 commit comments

Comments
 (0)