dts: nxp: s32ze: add devicetree node for code RAM
Add devicetree node for code RAM, code RAM can be accessed over AIXM bus or AXIF bus. Code access via AXIF interface provides the best optimal performance Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
This commit is contained in:
parent
2b2b41d775
commit
56cd16efbd
9 changed files with 23 additions and 11 deletions
|
@ -13,7 +13,8 @@
|
|||
compatible = "nxp,s32z270";
|
||||
|
||||
chosen {
|
||||
zephyr,sram = &sram0;
|
||||
zephyr,sram = &dram0;
|
||||
zephyr,flash = &cram0;
|
||||
zephyr,canbus = &canxl0;
|
||||
};
|
||||
|
||||
|
|
|
@ -13,9 +13,8 @@
|
|||
compatible = "nxp,s32z270";
|
||||
|
||||
chosen {
|
||||
zephyr,sram = &sram1;
|
||||
zephyr,console = &uart0;
|
||||
zephyr,shell-uart = &uart0;
|
||||
zephyr,sram = &dram1;
|
||||
zephyr,flash = &cram1;
|
||||
zephyr,canbus = &flexcan0;
|
||||
};
|
||||
|
||||
|
|
|
@ -110,12 +110,12 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
sram0: memory@31780000 {
|
||||
dram0: memory@31780000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x31780000 DT_SIZE_M(1)>;
|
||||
};
|
||||
|
||||
sram1: memory@35780000 {
|
||||
dram1: memory@35780000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x35780000 DT_SIZE_M(1)>;
|
||||
};
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2022-2023 NXP
|
||||
* Copyright 2022-2024 NXP
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
@ -16,6 +16,12 @@
|
|||
};
|
||||
|
||||
soc {
|
||||
/* Accessing code RAM over AXIF - a read-only flash memory bus */
|
||||
cram0: memory@79900000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x79900000 DT_SIZE_M(7)>;
|
||||
};
|
||||
|
||||
stm0: stm@76200000 {
|
||||
compatible = "nxp,s32-sys-timer";
|
||||
reg = <0x76200000 0x10000>;
|
||||
|
|
|
@ -16,6 +16,12 @@
|
|||
};
|
||||
|
||||
soc {
|
||||
/* Accessing code RAM over AXIF - a read-only flash memory bus */
|
||||
cram1: memory@7d900000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x7d900000 DT_SIZE_M(7)>;
|
||||
};
|
||||
|
||||
stm0: stm@76a00000 {
|
||||
compatible = "nxp,s32-sys-timer";
|
||||
reg = <0x76a00000 0x10000>;
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
&sram0 {
|
||||
&dram0 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x31780000 DT_SIZE_K(960)>;
|
||||
};
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
&sram1 {
|
||||
&dram1 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x35780000 DT_SIZE_K(960)>;
|
||||
};
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
&sram0 {
|
||||
&dram0 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x31780000 DT_SIZE_K(960)>;
|
||||
};
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
&sram1 {
|
||||
&dram1 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x35780000 DT_SIZE_K(960)>;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue