Server IP : 172.67.216.182 / Your IP : 172.69.176.89 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/src/linux-headers-5.15.0-142/include/soc/canaan/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2019-20 Sean Anderson <[email protected]> * Copyright (c) 2020 Western Digital Corporation or its affiliates. */ #ifndef K210_SYSCTL_H #define K210_SYSCTL_H /* * Kendryte K210 SoC system controller registers offsets. * Taken from Kendryte SDK (kendryte-standalone-sdk). */ #define K210_SYSCTL_GIT_ID 0x00 /* Git short commit id */ #define K210_SYSCTL_UART_BAUD 0x04 /* Default UARTHS baud rate */ #define K210_SYSCTL_PLL0 0x08 /* PLL0 controller */ #define K210_SYSCTL_PLL1 0x0C /* PLL1 controller */ #define K210_SYSCTL_PLL2 0x10 /* PLL2 controller */ #define K210_SYSCTL_PLL_LOCK 0x18 /* PLL lock tester */ #define K210_SYSCTL_ROM_ERROR 0x1C /* AXI ROM detector */ #define K210_SYSCTL_SEL0 0x20 /* Clock select controller 0 */ #define K210_SYSCTL_SEL1 0x24 /* Clock select controller 1 */ #define K210_SYSCTL_EN_CENT 0x28 /* Central clock enable */ #define K210_SYSCTL_EN_PERI 0x2C /* Peripheral clock enable */ #define K210_SYSCTL_SOFT_RESET 0x30 /* Soft reset ctrl */ #define K210_SYSCTL_PERI_RESET 0x34 /* Peripheral reset controller */ #define K210_SYSCTL_THR0 0x38 /* Clock threshold controller 0 */ #define K210_SYSCTL_THR1 0x3C /* Clock threshold controller 1 */ #define K210_SYSCTL_THR2 0x40 /* Clock threshold controller 2 */ #define K210_SYSCTL_THR3 0x44 /* Clock threshold controller 3 */ #define K210_SYSCTL_THR4 0x48 /* Clock threshold controller 4 */ #define K210_SYSCTL_THR5 0x4C /* Clock threshold controller 5 */ #define K210_SYSCTL_THR6 0x50 /* Clock threshold controller 6 */ #define K210_SYSCTL_MISC 0x54 /* Miscellaneous controller */ #define K210_SYSCTL_PERI 0x58 /* Peripheral controller */ #define K210_SYSCTL_SPI_SLEEP 0x5C /* SPI sleep controller */ #define K210_SYSCTL_RESET_STAT 0x60 /* Reset source status */ #define K210_SYSCTL_DMA_SEL0 0x64 /* DMA handshake selector 0 */ #define K210_SYSCTL_DMA_SEL1 0x68 /* DMA handshake selector 1 */ #define K210_SYSCTL_POWER_SEL 0x6C /* IO Power Mode Select controller */ void k210_clk_early_init(void __iomem *regs); #endif