Commit 12347201 authored by TOKITA Hiroshi's avatar TOKITA Hiroshi Committed by Benjamin Cabé
Browse files

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

RP2350B is a rich IO variant in the RP2350 series.

Signed-off-by: default avatarTOKITA Hiroshi <tokita.hiroshi@gmail.com>
parent 5184fb92
Loading
Loading
Loading
Loading
+13 −0
Changes for dts/arm/raspberrypi/rpi_pico/rp2350b.dtsi: 13 added lines, 0 removed lines.
Original line number Diff line number Diff line
#include <arm/raspberrypi/rpi_pico/rp2350.dtsi>

&gpio0 {
	ngpios = <32>;
};

&gpio0_hi {
	ngpios = <16>;
};

&die_temp {
	io-channels = <&adc 8>;
};
+9 −0
Changes for soc/raspberrypi/rpi_pico/rp2350/Kconfig: 9 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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
+11 −0
Changes for soc/raspberrypi/rpi_pico/rp2350/Kconfig.soc: 11 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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
+3 −0
Changes for soc/raspberrypi/rpi_pico/soc.yml: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -9,3 +9,6 @@ family:
    - name: rp2350a
      cpuclusters:
      - name: m33
    - name: rp2350b
      cpuclusters:
      - name: m33