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