1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 2 /* 3 * Copyright (C) 2019-20 Sean Anderson <seanga 4 * Copyright (c) 2020 Western Digital Corporat 5 */ 6 #ifndef K210_SYSCTL_H 7 #define K210_SYSCTL_H 8 9 /* 10 * Kendryte K210 SoC system controller registe 11 * Taken from Kendryte SDK (kendryte-standalon 12 */ 13 #define K210_SYSCTL_GIT_ID 0x00 /* Git sh 14 #define K210_SYSCTL_UART_BAUD 0x04 /* Defaul 15 #define K210_SYSCTL_PLL0 0x08 /* PLL0 c 16 #define K210_SYSCTL_PLL1 0x0C /* PLL1 c 17 #define K210_SYSCTL_PLL2 0x10 /* PLL2 c 18 #define K210_SYSCTL_PLL_LOCK 0x18 /* PLL lo 19 #define K210_SYSCTL_ROM_ERROR 0x1C /* AXI RO 20 #define K210_SYSCTL_SEL0 0x20 /* Clock 21 #define K210_SYSCTL_SEL1 0x24 /* Clock 22 #define K210_SYSCTL_EN_CENT 0x28 /* Centra 23 #define K210_SYSCTL_EN_PERI 0x2C /* Periph 24 #define K210_SYSCTL_SOFT_RESET 0x30 /* Soft r 25 #define K210_SYSCTL_PERI_RESET 0x34 /* Periph 26 #define K210_SYSCTL_THR0 0x38 /* Clock 27 #define K210_SYSCTL_THR1 0x3C /* Clock 28 #define K210_SYSCTL_THR2 0x40 /* Clock 29 #define K210_SYSCTL_THR3 0x44 /* Clock 30 #define K210_SYSCTL_THR4 0x48 /* Clock 31 #define K210_SYSCTL_THR5 0x4C /* Clock 32 #define K210_SYSCTL_THR6 0x50 /* Clock 33 #define K210_SYSCTL_MISC 0x54 /* Miscel 34 #define K210_SYSCTL_PERI 0x58 /* Periph 35 #define K210_SYSCTL_SPI_SLEEP 0x5C /* SPI sl 36 #define K210_SYSCTL_RESET_STAT 0x60 /* Reset 37 #define K210_SYSCTL_DMA_SEL0 0x64 /* DMA ha 38 #define K210_SYSCTL_DMA_SEL1 0x68 /* DMA ha 39 #define K210_SYSCTL_POWER_SEL 0x6C /* IO Pow 40 41 void k210_clk_early_init(void __iomem *regs); 42 43 #endif 44
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.