Sean Anderson | d11b582 | 2020-06-24 06:41:23 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Copyright (C) 2019 Sean Anderson <seanga2@gmail.com> |
| 4 | */ |
| 5 | |
| 6 | #ifndef RESET_K210_SYSCTL_H |
| 7 | #define RESET_K210_SYSCTL_H |
| 8 | |
| 9 | #define K210_RST_ROM 0 |
| 10 | #define K210_RST_DMA 1 |
| 11 | #define K210_RST_AI 2 |
| 12 | #define K210_RST_DVP 3 |
| 13 | #define K210_RST_FFT 4 |
| 14 | #define K210_RST_GPIO 5 |
| 15 | #define K210_RST_SPI0 6 |
| 16 | #define K210_RST_SPI1 7 |
| 17 | #define K210_RST_SPI2 8 |
| 18 | #define K210_RST_SPI3 9 |
| 19 | #define K210_RST_I2S0 10 |
| 20 | #define K210_RST_I2S1 11 |
| 21 | #define K210_RST_I2S2 12 |
| 22 | #define K210_RST_I2C0 13 |
| 23 | #define K210_RST_I2C1 14 |
| 24 | #define K210_RST_I2C2 15 |
| 25 | #define K210_RST_UART1 16 |
| 26 | #define K210_RST_UART2 17 |
| 27 | #define K210_RST_UART3 18 |
| 28 | #define K210_RST_AES 19 |
| 29 | #define K210_RST_FPIOA 20 |
| 30 | #define K210_RST_TIMER0 21 |
| 31 | #define K210_RST_TIMER1 22 |
| 32 | #define K210_RST_TIMER2 23 |
| 33 | #define K210_RST_WDT0 24 |
| 34 | #define K210_RST_WDT1 25 |
| 35 | #define K210_RST_SHA 26 |
| 36 | #define K210_RST_RTC 29 |
| 37 | |
| 38 | #endif /* RESET_K210_SYSCTL_H */ |