Skip to content

Commit f4d2757

Browse files
FPlohlkartben
authored andcommitted
dts: arm: nxp: add DAC support for RT11xx
Add DAC support for RT11xx SOCs. Signed-off-by: Florijan Plohl <florijan.plohl@norik.com>
1 parent 7692e3d commit f4d2757

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

dts/arm/nxp/nxp_rt11xx.dtsi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,15 @@
8888
};
8989

9090
soc {
91+
dac: dac@40064000 {
92+
compatible = "nxp,dac12";
93+
reg = <0x40064000 0x4000>;
94+
interrupts = <63 0>;
95+
voltage-reference = <2>;
96+
status = "disabled";
97+
#io-channel-cells = <1>;
98+
};
99+
91100
flexspi: spi@400cc000 {
92101
compatible = "nxp,imx-flexspi";
93102
reg = <0x400cc000 0x4000>;

dts/arm/nxp/nxp_rt11xx_cm4.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@
6262
};
6363
};
6464

65+
&dac {
66+
dmas = <&edma_lpsr0 0 189>;
67+
dma-names = "tx";
68+
};
69+
6570
&sai1 {
6671
dmas = <&edma_lpsr0 0 54>, <&edma_lpsr0 0 55>;
6772
dma-names = "rx", "tx";

dts/arm/nxp/nxp_rt11xx_cm7.dtsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@
9494
};
9595
};
9696

97+
&dac {
98+
dmas = <&edma0 0 189>;
99+
dma-names = "tx";
100+
};
97101

98102
&sai1 {
99103
dmas = <&edma0 0 54>, <&edma0 0 55>;

0 commit comments

Comments
 (0)