1 /*
2  * Copyright (c) 2017 Jean-Paul Etienne <fractalclone@gmail.com>
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 /**
8  * @file SoC configuration macros for the SiFive Freedom processor
9  */
10 
11 #ifndef __RISCV_SIFIVE_FREEDOM_U700_SOC_H_
12 #define __RISCV_SIFIVE_FREEDOM_U700_SOC_H_
13 
14 /* On FU740, peripherals are clocked by PCLK. */
15 #define SIFIVE_PERIPHERAL_CLOCK_FREQUENCY \
16 	DT_PROP(DT_NODELABEL(pclk), clock_frequency)
17 
18 #endif /* __RISCV_SIFIVE_FREEDOM_U700_SOC_H_ */
19