1/* 2 * Copyright (c) 2018-2021 Linaro Limited 3 * Copyright 2024 Arm Limited and/or its affiliates <open-source-office@arm.com> 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 8/dts-v1/; 9 10#include <arm/armv8.1-m.dtsi> 11#include <zephyr/dt-bindings/i2c/i2c.h> 12#include <zephyr/dt-bindings/input/input-event-codes.h> 13#include <mem.h> 14#include "mps3_common.dtsi" 15 16/ { 17 compatible = "arm,mps3-an547"; 18 #address-cells = <1>; 19 #size-cells = <1>; 20 21 chosen { 22 zephyr,console = &uart0; 23 zephyr,shell-uart = &uart0; 24 zephyr,sram = &dtcm; 25 zephyr,flash = &itcm; 26 }; 27 28 cpus { 29 #address-cells = <1>; 30 #size-cells = <0>; 31 32 cpu@0 { 33 device_type = "cpu"; 34 compatible = "arm,cortex-m55"; 35 reg = <0>; 36 #address-cells = <1>; 37 #size-cells = <1>; 38 39 mpu: mpu@e000ed90 { 40 compatible = "arm,armv8.1m-mpu"; 41 reg = <0xe000ed90 0x40>; 42 }; 43 }; 44 }; 45 46 ethosu { 47 #address-cells = <1>; 48 #size-cells = <0>; 49 interrupt-parent = <&nvic>; 50 51 ethosu0: ethosu@48102000 { 52 compatible = "arm,ethos-u"; 53 reg = <0x48102000>; 54 interrupts = <56 3>; 55 secure-enable; 56 privilege-enable; 57 status = "okay"; 58 }; 59 }; 60 61 /* We utilize the secure addresses, if you subtract 0x10000000 62 * you'll get the non-secure alias 63 */ 64 itcm: itcm@10000000 { /* alias @ 0x0 */ 65 compatible = "zephyr,memory-region"; 66 reg = <0x10000000 DT_SIZE_K(512)>; 67 zephyr,memory-region = "ITCM"; 68 }; 69 70 sram: sram@11000000 { /* alias @ 0x01000000 */ 71 compatible = "zephyr,memory-region", "mmio-sram"; 72 reg = <0x11000000 DT_SIZE_M(2)>; 73 zephyr,memory-region = "SRAM"; 74 }; 75 76 dtcm: dtcm@30000000 { /* alias @ 0x20000000 */ 77 compatible = "zephyr,memory-region"; 78 reg = <0x30000000 DT_SIZE_K(512)>; 79 zephyr,memory-region = "DTCM"; 80 }; 81 82 isram: sram@31000000 {/* alias @ 0x21000000 */ 83 compatible = "zephyr,memory-region", "mmio-sram"; 84 reg = <0x31000000 DT_SIZE_M(4)>; 85 zephyr,memory-region = "ISRAM"; 86 }; 87 88 soc { 89 peripheral@50000000 { 90 #address-cells = <1>; 91 #size-cells = <1>; 92 ranges = <0x0 0x50000000 0x10000000>; 93 94 #include "mps3_common_soc_peripheral.dtsi" 95 }; 96 }; 97}; 98