Skip to content

Commit 1234720

Browse files
soburikartben
authored andcommitted
soc: raspberrypi: rp2350: Add initial support for the RP2350B
RP2350B is a rich IO variant in the RP2350 series. Signed-off-by: TOKITA Hiroshi <[email protected]>
1 parent 5184fb9 commit 1234720

File tree

4 files changed

+36
-0
lines changed

4 files changed

+36
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#include <arm/raspberrypi/rpi_pico/rp2350.dtsi>
2+
3+
&gpio0 {
4+
ngpios = <32>;
5+
};
6+
7+
&gpio0_hi {
8+
ngpios = <16>;
9+
};
10+
11+
&die_temp {
12+
io-channels = <&adc 8>;
13+
};

soc/raspberrypi/rpi_pico/rp2350/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@ config SOC_RP2350A_M33
1818
select CPU_HAS_ARM_MPU
1919
select CPU_HAS_ARM_SAU
2020

21+
config SOC_RP2350B_M33
22+
select ARM
23+
select ARM_TRUSTZONE_M
24+
select CPU_CORTEX_M_HAS_SYSTICK
25+
select CPU_CORTEX_M_HAS_VTOR
26+
select CPU_CORTEX_M33
27+
select CPU_HAS_ARM_MPU
28+
select CPU_HAS_ARM_SAU
29+
2130
config RP2_REQUIRES_IMAGE_DEFINITION_BLOCK
2231
bool
2332
default y

soc/raspberrypi/rpi_pico/rp2350/Kconfig.soc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,16 @@ config SOC_RP2350A_M33
2020
help
2121
Use the RP2350A with a Cortex-M33 core in both 'sockets'.
2222

23+
config SOC_RP2350B
24+
bool
25+
select SOC_SERIES_RP2350
26+
27+
config SOC_RP2350B_M33
28+
bool
29+
select SOC_RP2350B
30+
help
31+
Use the RP2350B with a Cortex-M33 core in both 'sockets'.
32+
2333
config SOC
2434
default "rp2350a" if SOC_RP2350A
35+
default "rp2350b" if SOC_RP2350B

soc/raspberrypi/rpi_pico/soc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ family:
99
- name: rp2350a
1010
cpuclusters:
1111
- name: m33
12+
- name: rp2350b
13+
cpuclusters:
14+
- name: m33

0 commit comments

Comments
 (0)