|
| 1 | +/dts-v1/; |
| 2 | + |
| 3 | +#include <arm/armv7-m.dtsi> |
| 4 | +#include "arm/mps2/soc_irq.h" |
| 5 | + |
| 6 | +/ { |
| 7 | + compatible = "arm,mps2"; |
| 8 | + #address-cells = <1>; |
| 9 | + #size-cells = <1>; |
| 10 | + |
| 11 | + chosen { |
| 12 | + zephyr,console = &uart0; |
| 13 | + zephyr,sram = &sram0; |
| 14 | + zephyr,flash = &flash0; |
| 15 | + }; |
| 16 | + |
| 17 | + cpus { |
| 18 | + cpu@0 { |
| 19 | + compatible = "arm,cortex-m3"; |
| 20 | + }; |
| 21 | + }; |
| 22 | + |
| 23 | + sram0: memory { |
| 24 | + compatible = "sram"; |
| 25 | + reg = <0x20000000 0x400000>; |
| 26 | + }; |
| 27 | + |
| 28 | + flash0: flash { |
| 29 | + reg = <0 0x400000>; |
| 30 | + }; |
| 31 | + |
| 32 | + soc { |
| 33 | + uart0: uart@40004000 { |
| 34 | + compatible = "arm,cmsdk-uart"; |
| 35 | + reg = <0x40004000 0x14>; |
| 36 | + interrupts = <IRQ_UART_0_TX 3 IRQ_UART_0_RX 3>; |
| 37 | + current-speed = <115200>; |
| 38 | + }; |
| 39 | + |
| 40 | + uart1: uart@40005000 { |
| 41 | + compatible = "arm,cmsdk-uart"; |
| 42 | + reg = <0x40005000 0x14>; |
| 43 | + interrupts = <IRQ_UART_1_TX 3 IRQ_UART_1_RX 3>; |
| 44 | + current-speed = <115200>; |
| 45 | + }; |
| 46 | + |
| 47 | + uart2: uart@40006000 { |
| 48 | + compatible = "arm,cmsdk-uart"; |
| 49 | + reg = <0x40006000 0x14>; |
| 50 | + interrupts = <IRQ_UART_2_TX 3 IRQ_UART_2_RX 3>; |
| 51 | + current-speed = <115200>; |
| 52 | + }; |
| 53 | + |
| 54 | + uart3: uart@40007000 { |
| 55 | + compatible = "arm,cmsdk-uart"; |
| 56 | + reg = <0x40007000 0x14>; |
| 57 | + interrupts = <IRQ_UART_3_TX 3 IRQ_UART_3_RX 3>; |
| 58 | + current-speed = <115200>; |
| 59 | + }; |
| 60 | + |
| 61 | + uart4: uart@40009000 { |
| 62 | + compatible = "arm,cmsdk-uart"; |
| 63 | + reg = <0x40009000 0x14>; |
| 64 | + interrupts = <IRQ_UART_4_TX 3 IRQ_UART_4_RX 3>; |
| 65 | + current-speed = <115200>; |
| 66 | + }; |
| 67 | + }; |
| 68 | +}; |
| 69 | + |
| 70 | +&nvic { |
| 71 | + arm,num-irq-priority-bits = <3>; |
| 72 | +}; |
0 commit comments