|
26 | 26 | }; |
27 | 27 |
|
28 | 28 | soc { |
| 29 | + ficr: ficr@10000000 { |
| 30 | + compatible = "nordic,nrf-ficr"; |
| 31 | + reg = <0x10000000 0x1000>; |
| 32 | + status = "okay"; |
| 33 | + }; |
29 | 34 |
|
30 | | - flash_controller: flash-controller@4001e000 { |
31 | | - compatible = "nordic,nrf52-flash-controller"; |
32 | | - reg = <0x4001e000 0x1000>; |
33 | | - |
34 | | - #address-cells = <1>; |
35 | | - #size-cells = <1>; |
36 | | - |
37 | | - label="NRF_FLASH_DRV_NAME"; |
38 | | - |
39 | | - flash0: flash@0 { |
40 | | - compatible = "soc-nv-flash"; |
41 | | - label = "NRF_FLASH"; |
42 | | - erase-block-size = <4096>; |
43 | | - write-block-size = <4>; |
44 | | - }; |
| 35 | + uicr: uicr@10001000 { |
| 36 | + compatible = "nordic,nrf-uicr"; |
| 37 | + reg = <0x10001000 0x1000>; |
| 38 | + status = "okay"; |
45 | 39 | }; |
46 | 40 |
|
47 | 41 | sram0: memory@20000000 { |
48 | 42 | compatible = "mmio-sram"; |
49 | 43 | }; |
50 | 44 |
|
51 | | - adc: adc@40007000 { |
52 | | - compatible = "nordic,nrf-saadc"; |
53 | | - reg = <0x40007000 0x1000>; |
54 | | - interrupts = <7 NRF_DEFAULT_IRQ_PRIORITY>; |
55 | | - status = "disabled"; |
56 | | - label = "ADC_0"; |
57 | | - #io-channel-cells = <1>; |
58 | | - }; |
59 | | - |
60 | 45 | clock: clock@40000000 { |
61 | 46 | compatible = "nordic,nrf-clock"; |
62 | 47 | reg = <0x40000000 0x1000>; |
|
65 | 50 | label = "CLOCK"; |
66 | 51 | }; |
67 | 52 |
|
68 | | - ecb: ecb@4000e000 { |
69 | | - compatible = "nordic,nrf-ecb"; |
70 | | - reg = <0x4000e000 0x1000>; |
71 | | - interrupts = <14 NRF_DEFAULT_IRQ_PRIORITY>; |
72 | | - status = "okay"; |
73 | | - label = "ECB"; |
74 | | - }; |
75 | | - |
76 | 53 | uart0: uart@40002000 { |
77 | 54 | /* uart can be either UART or UARTE, for the user to pick */ |
78 | 55 | /* compatible = "nordic,nrf-uarte" or "nordic,nrf-uart"; */ |
|
82 | 59 | label = "UART_0"; |
83 | 60 | }; |
84 | 61 |
|
85 | | - gpiote: gpiote@40006000 { |
86 | | - compatible = "nordic,nrf-gpiote"; |
87 | | - reg = <0x40006000 0x1000>; |
88 | | - interrupts = <6 5>; |
89 | | - status = "disabled"; |
90 | | - label = "GPIOTE_0"; |
91 | | - }; |
92 | | - |
93 | | - gpio0: gpio@50000000 { |
94 | | - compatible = "nordic,nrf-gpio"; |
95 | | - gpio-controller; |
96 | | - /* This way of addressing is used to be compatible */ |
97 | | - /* with nrf52840.dtsi */ |
98 | | - reg = <0x50000000 0x200 |
99 | | - 0x50000500 0x300>; |
100 | | - #gpio-cells = <2>; |
101 | | - label = "GPIO_0"; |
102 | | - status = "disabled"; |
103 | | - port = <0>; |
104 | | - }; |
105 | | - |
106 | 62 | i2c0: i2c@40003000 { |
107 | 63 | /* |
108 | 64 | * This i2c node can be TWI, TWIM, or TWIS, |
|
120 | 76 | label = "I2C_0"; |
121 | 77 | }; |
122 | 78 |
|
123 | | - pwm0: pwm@4001c000 { |
124 | | - compatible = "nordic,nrf-pwm"; |
125 | | - reg = <0x4001c000 0x1000>; |
126 | | - interrupts = <28 NRF_DEFAULT_IRQ_PRIORITY>; |
127 | | - status = "disabled"; |
128 | | - label = "PWM_0"; |
129 | | - #pwm-cells = <1>; |
130 | | - }; |
131 | | - |
132 | | - qdec: qdec@40012000 { |
133 | | - compatible = "nordic,nrf-qdec"; |
134 | | - reg = <0x40012000 0x1000>; |
135 | | - interrupts = <18 NRF_DEFAULT_IRQ_PRIORITY>; |
136 | | - status = "disabled"; |
137 | | - label = "QDEC"; |
138 | | - }; |
139 | | - |
140 | | - rng: random@4000d000 { |
141 | | - compatible = "nordic,nrf-rng"; |
142 | | - reg = <0x4000d000 0x1000>; |
143 | | - interrupts = <13 NRF_DEFAULT_IRQ_PRIORITY>; |
144 | | - status = "okay"; |
145 | | - label = "RNG"; |
146 | | - }; |
147 | | - |
148 | | - spi0: spi@40004000 { |
| 79 | + spi1: spi@40003000 { |
| 80 | + /* cannot be used with i2c0 */ |
149 | 81 | /* |
150 | 82 | * This spi node can be SPI, SPIM, or SPIS, |
151 | 83 | * for the user to pick: |
|
155 | 87 | */ |
156 | 88 | #address-cells = <1>; |
157 | 89 | #size-cells = <0>; |
158 | | - reg = <0x40004000 0x1000>; |
159 | | - interrupts = <4 NRF_DEFAULT_IRQ_PRIORITY>; |
| 90 | + reg = <0x40003000 0x1000>; |
| 91 | + interrupts = <3 NRF_DEFAULT_IRQ_PRIORITY>; |
160 | 92 | status = "disabled"; |
161 | | - label = "SPI_0"; |
| 93 | + label = "SPI_1"; |
162 | 94 | }; |
163 | 95 |
|
164 | | - spi1: spi@40003000 { |
165 | | - /* cannot be used with i2c0 */ |
| 96 | + spi0: spi@40004000 { |
166 | 97 | /* |
167 | 98 | * This spi node can be SPI, SPIM, or SPIS, |
168 | 99 | * for the user to pick: |
|
172 | 103 | */ |
173 | 104 | #address-cells = <1>; |
174 | 105 | #size-cells = <0>; |
175 | | - reg = <0x40003000 0x1000>; |
176 | | - interrupts = <3 NRF_DEFAULT_IRQ_PRIORITY>; |
| 106 | + reg = <0x40004000 0x1000>; |
| 107 | + interrupts = <4 NRF_DEFAULT_IRQ_PRIORITY>; |
177 | 108 | status = "disabled"; |
178 | | - label = "SPI_1"; |
| 109 | + label = "SPI_0"; |
179 | 110 | }; |
180 | 111 |
|
181 | | - rtc0: rtc@4000b000 { |
182 | | - compatible = "nordic,nrf-rtc"; |
183 | | - reg = <0x4000b000 0x1000>; |
184 | | - cc-num = <3>; |
185 | | - interrupts = <11 NRF_DEFAULT_IRQ_PRIORITY>; |
186 | | - status = "okay"; |
187 | | - clock-frequency = <32768>; |
188 | | - prescaler = <1>; |
189 | | - label = "RTC_0"; |
| 112 | + gpiote: gpiote@40006000 { |
| 113 | + compatible = "nordic,nrf-gpiote"; |
| 114 | + reg = <0x40006000 0x1000>; |
| 115 | + interrupts = <6 5>; |
| 116 | + status = "disabled"; |
| 117 | + label = "GPIOTE_0"; |
190 | 118 | }; |
191 | 119 |
|
192 | | - rtc1: rtc@40011000 { |
193 | | - compatible = "nordic,nrf-rtc"; |
194 | | - reg = <0x40011000 0x1000>; |
195 | | - cc-num = <4>; |
196 | | - interrupts = <17 NRF_DEFAULT_IRQ_PRIORITY>; |
197 | | - status = "okay"; |
198 | | - clock-frequency = <32768>; |
199 | | - prescaler = <1>; |
200 | | - label = "RTC_1"; |
| 120 | + adc: adc@40007000 { |
| 121 | + compatible = "nordic,nrf-saadc"; |
| 122 | + reg = <0x40007000 0x1000>; |
| 123 | + interrupts = <7 NRF_DEFAULT_IRQ_PRIORITY>; |
| 124 | + status = "disabled"; |
| 125 | + label = "ADC_0"; |
| 126 | + #io-channel-cells = <1>; |
201 | 127 | }; |
202 | 128 |
|
203 | 129 | timer0: timer@40008000 { |
|
230 | 156 | label = "TIMER_2"; |
231 | 157 | }; |
232 | 158 |
|
| 159 | + rtc0: rtc@4000b000 { |
| 160 | + compatible = "nordic,nrf-rtc"; |
| 161 | + reg = <0x4000b000 0x1000>; |
| 162 | + cc-num = <3>; |
| 163 | + interrupts = <11 NRF_DEFAULT_IRQ_PRIORITY>; |
| 164 | + status = "okay"; |
| 165 | + clock-frequency = <32768>; |
| 166 | + prescaler = <1>; |
| 167 | + label = "RTC_0"; |
| 168 | + }; |
| 169 | + |
233 | 170 | temp: temp@4000c000 { |
234 | 171 | compatible = "nordic,nrf-temp"; |
235 | 172 | reg = <0x4000c000 0x1000>; |
|
238 | 175 | label = "TEMP_0"; |
239 | 176 | }; |
240 | 177 |
|
| 178 | + rng: random@4000d000 { |
| 179 | + compatible = "nordic,nrf-rng"; |
| 180 | + reg = <0x4000d000 0x1000>; |
| 181 | + interrupts = <13 NRF_DEFAULT_IRQ_PRIORITY>; |
| 182 | + status = "okay"; |
| 183 | + label = "RNG"; |
| 184 | + }; |
| 185 | + |
| 186 | + ecb: ecb@4000e000 { |
| 187 | + compatible = "nordic,nrf-ecb"; |
| 188 | + reg = <0x4000e000 0x1000>; |
| 189 | + interrupts = <14 NRF_DEFAULT_IRQ_PRIORITY>; |
| 190 | + status = "okay"; |
| 191 | + label = "ECB"; |
| 192 | + }; |
| 193 | + |
241 | 194 | wdt: wdt0: watchdog@40010000 { |
242 | 195 | compatible = "nordic,nrf-watchdog"; |
243 | 196 | reg = <0x40010000 0x1000>; |
|
246 | 199 | label = "WDT"; |
247 | 200 | }; |
248 | 201 |
|
249 | | - ficr: ficr@10000000 { |
250 | | - compatible = "nordic,nrf-ficr"; |
251 | | - reg = <0x10000000 0x1000>; |
| 202 | + rtc1: rtc@40011000 { |
| 203 | + compatible = "nordic,nrf-rtc"; |
| 204 | + reg = <0x40011000 0x1000>; |
| 205 | + cc-num = <4>; |
| 206 | + interrupts = <17 NRF_DEFAULT_IRQ_PRIORITY>; |
252 | 207 | status = "okay"; |
| 208 | + clock-frequency = <32768>; |
| 209 | + prescaler = <1>; |
| 210 | + label = "RTC_1"; |
253 | 211 | }; |
254 | 212 |
|
255 | | - uicr: uicr@10001000 { |
256 | | - compatible = "nordic,nrf-uicr"; |
257 | | - reg = <0x10001000 0x1000>; |
258 | | - status = "okay"; |
| 213 | + qdec: qdec@40012000 { |
| 214 | + compatible = "nordic,nrf-qdec"; |
| 215 | + reg = <0x40012000 0x1000>; |
| 216 | + interrupts = <18 NRF_DEFAULT_IRQ_PRIORITY>; |
| 217 | + status = "disabled"; |
| 218 | + label = "QDEC"; |
| 219 | + }; |
| 220 | + |
| 221 | + pwm0: pwm@4001c000 { |
| 222 | + compatible = "nordic,nrf-pwm"; |
| 223 | + reg = <0x4001c000 0x1000>; |
| 224 | + interrupts = <28 NRF_DEFAULT_IRQ_PRIORITY>; |
| 225 | + status = "disabled"; |
| 226 | + label = "PWM_0"; |
| 227 | + #pwm-cells = <1>; |
| 228 | + }; |
| 229 | + |
| 230 | + flash_controller: flash-controller@4001e000 { |
| 231 | + compatible = "nordic,nrf52-flash-controller"; |
| 232 | + reg = <0x4001e000 0x1000>; |
| 233 | + |
| 234 | + #address-cells = <1>; |
| 235 | + #size-cells = <1>; |
| 236 | + |
| 237 | + label="NRF_FLASH_DRV_NAME"; |
| 238 | + |
| 239 | + flash0: flash@0 { |
| 240 | + compatible = "soc-nv-flash"; |
| 241 | + label = "NRF_FLASH"; |
| 242 | + erase-block-size = <4096>; |
| 243 | + write-block-size = <4>; |
| 244 | + }; |
| 245 | + }; |
| 246 | + |
| 247 | + gpio0: gpio@50000000 { |
| 248 | + compatible = "nordic,nrf-gpio"; |
| 249 | + gpio-controller; |
| 250 | + /* This way of addressing is used to be compatible */ |
| 251 | + /* with nrf52840.dtsi */ |
| 252 | + reg = <0x50000000 0x200 |
| 253 | + 0x50000500 0x300>; |
| 254 | + #gpio-cells = <2>; |
| 255 | + label = "GPIO_0"; |
| 256 | + status = "disabled"; |
| 257 | + port = <0>; |
259 | 258 | }; |
260 | 259 | }; |
261 | 260 |
|
|
0 commit comments