soc: raspberrypi: rp2350: Add initial support for the RP2350B

RP2350B is a rich IO variant in the RP2350 series.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
This commit is contained in:
TOKITA Hiroshi 2024-09-02 21:54:34 +09:00 committed by Benjamin Cabé
commit 123472013a
4 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,13 @@
#include <arm/raspberrypi/rpi_pico/rp2350.dtsi>
&gpio0 {
ngpios = <32>;
};
&gpio0_hi {
ngpios = <16>;
};
&die_temp {
io-channels = <&adc 8>;
};

View file

@ -18,6 +18,15 @@ config SOC_RP2350A_M33
select CPU_HAS_ARM_MPU
select CPU_HAS_ARM_SAU
config SOC_RP2350B_M33
select ARM
select ARM_TRUSTZONE_M
select CPU_CORTEX_M_HAS_SYSTICK
select CPU_CORTEX_M_HAS_VTOR
select CPU_CORTEX_M33
select CPU_HAS_ARM_MPU
select CPU_HAS_ARM_SAU
config RP2_REQUIRES_IMAGE_DEFINITION_BLOCK
bool
default y

View file

@ -20,5 +20,16 @@ config SOC_RP2350A_M33
help
Use the RP2350A with a Cortex-M33 core in both 'sockets'.
config SOC_RP2350B
bool
select SOC_SERIES_RP2350
config SOC_RP2350B_M33
bool
select SOC_RP2350B
help
Use the RP2350B with a Cortex-M33 core in both 'sockets'.
config SOC
default "rp2350a" if SOC_RP2350A
default "rp2350b" if SOC_RP2350B

View file

@ -9,3 +9,6 @@ family:
- name: rp2350a
cpuclusters:
- name: m33
- name: rp2350b
cpuclusters:
- name: m33