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>
32 lines
477 B
Text
32 lines
477 B
Text
/* SPDX-License-Identifier: Apache-2.0 */
|
|
|
|
/dts-v1/;
|
|
|
|
#include <ti/msp432p401r.dtsi>
|
|
|
|
/ {
|
|
model = "TI MSP-EXP432P401R LaunchXL";
|
|
compatible = "ti,msp-exp432p401r-launchxl","ti,msp432p401r",
|
|
"ti,msp432p4xx";
|
|
|
|
aliases {
|
|
uart-0 = &uart0;
|
|
};
|
|
|
|
chosen {
|
|
zephyr,sram = &sram0;
|
|
zephyr,flash = &flash0;
|
|
zephyr,console = &uart0;
|
|
zephyr,shell-uart = &uart0;
|
|
};
|
|
};
|
|
|
|
&cpu0 {
|
|
clock-frequency = <48000000>;
|
|
};
|
|
|
|
&uart0 {
|
|
status = "okay";
|
|
current-speed = <115200>;
|
|
};
|
|
|