Skip to content

Commit 78c2cd8

Browse files
committed
drivers: gpio: silabs: gpio driver for EFR series 2 devices
Added the gpio driver for EFR series 2 devices. The SILABS_SISDK_GPIO symbol is added to enable support for the new GPIO driver. The SOC_GECKO_GPIO symbol is retained for now to maintain compatibility with existing drivers and will be removed in a subsequent commit. Signed-off-by: S Mohamed Fiaz <[email protected]>
1 parent 96d062a commit 78c2cd8

File tree

19 files changed

+514
-47
lines changed

19 files changed

+514
-47
lines changed

boards/arduino/nano_matter/arduino_nano_matter.dts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@
176176
};
177177

178178
&gpio {
179-
location-swo = <0>;
180179
status = "okay";
181180
};
182181

boards/seeed/xiao_mg24/xiao_mg24.dts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@
141141
};
142142

143143
&gpio {
144-
location-swo = <0>;
145144
status = "okay";
146145
};
147146

boards/silabs/dev_kits/sltb010a/thunderboard.dtsi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@
119119
};
120120

121121
&gpio {
122-
location-swo = <0>;
123122
status = "okay";
124123
};
125124

boards/silabs/dev_kits/xg27_dk2602a/thunderboard.dtsi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@
119119
};
120120

121121
&gpio {
122-
location-swo = <0>;
123122
status = "okay";
124123
};
125124

boards/silabs/radio_boards/xg24_rb4187c/xg24_rb4187c.dts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@
183183
};
184184

185185
&gpio {
186-
location-swo = <0>;
187186
status = "okay";
188187
};
189188

drivers/gpio/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ zephyr_library_sources_ifdef(CONFIG_GPIO_SAM4L gpio_sam4l.c)
100100
zephyr_library_sources_ifdef(CONFIG_GPIO_SEDI gpio_sedi.c)
101101
zephyr_library_sources_ifdef(CONFIG_GPIO_SI32 gpio_si32.c)
102102
zephyr_library_sources_ifdef(CONFIG_GPIO_SIFIVE gpio_sifive.c)
103+
zephyr_library_sources_ifdef(CONFIG_GPIO_SILABS gpio_silabs.c)
103104
zephyr_library_sources_ifdef(CONFIG_GPIO_SILABS_SIWX91X gpio_silabs_siwx91x.c)
104105
zephyr_library_sources_ifdef(CONFIG_GPIO_SILABS_SIWX91X_UULP gpio_silabs_siwx91x_uulp.c)
105106
zephyr_library_sources_ifdef(CONFIG_GPIO_SMARTBOND gpio_smartbond.c)

drivers/gpio/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ source "drivers/gpio/Kconfig.sc18im704"
184184
source "drivers/gpio/Kconfig.sedi"
185185
source "drivers/gpio/Kconfig.si32"
186186
source "drivers/gpio/Kconfig.sifive"
187+
source "drivers/gpio/Kconfig.silabs"
187188
source "drivers/gpio/Kconfig.siwx91x"
188189
source "drivers/gpio/Kconfig.smartbond"
189190
source "drivers/gpio/Kconfig.sn74hc595"

drivers/gpio/Kconfig.silabs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Copyright (c) 2025 Silicon Laboratories Inc.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
menuconfig GPIO_SILABS
5+
bool "Silabs GPIO driver"
6+
default y
7+
depends on DT_HAS_SILABS_GPIO_ENABLED
8+
select SILABS_SISDK_GPIO
9+
help
10+
Enable the Silabs gpio driver.
11+
12+
if GPIO_SILABS
13+
14+
config GPIO_SILABS_COMMON_INIT_PRIORITY
15+
int "Common initialization priority"
16+
depends on GPIO_SILABS
17+
default 39
18+
19+
endif # GPIO_SILABS

0 commit comments

Comments
 (0)