dts: Add information about CPU frequency to the cpu nodes

This commit adds 'clock-frequency' property to the cpu nodes.
The clock frequency specified in the added property is used
during platform configuration. Examples:

- The SWO logger uses clock frequency to configure SWO output.
- Plenty of platforms need CPU clock specified for their HAL.
- Most of devices with USB needs information about CPU clock
  in order to configure USB clock source.

Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no>
This commit is contained in:
Piotr Zięcik 2019-06-21 14:47:08 +02:00 committed by Carles Cufí
commit 7d56fc35fd
48 changed files with 144 additions and 22 deletions

View file

@ -61,6 +61,10 @@
};
};
&cpu0 {
clock-frequency = <48000000>;
};
&adc0 {
status = "okay";
};