18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (c) 2014 Zhang, Keguang <keguang.zhang@gmail.com>
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Loongson 1 CPUFreq platform support.
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#ifndef __ASM_MACH_LOONGSON32_CPUFREQ_H
98c2ecf20Sopenharmony_ci#define __ASM_MACH_LOONGSON32_CPUFREQ_H
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_cistruct plat_ls1x_cpufreq {
128c2ecf20Sopenharmony_ci	const char	*clk_name;	/* CPU clk */
138c2ecf20Sopenharmony_ci	const char	*osc_clk_name;	/* OSC clk */
148c2ecf20Sopenharmony_ci	unsigned int	max_freq;	/* in kHz */
158c2ecf20Sopenharmony_ci	unsigned int	min_freq;	/* in kHz */
168c2ecf20Sopenharmony_ci};
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci#endif /* __ASM_MACH_LOONGSON32_CPUFREQ_H */
19