Skip to content

Commit 09d0905

Browse files
dts: arm: nxp_imx93_m33: add ADC node
Add ADC node on imx93 core m33 Signed-off-by: Qiang Zhao <[email protected]>
1 parent 2556d92 commit 09d0905

File tree

4 files changed

+22
-3
lines changed

4 files changed

+22
-3
lines changed

boards/nxp/imx93_evk/doc/index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ TPM2 is enabled for PWM for M33 core. Signals can be observerd with
5555
oscilloscope or logic analyzer.
5656
Connect J1005-3 and J1005-7(GND) to Oscilloscope or logic analyzer
5757

58+
ADC
59+
---
60+
61+
sar_adc1 is enabled for M33 core. Pins ADC_IN0/1/2/3 are connected to J1003-1/3/5/7
62+
5863
Devices
5964
========
6065
System Clock

boards/nxp/imx93_evk/imx93_evk_mimx9352_m33.dts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 NXP
2+
* Copyright 2024-2025 NXP
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -69,6 +69,10 @@
6969
pinctrl-names = "default";
7070
};
7171

72+
&sar_adc1 {
73+
status = "okay";
74+
};
75+
7276
&gpio1 {
7377
status = "okay";
7478
};

boards/nxp/imx93_evk/imx93_evk_mimx9352_m33.yaml

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

44
identifier: imx93_evk/mimx9352/m33
@@ -14,4 +14,5 @@ supported:
1414
- gpio
1515
- uart
1616
- pwm
17+
- adc
1718
vendor: nxp

dts/arm/nxp/nxp_imx93_m33.dtsi

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 NXP
2+
* Copyright 2024-2025 NXP
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -156,6 +156,15 @@
156156
#pwm-cells = <3>;
157157
status = "disabled";
158158
};
159+
160+
sar_adc1: adc@44530000 {
161+
compatible = "nxp,sar-adc";
162+
reg = <0x44530000 DT_SIZE_K(64)>;
163+
interrupts = <219 0>;
164+
status = "disabled";
165+
#io-channel-cells = <1>;
166+
clocks = <&ccm IMX_CCM_SAR_ADC1_CLK 0x0 0>;
167+
};
159168
};
160169
};
161170

0 commit comments

Comments
 (0)