dts: nrf52810: sort /soc nodes
Sort by unit address. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
62740a6c8c
commit
46f67ed899
1 changed files with 99 additions and 101 deletions
|
@ -22,37 +22,22 @@
|
|||
};
|
||||
|
||||
soc {
|
||||
|
||||
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>;
|
||||
ficr: ficr@10000000 {
|
||||
compatible = "nordic,nrf-ficr";
|
||||
reg = <0x10000000 0x1000>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uicr: uicr@10001000 {
|
||||
compatible = "nordic,nrf-uicr";
|
||||
reg = <0x10001000 0x1000>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
sram0: memory@20000000 {
|
||||
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 {
|
||||
compatible = "nordic,nrf-clock";
|
||||
reg = <0x40000000 0x1000>;
|
||||
|
@ -61,14 +46,6 @@
|
|||
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 {
|
||||
/* uart can be either UART or UARTE, for the user to pick */
|
||||
/* compatible = "nordic,nrf-uarte" or "nordic,nrf-uart"; */
|
||||
|
@ -78,24 +55,6 @@
|
|||
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 {
|
||||
/*
|
||||
* This i2c node can be TWI, TWIM, or TWIS,
|
||||
|
@ -113,31 +72,6 @@
|
|||
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 {
|
||||
/*
|
||||
* This spi node can be SPI, SPIM, or SPIS,
|
||||
|
@ -154,28 +88,22 @@
|
|||
label = "SPI_0";
|
||||
};
|
||||
|
||||
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";
|
||||
gpiote: gpiote@40006000 {
|
||||
compatible = "nordic,nrf-gpiote";
|
||||
reg = <0x40006000 0x1000>;
|
||||
interrupts = <6 5>;
|
||||
status = "disabled";
|
||||
label = "GPIOTE_0";
|
||||
};
|
||||
|
||||
rtc1: rtc@40011000 {
|
||||
compatible = "nordic,nrf-rtc";
|
||||
reg = <0x40011000 0x1000>;
|
||||
cc-num = <4>;
|
||||
interrupts = <17 NRF_DEFAULT_IRQ_PRIORITY>;
|
||||
status = "okay";
|
||||
clock-frequency = <32768>;
|
||||
prescaler = <1>;
|
||||
label = "RTC_1";
|
||||
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>;
|
||||
};
|
||||
|
||||
timer0: timer@40008000 {
|
||||
compatible = "nordic,nrf-timer";
|
||||
status = "okay";
|
||||
|
@ -206,6 +134,17 @@
|
|||
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 {
|
||||
compatible = "nordic,nrf-temp";
|
||||
reg = <0x4000c000 0x1000>;
|
||||
|
@ -214,6 +153,22 @@
|
|||
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 {
|
||||
compatible = "nordic,nrf-watchdog";
|
||||
reg = <0x40010000 0x1000>;
|
||||
|
@ -222,16 +177,59 @@
|
|||
label = "WDT";
|
||||
};
|
||||
|
||||
ficr: ficr@10000000 {
|
||||
compatible = "nordic,nrf-ficr";
|
||||
reg = <0x10000000 0x1000>;
|
||||
rtc1: rtc@40011000 {
|
||||
compatible = "nordic,nrf-rtc";
|
||||
reg = <0x40011000 0x1000>;
|
||||
cc-num = <4>;
|
||||
interrupts = <17 NRF_DEFAULT_IRQ_PRIORITY>;
|
||||
status = "okay";
|
||||
clock-frequency = <32768>;
|
||||
prescaler = <1>;
|
||||
label = "RTC_1";
|
||||
};
|
||||
|
||||
uicr: uicr@10001000 {
|
||||
compatible = "nordic,nrf-uicr";
|
||||
reg = <0x10001000 0x1000>;
|
||||
status = "okay";
|
||||
qdec: qdec@40012000 {
|
||||
compatible = "nordic,nrf-qdec";
|
||||
reg = <0x40012000 0x1000>;
|
||||
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>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue