mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-30 02:55:20 +00:00
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>
23 lines
296 B
Plaintext
23 lines
296 B
Plaintext
/*
|
|
* Copyright (c) 2019, Synopsys, Inc. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "nsim.dtsi"
|
|
|
|
/ {
|
|
cpus {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
cpu0: cpu@0 {
|
|
device_type = "cpu";
|
|
compatible = "snps,arcem";
|
|
reg = <0>;
|
|
};
|
|
};
|
|
};
|