~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/soc/canaan/k210-sysctl.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/soc/canaan/k210-sysctl.h (Version linux-6.11.5) and /include/soc/canaan/k210-sysctl.h (Version linux-5.19.17)


  1 /* SPDX-License-Identifier: GPL-2.0-or-later *      1 /* SPDX-License-Identifier: GPL-2.0-or-later */
  2 /*                                                  2 /*
  3  * Copyright (C) 2019-20 Sean Anderson <seanga      3  * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com>
  4  * Copyright (c) 2020 Western Digital Corporat      4  * Copyright (c) 2020 Western Digital Corporation or its affiliates.
  5  */                                                 5  */
  6 #ifndef K210_SYSCTL_H                               6 #ifndef K210_SYSCTL_H
  7 #define K210_SYSCTL_H                               7 #define K210_SYSCTL_H
  8                                                     8 
  9 /*                                                  9 /*
 10  * Kendryte K210 SoC system controller registe     10  * Kendryte K210 SoC system controller registers offsets.
 11  * Taken from Kendryte SDK (kendryte-standalon     11  * Taken from Kendryte SDK (kendryte-standalone-sdk).
 12  */                                                12  */
 13 #define K210_SYSCTL_GIT_ID      0x00 /* Git sh     13 #define K210_SYSCTL_GIT_ID      0x00 /* Git short commit id */
 14 #define K210_SYSCTL_UART_BAUD   0x04 /* Defaul     14 #define K210_SYSCTL_UART_BAUD   0x04 /* Default UARTHS baud rate */
 15 #define K210_SYSCTL_PLL0        0x08 /* PLL0 c     15 #define K210_SYSCTL_PLL0        0x08 /* PLL0 controller */
 16 #define K210_SYSCTL_PLL1        0x0C /* PLL1 c     16 #define K210_SYSCTL_PLL1        0x0C /* PLL1 controller */
 17 #define K210_SYSCTL_PLL2        0x10 /* PLL2 c     17 #define K210_SYSCTL_PLL2        0x10 /* PLL2 controller */
 18 #define K210_SYSCTL_PLL_LOCK    0x18 /* PLL lo     18 #define K210_SYSCTL_PLL_LOCK    0x18 /* PLL lock tester */
 19 #define K210_SYSCTL_ROM_ERROR   0x1C /* AXI RO     19 #define K210_SYSCTL_ROM_ERROR   0x1C /* AXI ROM detector */
 20 #define K210_SYSCTL_SEL0        0x20 /* Clock      20 #define K210_SYSCTL_SEL0        0x20 /* Clock select controller 0 */
 21 #define K210_SYSCTL_SEL1        0x24 /* Clock      21 #define K210_SYSCTL_SEL1        0x24 /* Clock select controller 1 */
 22 #define K210_SYSCTL_EN_CENT     0x28 /* Centra     22 #define K210_SYSCTL_EN_CENT     0x28 /* Central clock enable */
 23 #define K210_SYSCTL_EN_PERI     0x2C /* Periph     23 #define K210_SYSCTL_EN_PERI     0x2C /* Peripheral clock enable */
 24 #define K210_SYSCTL_SOFT_RESET  0x30 /* Soft r     24 #define K210_SYSCTL_SOFT_RESET  0x30 /* Soft reset ctrl */
 25 #define K210_SYSCTL_PERI_RESET  0x34 /* Periph     25 #define K210_SYSCTL_PERI_RESET  0x34 /* Peripheral reset controller */
 26 #define K210_SYSCTL_THR0        0x38 /* Clock      26 #define K210_SYSCTL_THR0        0x38 /* Clock threshold controller 0 */
 27 #define K210_SYSCTL_THR1        0x3C /* Clock      27 #define K210_SYSCTL_THR1        0x3C /* Clock threshold controller 1 */
 28 #define K210_SYSCTL_THR2        0x40 /* Clock      28 #define K210_SYSCTL_THR2        0x40 /* Clock threshold controller 2 */
 29 #define K210_SYSCTL_THR3        0x44 /* Clock      29 #define K210_SYSCTL_THR3        0x44 /* Clock threshold controller 3 */
 30 #define K210_SYSCTL_THR4        0x48 /* Clock      30 #define K210_SYSCTL_THR4        0x48 /* Clock threshold controller 4 */
 31 #define K210_SYSCTL_THR5        0x4C /* Clock      31 #define K210_SYSCTL_THR5        0x4C /* Clock threshold controller 5 */
 32 #define K210_SYSCTL_THR6        0x50 /* Clock      32 #define K210_SYSCTL_THR6        0x50 /* Clock threshold controller 6 */
 33 #define K210_SYSCTL_MISC        0x54 /* Miscel     33 #define K210_SYSCTL_MISC        0x54 /* Miscellaneous controller */
 34 #define K210_SYSCTL_PERI        0x58 /* Periph     34 #define K210_SYSCTL_PERI        0x58 /* Peripheral controller */
 35 #define K210_SYSCTL_SPI_SLEEP   0x5C /* SPI sl     35 #define K210_SYSCTL_SPI_SLEEP   0x5C /* SPI sleep controller */
 36 #define K210_SYSCTL_RESET_STAT  0x60 /* Reset      36 #define K210_SYSCTL_RESET_STAT  0x60 /* Reset source status */
 37 #define K210_SYSCTL_DMA_SEL0    0x64 /* DMA ha     37 #define K210_SYSCTL_DMA_SEL0    0x64 /* DMA handshake selector 0 */
 38 #define K210_SYSCTL_DMA_SEL1    0x68 /* DMA ha     38 #define K210_SYSCTL_DMA_SEL1    0x68 /* DMA handshake selector 1 */
 39 #define K210_SYSCTL_POWER_SEL   0x6C /* IO Pow     39 #define K210_SYSCTL_POWER_SEL   0x6C /* IO Power Mode Select controller */
 40                                                    40 
 41 void k210_clk_early_init(void __iomem *regs);      41 void k210_clk_early_init(void __iomem *regs);
 42                                                    42 
 43 #endif                                             43 #endif
 44                                                    44 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php