mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
5ba568f57f
Add a generic device tree for Kendryte K210 SoC based boards. This is for now a very simple device tree describing the core elements of the SoC. This is suitable (and tested) for the Kendryte KD233 development board, the Sipeed MAIX M1 Dan Dock board and the Sipeed MAIXDUINO board. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Reviewed-by: Sean Anderson <seanga2@gmail.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
21 lines
526 B
C
21 lines
526 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com>
|
|
* Copyright (c) 2020 Western Digital Corporation or its affiliates.
|
|
*/
|
|
#ifndef K210_CLK_H
|
|
#define K210_CLK_H
|
|
|
|
/*
|
|
* Arbitrary identifiers for clocks.
|
|
* The structure is: in0 -> pll0 -> aclk -> cpu
|
|
*
|
|
* Since we use the hardware defaults for now, set all these to the same clock.
|
|
*/
|
|
#define K210_CLK_PLL0 0
|
|
#define K210_CLK_PLL1 0
|
|
#define K210_CLK_ACLK 0
|
|
#define K210_CLK_CPU 0
|
|
|
|
#endif /* K210_CLK_H */
|