Skip to content

Commit af57912

Browse files
MaureenHelmnashif
authored andcommitted
boards: adi: apard32690: Configure pmod spi pins
Configures pins for the SPI instance attached to the Pmod connector to enable using this board with the pmod_acl shield. Signed-off-by: Maureen Helm <[email protected]>
1 parent 64225c3 commit af57912

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

boards/adi/apard32690/apard32690_max32690_m4.dts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,28 @@ arduino_spi: &spi1 {
110110
pinctrl-names = "default";
111111
};
112112

113+
&spi4a_miso_p1_2 {
114+
power-source = <MAX32_VSEL_VDDIOH>;
115+
};
116+
117+
&spi4a_mosi_p1_1 {
118+
power-source = <MAX32_VSEL_VDDIOH>;
119+
};
120+
121+
&spi4a_sck_p1_3 {
122+
power-source = <MAX32_VSEL_VDDIOH>;
123+
};
124+
125+
&spi4a_ss0_p1_0 {
126+
power-source = <MAX32_VSEL_VDDIOH>;
127+
};
128+
129+
pmod_spi: &spi4 {
130+
pinctrl-0 = <&spi4a_miso_p1_2 &spi4a_mosi_p1_1 &spi4a_sck_p1_3
131+
&spi4a_ss0_p1_0>;
132+
pinctrl-names = "default";
133+
};
134+
113135
&spi3a_miso_p0_20 {
114136
power-source = <MAX32_VSEL_VDDIOH>;
115137
};

boards/adi/apard32690/apard32690_max32690_m4.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ toolchain:
1010
supported:
1111
- arduino_serial
1212
- arduino_spi
13+
- pmod_spi
1314
- gpio
1415
- serial
1516
- spi

0 commit comments

Comments
 (0)