mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 19:01:56 +00:00
Use Devicetree to describe secure timer0 instead of hardcoding values in <soc.h>. DT files have been structured to match the following requirements: In case of sectimer0 - it's should be only enabled for: - emsdp_em7d_esp.dts - em_starterkit_em7d.dts - nsim_sem_mpu_stack_guard.dts - nsim_sem.dts Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
53 lines
788 B
Plaintext
53 lines
788 B
Plaintext
/*
|
|
* Copyright (c) 2018, Synopsys, Inc. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include <mem.h>
|
|
#include <synopsys/emsk-sec.dtsi>
|
|
#include "em_starterkit_r23.dtsi"
|
|
#include "board.dtsi"
|
|
|
|
/ {
|
|
model = "em_starterkit-em7d";
|
|
compatible = "snps,em_starterkit-em7d", "snps,em_starterkit";
|
|
|
|
aliases {
|
|
uart-0 = &uart0;
|
|
uart-1 = &uart1;
|
|
uart-2 = &uart2;
|
|
};
|
|
|
|
chosen {
|
|
zephyr,sram = &dccm0;
|
|
zephyr,console = &uart1;
|
|
zephyr,shell-uart = &uart1;
|
|
};
|
|
|
|
iccm0: iccm@0 {
|
|
compatible = "arc,iccm";
|
|
reg = <0x0 DT_SIZE_K(256)>;
|
|
};
|
|
|
|
dccm0: dccm@80000000 {
|
|
compatible = "arc,dccm";
|
|
reg = <0x80000000 DT_SIZE_K(128)>;
|
|
};
|
|
};
|
|
|
|
&uart1 {
|
|
status = "okay";
|
|
current-speed = <115200>;
|
|
};
|
|
|
|
&spi0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&spi1 {
|
|
status = "okay";
|
|
};
|