dts: nrf9160: Add rtc0 node and replace nvmc node with alias
Add missing node for instance 0 of the RTC peripheral and use an alias to the flash-controller node instead of the nvmc node definition (there is no need to have a separate node just to get the NVMC base address). Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
parent
59f4daf585
commit
148f4e3872
3 changed files with 11 additions and 9 deletions
|
@ -28,10 +28,11 @@
|
|||
aliases {
|
||||
flash-controller = &flash_controller;
|
||||
ficr = &ficr;
|
||||
rtc-0 = &rtc0;
|
||||
rtc-1 = &rtc1;
|
||||
clock = &clock;
|
||||
power = &power;
|
||||
nvmc = &nvmc;
|
||||
nvmc = &flash_controller;
|
||||
spu = &spu;
|
||||
uart-0 = &uart0;
|
||||
uart-1 = &uart1;
|
||||
|
|
|
@ -21,13 +21,6 @@ flash_controller: flash-controller@39000 {
|
|||
};
|
||||
};
|
||||
|
||||
nvmc: nvmc@39000 {
|
||||
compatible = "nordic,nrf-nvmc";
|
||||
reg = <0x39000 0x1000>;
|
||||
status = "ok";
|
||||
label = "NVMC";
|
||||
};
|
||||
|
||||
adc: adc@e000 {
|
||||
compatible = "nordic,nrf-saadc";
|
||||
reg = <0xe000 0x1000>;
|
||||
|
@ -161,6 +154,13 @@ gpio0: gpio@842500 {
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
rtc0: rtc@14000 {
|
||||
compatible = "nordic,nrf-rtc";
|
||||
reg = <0x14000 0x1000>;
|
||||
interrupts = <20 1>;
|
||||
status = "ok";
|
||||
};
|
||||
|
||||
rtc1: rtc@15000 {
|
||||
compatible = "nordic,nrf-rtc";
|
||||
reg = <0x15000 0x1000>;
|
||||
|
|
|
@ -26,10 +26,11 @@
|
|||
};
|
||||
|
||||
aliases {
|
||||
rtc-0 = &rtc0;
|
||||
rtc-1 = &rtc1;
|
||||
clock = &clock;
|
||||
power = &power;
|
||||
nvmc = &nvmc;
|
||||
nvmc = &flash_controller;
|
||||
uart-0 = &uart0;
|
||||
uart-1 = &uart1;
|
||||
uart-2 = &uart2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue