3b51069e5a
Provided nodes reflect the clock tree of each series. Clock nodes are disabled by default but populated with default start up configuration. Main reason is the we don't want to impact boards using Kconfig based clock configuration for now. Exception to these rules: - syslck: Default enabled, clock frequency and clock source not provided - pll: clock source not provided This is made on purpose so that errors are triggered if parameters essential to the board configuration are not provided. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
14 lines
229 B
C
14 lines
229 B
C
/*
|
|
* Copyright (c) 2021 Linaro Limited
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef __DT_FREQ_H
|
|
#define __DT_FREQ_H
|
|
|
|
#define DT_FREQ_K(x) ((x) * 1000)
|
|
#define DT_FREQ_M(x) ((x) * 1000 * 1000)
|
|
|
|
#endif /* __DT_FREQ_H */
|