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