Skip to content
Snippets Groups Projects
Commit 1864ae90 authored by Yann Gautier's avatar Yann Gautier Committed by Sebastien Pasdeloup
Browse files

fdts: stm32mp1: add firewall regions into device tree


Add the corresponding firewall memory regions
into device tree.

Signed-off-by: default avatarLionel Debieve <lionel.debieve@st.com>
Change-Id: Ie39b0339f3c42b3dd756354138a872500c64f84c
parent 68bf53f8
No related branches found
No related tags found
No related merge requests found
......@@ -42,6 +42,20 @@
max-size = <0x00005000>;
id = <TOS_FW_CONFIG_ID>;
};
#endif
};
st-mem-firewall {
compatible = "st,mem-firewall";
#ifdef AARCH32_SP_OPTEE
memory-ranges = <
0xc0000000 0x3e000000 TZC_REGION_S_NONE TZC_REGION_NSEC_ALL_ACCESS_RDWR
0xfe000000 0x01e00000 TZC_REGION_S_RDWR 0
0xffe00000 0x00200000 TZC_REGION_S_NONE
TZC_REGION_ACCESS_RDWR(STM32MP1_TZC_A7_ID)>;
#else
memory-ranges = <
0xc0000000 0x40000000 TZC_REGION_S_NONE TZC_REGION_NSEC_ALL_ACCESS_RDWR>;
#endif
};
};
......@@ -42,6 +42,20 @@
max-size = <0x00005000>;
id = <TOS_FW_CONFIG_ID>;
};
#endif
};
st-mem-firewall {
compatible = "st,mem-firewall";
#ifdef AARCH32_SP_OPTEE
memory-ranges = <
0xc0000000 0x1e000000 TZC_REGION_S_NONE TZC_REGION_NSEC_ALL_ACCESS_RDWR
0xde000000 0x01e00000 TZC_REGION_S_RDWR 0
0xdfe00000 0x00200000 TZC_REGION_S_NONE
TZC_REGION_ACCESS_RDWR(STM32MP1_TZC_A7_ID)>;
#else
memory-ranges = <
0xc0000000 0x20000000 TZC_REGION_S_NONE TZC_REGION_NSEC_ALL_ACCESS_RDWR>;
#endif
};
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment