dts: Add information about system bus frequency to the dts
This commit adds a fixed clock node (representing clock driving system bus). The added node is then referenced by peripherals requiring information about driving clock frequency. Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no>
This commit is contained in:
parent
7d56fc35fd
commit
e4bd11b3f3
24 changed files with 167 additions and 0 deletions
|
@ -37,6 +37,12 @@
|
|||
reg = <0xbe800000 DT_SIZE_K(64)>;
|
||||
};
|
||||
|
||||
sysclk: system-clock {
|
||||
compatible = "fixed-clock";
|
||||
clock-frequency = <400000000>;
|
||||
#clock-cells = <0>;
|
||||
};
|
||||
|
||||
soc {
|
||||
core_intc: core_intc@0 {
|
||||
compatible = "xtensa,core-intc";
|
||||
|
@ -137,6 +143,7 @@
|
|||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x0000E000 0x400>;
|
||||
clocks = <&sysclk>;
|
||||
interrupts = <IRQ_DW(7) 0 0>;
|
||||
interrupt-parent = <&dw_intc>;
|
||||
label = "SPI_0";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue