1*1d7c9d09SDamien Le Moal /* SPDX-License-Identifier: GPL-2.0+ */ 2*1d7c9d09SDamien Le Moal /* 3*1d7c9d09SDamien Le Moal * Copyright (C) 2019 Sean Anderson <seanga2@gmail.com> 4*1d7c9d09SDamien Le Moal * Copyright (c) 2020 Western Digital Corporation or its affiliates. 5*1d7c9d09SDamien Le Moal */ 6*1d7c9d09SDamien Le Moal #ifndef RESET_K210_SYSCTL_H 7*1d7c9d09SDamien Le Moal #define RESET_K210_SYSCTL_H 8*1d7c9d09SDamien Le Moal 9*1d7c9d09SDamien Le Moal /* 10*1d7c9d09SDamien Le Moal * Kendryte K210 SoC system controller K210_SYSCTL_SOFT_RESET register bits. 11*1d7c9d09SDamien Le Moal * Taken from Kendryte SDK (kendryte-standalone-sdk). 12*1d7c9d09SDamien Le Moal */ 13*1d7c9d09SDamien Le Moal #define K210_RST_ROM 0 14*1d7c9d09SDamien Le Moal #define K210_RST_DMA 1 15*1d7c9d09SDamien Le Moal #define K210_RST_AI 2 16*1d7c9d09SDamien Le Moal #define K210_RST_DVP 3 17*1d7c9d09SDamien Le Moal #define K210_RST_FFT 4 18*1d7c9d09SDamien Le Moal #define K210_RST_GPIO 5 19*1d7c9d09SDamien Le Moal #define K210_RST_SPI0 6 20*1d7c9d09SDamien Le Moal #define K210_RST_SPI1 7 21*1d7c9d09SDamien Le Moal #define K210_RST_SPI2 8 22*1d7c9d09SDamien Le Moal #define K210_RST_SPI3 9 23*1d7c9d09SDamien Le Moal #define K210_RST_I2S0 10 24*1d7c9d09SDamien Le Moal #define K210_RST_I2S1 11 25*1d7c9d09SDamien Le Moal #define K210_RST_I2S2 12 26*1d7c9d09SDamien Le Moal #define K210_RST_I2C0 13 27*1d7c9d09SDamien Le Moal #define K210_RST_I2C1 14 28*1d7c9d09SDamien Le Moal #define K210_RST_I2C2 15 29*1d7c9d09SDamien Le Moal #define K210_RST_UART1 16 30*1d7c9d09SDamien Le Moal #define K210_RST_UART2 17 31*1d7c9d09SDamien Le Moal #define K210_RST_UART3 18 32*1d7c9d09SDamien Le Moal #define K210_RST_AES 19 33*1d7c9d09SDamien Le Moal #define K210_RST_FPIOA 20 34*1d7c9d09SDamien Le Moal #define K210_RST_TIMER0 21 35*1d7c9d09SDamien Le Moal #define K210_RST_TIMER1 22 36*1d7c9d09SDamien Le Moal #define K210_RST_TIMER2 23 37*1d7c9d09SDamien Le Moal #define K210_RST_WDT0 24 38*1d7c9d09SDamien Le Moal #define K210_RST_WDT1 25 39*1d7c9d09SDamien Le Moal #define K210_RST_SHA 26 40*1d7c9d09SDamien Le Moal #define K210_RST_RTC 29 41*1d7c9d09SDamien Le Moal 42*1d7c9d09SDamien Le Moal #endif /* RESET_K210_SYSCTL_H */ 43