|
6 | 6 |
|
7 | 7 | #include <arm/armv7-m.dtsi>
|
8 | 8 | #include <adi/max32/max32xxx.dtsi>
|
9 |
| - |
10 |
| -&sram0 { |
11 |
| - reg = <0x20000000 DT_SIZE_M(1)>; |
12 |
| -}; |
| 9 | +#include <zephyr/dt-bindings/dma/max32650_dma.h> |
13 | 10 |
|
14 | 11 | &flash0 {
|
15 | 12 | reg = <0x10000000 DT_SIZE_M(3)>;
|
|
30 | 27 |
|
31 | 28 | /delete-node/ &trng;
|
32 | 29 |
|
| 30 | +/delete-node/ &wdt0; |
| 31 | + |
33 | 32 | &pinctrl {
|
34 | 33 | reg = <0x40008000 0x4000>;
|
35 | 34 |
|
|
57 | 56 | /* MAX32650 extra peripherals. */
|
58 | 57 | / {
|
59 | 58 | soc {
|
| 59 | + sram1: memory@20008000 { |
| 60 | + compatible = "mmio-sram"; |
| 61 | + reg = <0x20008000 DT_SIZE_K(64)>; |
| 62 | + }; |
| 63 | + |
| 64 | + sram2: memory@20018000 { |
| 65 | + compatible = "mmio-sram"; |
| 66 | + reg = <0x20018000 DT_SIZE_K(32)>; |
| 67 | + }; |
| 68 | + |
| 69 | + sram3: memory@20020000 { |
| 70 | + compatible = "mmio-sram"; |
| 71 | + reg = <0x20020000 DT_SIZE_K(128)>; |
| 72 | + }; |
| 73 | + |
| 74 | + sram4: memory@20040000 { |
| 75 | + compatible = "mmio-sram"; |
| 76 | + reg = <0x20040000 DT_SIZE_K(256)>; |
| 77 | + }; |
| 78 | + |
| 79 | + sram5: memory@20080000 { |
| 80 | + compatible = "mmio-sram"; |
| 81 | + reg = <0x20080000 DT_SIZE_K(256)>; |
| 82 | + }; |
| 83 | + |
| 84 | + sram6: memory@200c0000 { |
| 85 | + compatible = "mmio-sram"; |
| 86 | + reg = <0x200c0000 DT_SIZE_K(256)>; |
| 87 | + }; |
| 88 | + |
60 | 89 | trng: trng@400b5000 {
|
61 | 90 | compatible = "adi,max32-trng";
|
62 | 91 | reg = <0x400b5000 0x1000>;
|
|
105 | 134 | #pwm-cells = <3>;
|
106 | 135 | };
|
107 | 136 | };
|
| 137 | + |
| 138 | + spi0: spi@40046000 { |
| 139 | + compatible = "adi,max32-spi"; |
| 140 | + reg = <0x40046000 0x1000>; |
| 141 | + #address-cells = <1>; |
| 142 | + #size-cells = <0>; |
| 143 | + clocks = <&gcr ADI_MAX32_CLOCK_BUS0 6>; |
| 144 | + interrupts = <16 0>; |
| 145 | + status = "disabled"; |
| 146 | + }; |
| 147 | + |
| 148 | + spi1: spi@40047000 { |
| 149 | + compatible = "adi,max32-spi"; |
| 150 | + reg = <0x40047000 0x1000>; |
| 151 | + #address-cells = <1>; |
| 152 | + #size-cells = <0>; |
| 153 | + clocks = <&gcr ADI_MAX32_CLOCK_BUS0 7>; |
| 154 | + interrupts = <17 0>; |
| 155 | + status = "disabled"; |
| 156 | + }; |
| 157 | + |
| 158 | + spi2: spi@40048000 { |
| 159 | + compatible = "adi,max32-spi"; |
| 160 | + reg = <0x40048000 0x1000>; |
| 161 | + #address-cells = <1>; |
| 162 | + #size-cells = <0>; |
| 163 | + clocks = <&gcr ADI_MAX32_CLOCK_BUS0 8>; |
| 164 | + interrupts = <18 0>; |
| 165 | + status = "disabled"; |
| 166 | + }; |
| 167 | + |
| 168 | + spi3: spi@400be000 { |
| 169 | + compatible = "adi,max32-spi"; |
| 170 | + reg = <0x400be000 0x400>; |
| 171 | + #address-cells = <1>; |
| 172 | + #size-cells = <0>; |
| 173 | + clocks = <&gcr ADI_MAX32_CLOCK_BUS1 14>; |
| 174 | + interrupts = <56 0>; |
| 175 | + status = "disabled"; |
| 176 | + }; |
| 177 | + |
| 178 | + wdt0: watchdog@40003000 { |
| 179 | + compatible = "adi,max32-watchdog"; |
| 180 | + reg = <0x40003000 0x400>; |
| 181 | + interrupts = <1 0>; |
| 182 | + clock-source = <ADI_MAX32_PRPH_CLK_SRC_PCLK>; |
| 183 | + status = "disabled"; |
| 184 | + }; |
| 185 | + |
| 186 | + wdt1: watchdog@40003400 { |
| 187 | + compatible = "adi,max32-watchdog"; |
| 188 | + reg = <0x40003400 0x400>; |
| 189 | + interrupts = <57 0>; |
| 190 | + clock-source = <ADI_MAX32_PRPH_CLK_SRC_PCLK>; |
| 191 | + status = "disabled"; |
| 192 | + }; |
| 193 | + |
| 194 | + dma0: dma@40028000 { |
| 195 | + compatible = "adi,max32-dma"; |
| 196 | + reg = <0x40028000 0x1000>; |
| 197 | + clocks = <&gcr ADI_MAX32_CLOCK_BUS0 5>; |
| 198 | + interrupts = <28 0>, <29 0>, <30 0>, <31 0>, <68 0>, <69 0>, <70 0>, <71 0>, |
| 199 | + <72 0>, <73 0>, <74 0>, <75 0>, <76 0>, <77 0>, <78 0>, <79 0>; |
| 200 | + dma-channels = <16>; |
| 201 | + status = "disabled"; |
| 202 | + #dma-cells = <2>; |
| 203 | + }; |
108 | 204 | };
|
109 | 205 | };
|
0 commit comments