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:
Piotr Zięcik 2019-06-21 14:49:23 +02:00 committed by Carles Cufí
commit e4bd11b3f3
24 changed files with 167 additions and 0 deletions

View file

@ -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";