Skip to content

Commit 5184fb9

Browse files
soburikartben
authored andcommitted
drivers: gpio: rpi_pico: Add support for RP2350B
As the RP2350B has more than 32 GPIO pins, we changed the configuration so that it is split into two ports. To do this, we created a `raspberrypi,pico-gpio-port` node and moved the previous `raspberrypi,pico-gpio-port` functions to it. This became a child node of `raspberrypi,pico-gpio-port`, and `raspberrypi,pico-gpio-port` will remain a gpio mapper. Signed-off-by: TOKITA Hiroshi <[email protected]>
1 parent 47655aa commit 5184fb9

File tree

8 files changed

+275
-84
lines changed

8 files changed

+275
-84
lines changed

boards/raspberrypi/rpi_pico2/rpi_pico2.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
pinctrl-names = "default";
9898
};
9999

100-
&gpio0 {
100+
gpio0_lo: &gpio0 {
101101
status = "okay";
102102
};
103103

doc/releases/migration-guide-4.2.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,21 @@ Boards
3737
Device Drivers and Devicetree
3838
*****************************
3939

40+
Ethernet
41+
========
42+
4043
* Removed Kconfig option ``ETH_STM32_HAL_MII`` (:github:`86074`).
4144
PHY interface type is now selected via the ``phy-connection-type`` property in the device tree.
4245

46+
GPIO
47+
====
48+
49+
* To support the RP2350B, which has many pins, the RaspberryPi-GPIO configuration has
50+
been changed. The previous role of :dtcompatible:`raspberrypi,rpi-gpio` has been migrated to
51+
:dtcompatible:`raspberrypi,rpi-gpio-port`, and :dtcompatible:`raspberrypi,rpi-gpio` is
52+
now left as a placeholder and mapper.
53+
The labels have also been changed along, so no changes are necessary for regular use.
54+
4355
Bluetooth
4456
*********
4557

drivers/gpio/Kconfig.rpi_pico

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
config GPIO_RPI_PICO
55
default y
6-
depends on DT_HAS_RASPBERRYPI_PICO_GPIO_ENABLED
6+
depends on DT_HAS_RASPBERRYPI_PICO_GPIO_PORT_ENABLED
77
select PICOSDK_USE_GPIO
88
select PINCTRL
99
bool "Raspberry Pi Pico GPIO driver"

0 commit comments

Comments
 (0)