dts: nrf52810: sort /soc nodes

Sort by unit address.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
Martí Bolívar 2021-07-15 16:52:24 -07:00 committed by Christopher Friedt
commit 46f67ed899

View file

@ -22,37 +22,22 @@
}; };
soc { soc {
ficr: ficr@10000000 {
compatible = "nordic,nrf-ficr";
reg = <0x10000000 0x1000>;
status = "okay";
};
flash_controller: flash-controller@4001e000 { uicr: uicr@10001000 {
compatible = "nordic,nrf52-flash-controller"; compatible = "nordic,nrf-uicr";
reg = <0x4001e000 0x1000>; reg = <0x10001000 0x1000>;
status = "okay";
#address-cells = <1>;
#size-cells = <1>;
label="NRF_FLASH_DRV_NAME";
flash0: flash@0 {
compatible = "soc-nv-flash";
label = "NRF_FLASH";
erase-block-size = <4096>;
write-block-size = <4>;
};
}; };
sram0: memory@20000000 { sram0: memory@20000000 {
compatible = "mmio-sram"; compatible = "mmio-sram";
}; };
adc: adc@40007000 {
compatible = "nordic,nrf-saadc";
reg = <0x40007000 0x1000>;
interrupts = <7 NRF_DEFAULT_IRQ_PRIORITY>;
status = "disabled";
label = "ADC_0";
#io-channel-cells = <1>;
};
clock: clock@40000000 { clock: clock@40000000 {
compatible = "nordic,nrf-clock"; compatible = "nordic,nrf-clock";
reg = <0x40000000 0x1000>; reg = <0x40000000 0x1000>;
@ -61,14 +46,6 @@
label = "CLOCK"; label = "CLOCK";
}; };
ecb: ecb@4000e000 {
compatible = "nordic,nrf-ecb";
reg = <0x4000e000 0x1000>;
interrupts = <14 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
label = "ECB";
};
uart0: uart@40002000 { uart0: uart@40002000 {
/* uart can be either UART or UARTE, for the user to pick */ /* uart can be either UART or UARTE, for the user to pick */
/* compatible = "nordic,nrf-uarte" or "nordic,nrf-uart"; */ /* compatible = "nordic,nrf-uarte" or "nordic,nrf-uart"; */
@ -78,24 +55,6 @@
label = "UART_0"; label = "UART_0";
}; };
gpiote: gpiote@40006000 {
compatible = "nordic,nrf-gpiote";
reg = <0x40006000 0x1000>;
interrupts = <6 5>;
status = "disabled";
label = "GPIOTE_0";
};
gpio0: gpio@50000000 {
compatible = "nordic,nrf-gpio";
gpio-controller;
reg = <0x50000000 0x1000>;
#gpio-cells = <2>;
label = "GPIO_0";
status = "disabled";
port = <0>;
};
i2c0: i2c@40003000 { i2c0: i2c@40003000 {
/* /*
* This i2c node can be TWI, TWIM, or TWIS, * This i2c node can be TWI, TWIM, or TWIS,
@ -113,31 +72,6 @@
label = "I2C_0"; label = "I2C_0";
}; };
pwm0: pwm@4001c000 {
compatible = "nordic,nrf-pwm";
reg = <0x4001c000 0x1000>;
interrupts = <28 NRF_DEFAULT_IRQ_PRIORITY>;
status = "disabled";
label = "PWM_0";
#pwm-cells = <1>;
};
qdec: qdec@40012000 {
compatible = "nordic,nrf-qdec";
reg = <0x40012000 0x1000>;
interrupts = <18 NRF_DEFAULT_IRQ_PRIORITY>;
status = "disabled";
label = "QDEC";
};
rng: random@4000d000 {
compatible = "nordic,nrf-rng";
reg = <0x4000d000 0x1000>;
interrupts = <13 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
label = "RNG";
};
spi0: spi@40004000 { spi0: spi@40004000 {
/* /*
* This spi node can be SPI, SPIM, or SPIS, * This spi node can be SPI, SPIM, or SPIS,
@ -154,28 +88,22 @@
label = "SPI_0"; label = "SPI_0";
}; };
rtc0: rtc@4000b000 { gpiote: gpiote@40006000 {
compatible = "nordic,nrf-rtc"; compatible = "nordic,nrf-gpiote";
reg = <0x4000b000 0x1000>; reg = <0x40006000 0x1000>;
cc-num = <3>; interrupts = <6 5>;
interrupts = <11 NRF_DEFAULT_IRQ_PRIORITY>; status = "disabled";
status = "okay"; label = "GPIOTE_0";
clock-frequency = <32768>;
prescaler = <1>;
label = "RTC_0";
}; };
rtc1: rtc@40011000 { adc: adc@40007000 {
compatible = "nordic,nrf-rtc"; compatible = "nordic,nrf-saadc";
reg = <0x40011000 0x1000>; reg = <0x40007000 0x1000>;
cc-num = <4>; interrupts = <7 NRF_DEFAULT_IRQ_PRIORITY>;
interrupts = <17 NRF_DEFAULT_IRQ_PRIORITY>; status = "disabled";
status = "okay"; label = "ADC_0";
clock-frequency = <32768>; #io-channel-cells = <1>;
prescaler = <1>;
label = "RTC_1";
}; };
timer0: timer@40008000 { timer0: timer@40008000 {
compatible = "nordic,nrf-timer"; compatible = "nordic,nrf-timer";
status = "okay"; status = "okay";
@ -206,6 +134,17 @@
label = "TIMER_2"; label = "TIMER_2";
}; };
rtc0: rtc@4000b000 {
compatible = "nordic,nrf-rtc";
reg = <0x4000b000 0x1000>;
cc-num = <3>;
interrupts = <11 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
clock-frequency = <32768>;
prescaler = <1>;
label = "RTC_0";
};
temp: temp@4000c000 { temp: temp@4000c000 {
compatible = "nordic,nrf-temp"; compatible = "nordic,nrf-temp";
reg = <0x4000c000 0x1000>; reg = <0x4000c000 0x1000>;
@ -214,6 +153,22 @@
label = "TEMP_0"; label = "TEMP_0";
}; };
rng: random@4000d000 {
compatible = "nordic,nrf-rng";
reg = <0x4000d000 0x1000>;
interrupts = <13 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
label = "RNG";
};
ecb: ecb@4000e000 {
compatible = "nordic,nrf-ecb";
reg = <0x4000e000 0x1000>;
interrupts = <14 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
label = "ECB";
};
wdt: wdt0: watchdog@40010000 { wdt: wdt0: watchdog@40010000 {
compatible = "nordic,nrf-watchdog"; compatible = "nordic,nrf-watchdog";
reg = <0x40010000 0x1000>; reg = <0x40010000 0x1000>;
@ -222,16 +177,59 @@
label = "WDT"; label = "WDT";
}; };
ficr: ficr@10000000 { rtc1: rtc@40011000 {
compatible = "nordic,nrf-ficr"; compatible = "nordic,nrf-rtc";
reg = <0x10000000 0x1000>; reg = <0x40011000 0x1000>;
cc-num = <4>;
interrupts = <17 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay"; status = "okay";
clock-frequency = <32768>;
prescaler = <1>;
label = "RTC_1";
}; };
uicr: uicr@10001000 { qdec: qdec@40012000 {
compatible = "nordic,nrf-uicr"; compatible = "nordic,nrf-qdec";
reg = <0x10001000 0x1000>; reg = <0x40012000 0x1000>;
status = "okay"; interrupts = <18 NRF_DEFAULT_IRQ_PRIORITY>;
status = "disabled";
label = "QDEC";
};
pwm0: pwm@4001c000 {
compatible = "nordic,nrf-pwm";
reg = <0x4001c000 0x1000>;
interrupts = <28 NRF_DEFAULT_IRQ_PRIORITY>;
status = "disabled";
label = "PWM_0";
#pwm-cells = <1>;
};
flash_controller: flash-controller@4001e000 {
compatible = "nordic,nrf52-flash-controller";
reg = <0x4001e000 0x1000>;
#address-cells = <1>;
#size-cells = <1>;
label="NRF_FLASH_DRV_NAME";
flash0: flash@0 {
compatible = "soc-nv-flash";
label = "NRF_FLASH";
erase-block-size = <4096>;
write-block-size = <4>;
};
};
gpio0: gpio@50000000 {
compatible = "nordic,nrf-gpio";
gpio-controller;
reg = <0x50000000 0x1000>;
#gpio-cells = <2>;
label = "GPIO_0";
status = "disabled";
port = <0>;
}; };
}; };