Skip to content

Commit 62740a6

Browse files
mbolivar-nordiccfriedt
authored andcommitted
dts: nrf52805: sort /soc nodes
Sort by unit address. Signed-off-by: Martí Bolívar <[email protected]>
1 parent 461eb05 commit 62740a6

File tree

1 file changed

+94
-95
lines changed

1 file changed

+94
-95
lines changed

dts/arm/nordic/nrf52805.dtsi

Lines changed: 94 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -25,37 +25,10 @@
2525
};
2626

2727
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-
4628
sram0: memory@20000000 {
4729
compatible = "mmio-sram";
4830
};
4931

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-
5932
clock: clock@40000000 {
6033
compatible = "nordic,nrf-clock";
6134
reg = <0x40000000 0x1000>;
@@ -64,30 +37,13 @@
6437
label = "CLOCK";
6538
};
6639

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>;
8945
status = "disabled";
90-
label = "GPIOTE_0";
46+
label = "UART_0";
9147
};
9248

9349
i2c0: i2c@40003000 {
@@ -107,44 +63,6 @@
10763
label = "I2C_0";
10864
};
10965

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-
14866
spi0: spi@40004000 {
14967
/*
15068
* This spi node can be SPI, SPIM, or SPIS,
@@ -161,6 +79,23 @@
16179
label = "SPI_0";
16280
};
16381

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+
16499
timer0: timer@40008000 {
165100
compatible = "nordic,nrf-timer";
166101
status = "okay";
@@ -191,6 +126,17 @@
191126
label = "TIMER_2";
192127
};
193128

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+
194140
temp: temp@4000c000 {
195141
compatible = "nordic,nrf-temp";
196142
reg = <0x4000c000 0x1000>;
@@ -199,13 +145,20 @@
199145
label = "TEMP_0";
200146
};
201147

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";
209162
};
210163

211164
wdt: wdt0: watchdog@40010000 {
@@ -215,6 +168,52 @@
215168
status = "okay";
216169
label = "WDT";
217170
};
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+
};
218217
};
219218

220219
sw_pwm: sw-pwm {

0 commit comments

Comments
 (0)