zephyr/dts/common/freq.h

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 */