mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 14:12:06 +00:00
efc91ae43c
Add driver code for the SiFive FU740 PRCI IP block. This IP block handles reset and clock control for the SiFive FU740 device and implements SoC-level clock tree controls and dividers. The link of unmatched as follow, and the U740-C000 manual would be present in the same page as soon. https://www.sifive.com/boards/hifive-unmatched This driver contains bug fixes and contributions from Henry Styles <hes@sifive.com> Erik Danie <erik.danie@sifive.com> Pragnesh Patel <pragnesh.patel@sifive.com> Signed-off-by: Zong Li <zong.li@sifive.com> Reviewed-by: Pragnesh Patel <Pragnesh.patel@sifive.com> Acked-by: Palmer Dabbelt <palmerdabbelt@google.com> Cc: Henry Styles <hes@sifive.com> Cc: Erik Danie <erik.danie@sifive.com> Cc: Pragnesh Patel <pragnesh.patel@sifive.com> Link: https://lore.kernel.org/r/20201209094916.17383-4-zong.li@sifive.com [sboyd@kernel.org: Include header to silence sparse] Signed-off-by: Stephen Boyd <sboyd@kernel.org>
24 lines
635 B
C
24 lines
635 B
C
/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
|
|
/*
|
|
* Copyright (C) 2019 SiFive, Inc.
|
|
* Wesley Terpstra
|
|
* Paul Walmsley
|
|
* Zong Li
|
|
*/
|
|
|
|
#ifndef __DT_BINDINGS_CLOCK_SIFIVE_FU740_PRCI_H
|
|
#define __DT_BINDINGS_CLOCK_SIFIVE_FU740_PRCI_H
|
|
|
|
/* Clock indexes for use by Device Tree data and the PRCI driver */
|
|
|
|
#define PRCI_CLK_COREPLL 0
|
|
#define PRCI_CLK_DDRPLL 1
|
|
#define PRCI_CLK_GEMGXLPLL 2
|
|
#define PRCI_CLK_DVFSCOREPLL 3
|
|
#define PRCI_CLK_HFPCLKPLL 4
|
|
#define PRCI_CLK_CLTXPLL 5
|
|
#define PRCI_CLK_TLCLK 6
|
|
#define PRCI_CLK_PCLK 7
|
|
|
|
#endif /* __DT_BINDINGS_CLOCK_SIFIVE_FU740_PRCI_H */
|