Skip to content

Commit d97d440

Browse files
MaureenHelmkartben
authored andcommitted
boards: adi: Fix incorrect gpio voltage select flags
Fixes several adi boards that incorrectly used pinctrl flags instead of gpio flags in their devicetrees. For max32662evkit and max32672evkit, the flags are removed entirely because these socs don't support gpio voltage selection. Signed-off-by: Maureen Helm <[email protected]>
1 parent 9d5ebb3 commit d97d440

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

boards/adi/max32662evkit/max32662evkit.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,5 +149,5 @@
149149
status = "okay";
150150
pinctrl-0 = <&spi1a_mosi_p0_8 &spi1a_sck_p0_17>;
151151
pinctrl-names = "default";
152-
cs-gpios = <&gpio0 18 (GPIO_ACTIVE_LOW | MAX32_VSEL_VDDIOH)>;
152+
cs-gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
153153
};

boards/adi/max32672evkit/max32672evkit.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
status = "okay";
155155
pinctrl-0 = <&spi0a_mosi_p0_3 &spi0a_miso_p0_2 &spi0a_sck_p0_4>;
156156
pinctrl-names = "default";
157-
cs-gpios = <&gpio0 5 (GPIO_ACTIVE_LOW | MAX32_VSEL_VDDIOH)>;
157+
cs-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
158158
};
159159

160160
&rtc_counter {

boards/adi/max32680evkit/max32680evkit_max32680_m4.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163
status = "okay";
164164
pinctrl-0 = <&spi0a_mosi_p0_5 &spi0a_miso_p0_6 &spi0a_sck_p0_7>;
165165
pinctrl-names = "default";
166-
cs-gpios = <&gpio0 4 (GPIO_ACTIVE_LOW | MAX32_VSEL_VDDIOH)>;
166+
cs-gpios = <&gpio0 4 (GPIO_ACTIVE_LOW | MAX32_GPIO_VSEL_VDDIOH)>;
167167
};
168168

169169
&w1 {

0 commit comments

Comments
 (0)