drivers: clock_control: nrf: Use IRQ number symbol generated from DT
Use the symbol generated from DT so that it is common for nRF9160 and nRF5 family SoCs. To avoid artificial renaming of CLOCK_POWER_IRQn to POWER_CLOCK_IRQn. For nRF5 family SoCs clock nodes were not defined so far, thus they are added so that the proper DT symbol is generated for them as well. Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
parent
99bab3f478
commit
0cc8f302bf
5 changed files with 39 additions and 11 deletions
|
@ -56,6 +56,13 @@
|
|||
label = "ADC_0";
|
||||
};
|
||||
|
||||
clock: clock@40000000 {
|
||||
compatible = "nordic,nrf-clock";
|
||||
reg = <0x40000000 0x1000>;
|
||||
interrupts = <0 1>;
|
||||
status = "ok";
|
||||
};
|
||||
|
||||
uart0: uart@40002000 {
|
||||
compatible = "nordic,nrf-uarte";
|
||||
reg = <0x40002000 0x1000>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue