Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | /dts-v1/; #include <arm/armv7-m.dtsi> #include "arm/mps2/soc_irq.h" / { compatible = "arm,mps2"; #address-cells = <1>; #size-cells = <1>; chosen { zephyr,console = &uart0; zephyr,sram = &sram0; zephyr,flash = &flash0; }; cpus { cpu@0 { compatible = "arm,cortex-m3"; }; }; sram0: memory { compatible = "mmio-sram"; reg = <0x20000000 0x400000>; }; flash0: flash { reg = <0 0x400000>; }; soc { timer0: timer@40000000 { compatible = "arm,cmsdk-timer"; reg = <0x40000000 0x1000>; interrupts = <IRQ_TIMER_0 3>; }; timer1: timer@40001000 { compatible = "arm,cmsdk-timer"; reg = <0x40001000 0x1000>; interrupts = <IRQ_TIMER_1 3>; }; dtimer0: dtimer@40002000 { compatible = "arm,cmsdk-dtimer"; reg = <0x40000000 0x1000>; interrupts = <IRQ_DUAL_TIMER 3>; }; uart0: uart@40004000 { compatible = "arm,cmsdk-uart"; reg = <0x40004000 0x1000>; interrupts = <IRQ_UART_0_TX 3 IRQ_UART_0_RX 3>; current-speed = <115200>; label = "UART_0"; }; uart1: uart@40005000 { compatible = "arm,cmsdk-uart"; reg = <0x40005000 0x1000>; interrupts = <IRQ_UART_1_TX 3 IRQ_UART_1_RX 3>; current-speed = <115200>; label = "UART_1"; }; uart2: uart@40006000 { compatible = "arm,cmsdk-uart"; reg = <0x40006000 0x1000>; interrupts = <IRQ_UART_2_TX 3 IRQ_UART_2_RX 3>; current-speed = <115200>; label = "UART_2"; }; uart3: uart@40007000 { compatible = "arm,cmsdk-uart"; reg = <0x40007000 0x1000>; interrupts = <IRQ_UART_3_TX 3 IRQ_UART_3_RX 3>; current-speed = <115200>; label = "UART_3"; }; wdog0: wdog@40008000 { compatible = "arm,cmsdk-watchdog"; reg = <0x40008000 0x1000>; }; uart4: uart@40009000 { compatible = "arm,cmsdk-uart"; reg = <0x40009000 0x1000>; interrupts = <IRQ_UART_4_TX 3 IRQ_UART_4_RX 3>; current-speed = <115200>; label = "UART_4"; }; gpio0: gpio@40010000 { compatible = "arm,cmsdk-gpio"; reg = <0x40010000 0x1000>; interrupts = <IRQ_GPIO_0_COMBINED 3>; }; gpio1: gpio@40011000 { compatible = "arm,cmsdk-gpio"; reg = <0x40011000 0x1000>; interrupts = <IRQ_GPIO_1_COMBINED 3>; }; gpio2: gpio@40012000 { compatible = "arm,cmsdk-gpio"; reg = <0x40012000 0x1000>; interrupts = <IRQ_GPIO_2_COMBINED 3>; }; gpio3: gpio@40013000 { compatible = "arm,cmsdk-gpio"; reg = <0x40013000 0x1000>; interrupts = <IRQ_GPIO_3_COMBINED 3>; }; }; }; &nvic { arm,num-irq-priority-bits = <3>; }; |