1 1.1 skrll /* $NetBSD: bitmain,bm1880-reset.h,v 1.1.1.1 2020/01/03 14:33:06 skrll Exp $ */ 2 1.1 skrll 3 1.1 skrll /* SPDX-License-Identifier: GPL-2.0+ */ 4 1.1 skrll /* 5 1.1 skrll * Copyright (c) 2018 Bitmain Ltd. 6 1.1 skrll * Copyright (c) 2019 Linaro Ltd. 7 1.1 skrll */ 8 1.1 skrll 9 1.1 skrll #ifndef _DT_BINDINGS_BM1880_RESET_H 10 1.1 skrll #define _DT_BINDINGS_BM1880_RESET_H 11 1.1 skrll 12 1.1 skrll #define BM1880_RST_MAIN_AP 0 13 1.1 skrll #define BM1880_RST_SECOND_AP 1 14 1.1 skrll #define BM1880_RST_DDR 2 15 1.1 skrll #define BM1880_RST_VIDEO 3 16 1.1 skrll #define BM1880_RST_JPEG 4 17 1.1 skrll #define BM1880_RST_VPP 5 18 1.1 skrll #define BM1880_RST_GDMA 6 19 1.1 skrll #define BM1880_RST_AXI_SRAM 7 20 1.1 skrll #define BM1880_RST_TPU 8 21 1.1 skrll #define BM1880_RST_USB 9 22 1.1 skrll #define BM1880_RST_ETH0 10 23 1.1 skrll #define BM1880_RST_ETH1 11 24 1.1 skrll #define BM1880_RST_NAND 12 25 1.1 skrll #define BM1880_RST_EMMC 13 26 1.1 skrll #define BM1880_RST_SD 14 27 1.1 skrll #define BM1880_RST_SDMA 15 28 1.1 skrll #define BM1880_RST_I2S0 16 29 1.1 skrll #define BM1880_RST_I2S1 17 30 1.1 skrll #define BM1880_RST_UART0_1_CLK 18 31 1.1 skrll #define BM1880_RST_UART0_1_ACLK 19 32 1.1 skrll #define BM1880_RST_UART2_3_CLK 20 33 1.1 skrll #define BM1880_RST_UART2_3_ACLK 21 34 1.1 skrll #define BM1880_RST_MINER 22 35 1.1 skrll #define BM1880_RST_I2C0 23 36 1.1 skrll #define BM1880_RST_I2C1 24 37 1.1 skrll #define BM1880_RST_I2C2 25 38 1.1 skrll #define BM1880_RST_I2C3 26 39 1.1 skrll #define BM1880_RST_I2C4 27 40 1.1 skrll #define BM1880_RST_PWM0 28 41 1.1 skrll #define BM1880_RST_PWM1 29 42 1.1 skrll #define BM1880_RST_PWM2 30 43 1.1 skrll #define BM1880_RST_PWM3 31 44 1.1 skrll #define BM1880_RST_SPI 32 45 1.1 skrll #define BM1880_RST_GPIO0 33 46 1.1 skrll #define BM1880_RST_GPIO1 34 47 1.1 skrll #define BM1880_RST_GPIO2 35 48 1.1 skrll #define BM1880_RST_EFUSE 36 49 1.1 skrll #define BM1880_RST_WDT 37 50 1.1 skrll #define BM1880_RST_AHB_ROM 38 51 1.1 skrll #define BM1880_RST_SPIC 39 52 1.1 skrll 53 1.1 skrll #endif /* _DT_BINDINGS_BM1880_RESET_H */ 54