Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions boards/nxp/s32z2xxdc2/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ if BOARD_S32Z2XXDC2_S32Z270_RTU0 || BOARD_S32Z2XXDC2_S32Z270_RTU1
config BUILD_OUTPUT_BIN
default n

config XIP
default y

if SERIAL

config UART_INTERRUPT_DRIVEN
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/s32z2xxdc2/s32z2xxdc2_s32z270_rtu0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

chosen {
zephyr,sram = &sram0;
zephyr,flash = &sram_code0;
zephyr,canbus = &canxl0;
};

Expand Down
2 changes: 1 addition & 1 deletion boards/nxp/s32z2xxdc2/s32z2xxdc2_s32z270_rtu0_defconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 2022,2024 NXP
# SPDX-License-Identifier: Apache-2.0

CONFIG_XIP=n
CONFIG_XIP=y
CONFIG_ISR_STACK_SIZE=512
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=8000000
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/s32z2xxdc2/s32z2xxdc2_s32z270_rtu1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

chosen {
zephyr,sram = &sram1;
zephyr,flash = &sram_code1;
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,canbus = &flexcan0;
Expand Down
2 changes: 1 addition & 1 deletion boards/nxp/s32z2xxdc2/s32z2xxdc2_s32z270_rtu1_defconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 2022,2024 NXP
# SPDX-License-Identifier: Apache-2.0

CONFIG_XIP=n
CONFIG_XIP=y
CONFIG_ISR_STACK_SIZE=512
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=8000000
Expand Down
10 changes: 10 additions & 0 deletions dts/arm/nxp/nxp_s32z27x_r52.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,16 @@
reg = <0x35780000 DT_SIZE_M(1)>;
};

sram_code0: memory@32100000 {
compatible = "mmio-sram";
reg = <0x32100000 DT_SIZE_M(7)>;
};

sram_code1: memory@36100000 {
compatible = "mmio-sram";
reg = <0x36100000 DT_SIZE_M(7)>;
};

uart0: uart@40170000 {
compatible = "nxp,s32-linflexd";
reg = <0x40170000 0x1000>;
Expand Down
2 changes: 1 addition & 1 deletion soc/nxp/s32/s32ze/mpu_regions.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ static const struct arm_mpu_region mpu_regions[] = {
REGION_RAM_RO_ATTR((uintptr_t)__rodata_region_end)),

MPU_REGION_ENTRY("SRAM_DATA",
(uintptr_t)__rom_region_end,
(uintptr_t)_image_ram_start,
REGION_RAM_ATTR((uintptr_t)__kernel_ram_end)),

MPU_REGION_ENTRY("DEVICE",
Expand Down
Loading