| /* |
| * Copyright (c) 2018-2019 Linaro Limited |
| * |
| * SPDX-License-Identifier: Apache-2.0 |
| */ |
| |
| /dts-v1/; |
| |
| #include <arm/armv8-m.dtsi> |
| #include <dt-bindings/i2c/i2c.h> |
| |
| / { |
| compatible = "arm,mps2"; |
| #address-cells = <1>; |
| #size-cells = <1>; |
| |
| chosen { |
| zephyr,console = &uart0; |
| zephyr,shell-uart = &uart0; |
| zephyr,sram = &sram0; |
| zephyr,flash = &flash0; |
| }; |
| |
| cpus { |
| #address-cells = <1>; |
| #size-cells = <0>; |
| |
| cpu@0 { |
| device_type = "cpu"; |
| compatible = "arm,cortex-m33"; |
| reg = <0>; |
| #address-cells = <1>; |
| #size-cells = <1>; |
| |
| mpu: mpu@e000ed90 { |
| compatible = "arm,armv8m-mpu"; |
| reg = <0xe000ed90 0x40>; |
| arm,num-mpu-regions = <16>; |
| }; |
| }; |
| }; |
| |
| sram0: memory@30000000 { |
| compatible = "mmio-sram"; |
| reg = <0x30000000 0x1000000>; |
| }; |
| |
| flash0: flash@10000000 { |
| reg = <0x10000000 0xE000000>; |
| }; |
| |
| soc { |
| peripheral@50000000 { |
| #address-cells = <1>; |
| #size-cells = <1>; |
| ranges = <0x0 0x50000000 0x10000000>; |
| |
| #include "mps2_an521-common.dtsi" |
| }; |
| }; |
| }; |
| |
| &nvic { |
| arm,num-irq-priority-bits = <3>; |
| }; |