1*01950c46SEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */ 2*01950c46SEmmanuel Vadot /* 3*01950c46SEmmanuel Vadot * Copyright (C) 2023 Sophgo Technology Inc. All rights reserved. 4*01950c46SEmmanuel Vadot */ 5*01950c46SEmmanuel Vadot 6*01950c46SEmmanuel Vadot #ifndef __DT_BINDINGS_RESET_SOPHGO_SG2042_H_ 7*01950c46SEmmanuel Vadot #define __DT_BINDINGS_RESET_SOPHGO_SG2042_H_ 8*01950c46SEmmanuel Vadot 9*01950c46SEmmanuel Vadot #define RST_MAIN_AP 0 10*01950c46SEmmanuel Vadot #define RST_RISCV_CPU 1 11*01950c46SEmmanuel Vadot #define RST_RISCV_LOW_SPEED_LOGIC 2 12*01950c46SEmmanuel Vadot #define RST_RISCV_CMN 3 13*01950c46SEmmanuel Vadot #define RST_HSDMA 4 14*01950c46SEmmanuel Vadot #define RST_SYSDMA 5 15*01950c46SEmmanuel Vadot #define RST_EFUSE0 6 16*01950c46SEmmanuel Vadot #define RST_EFUSE1 7 17*01950c46SEmmanuel Vadot #define RST_RTC 8 18*01950c46SEmmanuel Vadot #define RST_TIMER 9 19*01950c46SEmmanuel Vadot #define RST_WDT 10 20*01950c46SEmmanuel Vadot #define RST_AHB_ROM0 11 21*01950c46SEmmanuel Vadot #define RST_AHB_ROM1 12 22*01950c46SEmmanuel Vadot #define RST_I2C0 13 23*01950c46SEmmanuel Vadot #define RST_I2C1 14 24*01950c46SEmmanuel Vadot #define RST_I2C2 15 25*01950c46SEmmanuel Vadot #define RST_I2C3 16 26*01950c46SEmmanuel Vadot #define RST_GPIO0 17 27*01950c46SEmmanuel Vadot #define RST_GPIO1 18 28*01950c46SEmmanuel Vadot #define RST_GPIO2 19 29*01950c46SEmmanuel Vadot #define RST_PWM 20 30*01950c46SEmmanuel Vadot #define RST_AXI_SRAM0 21 31*01950c46SEmmanuel Vadot #define RST_AXI_SRAM1 22 32*01950c46SEmmanuel Vadot #define RST_SF0 23 33*01950c46SEmmanuel Vadot #define RST_SF1 24 34*01950c46SEmmanuel Vadot #define RST_LPC 25 35*01950c46SEmmanuel Vadot #define RST_ETH0 26 36*01950c46SEmmanuel Vadot #define RST_EMMC 27 37*01950c46SEmmanuel Vadot #define RST_SD 28 38*01950c46SEmmanuel Vadot #define RST_UART0 29 39*01950c46SEmmanuel Vadot #define RST_UART1 30 40*01950c46SEmmanuel Vadot #define RST_UART2 31 41*01950c46SEmmanuel Vadot #define RST_UART3 32 42*01950c46SEmmanuel Vadot #define RST_SPI0 33 43*01950c46SEmmanuel Vadot #define RST_SPI1 34 44*01950c46SEmmanuel Vadot #define RST_DBG_I2C 35 45*01950c46SEmmanuel Vadot #define RST_PCIE0 36 46*01950c46SEmmanuel Vadot #define RST_PCIE1 37 47*01950c46SEmmanuel Vadot #define RST_DDR0 38 48*01950c46SEmmanuel Vadot #define RST_DDR1 39 49*01950c46SEmmanuel Vadot #define RST_DDR2 40 50*01950c46SEmmanuel Vadot #define RST_DDR3 41 51*01950c46SEmmanuel Vadot #define RST_FAU0 42 52*01950c46SEmmanuel Vadot #define RST_FAU1 43 53*01950c46SEmmanuel Vadot #define RST_FAU2 44 54*01950c46SEmmanuel Vadot #define RST_RXU0 45 55*01950c46SEmmanuel Vadot #define RST_RXU1 46 56*01950c46SEmmanuel Vadot #define RST_RXU2 47 57*01950c46SEmmanuel Vadot #define RST_RXU3 48 58*01950c46SEmmanuel Vadot #define RST_RXU4 49 59*01950c46SEmmanuel Vadot #define RST_RXU5 50 60*01950c46SEmmanuel Vadot #define RST_RXU6 51 61*01950c46SEmmanuel Vadot #define RST_RXU7 52 62*01950c46SEmmanuel Vadot #define RST_RXU8 53 63*01950c46SEmmanuel Vadot #define RST_RXU9 54 64*01950c46SEmmanuel Vadot #define RST_RXU10 55 65*01950c46SEmmanuel Vadot #define RST_RXU11 56 66*01950c46SEmmanuel Vadot #define RST_RXU12 57 67*01950c46SEmmanuel Vadot #define RST_RXU13 58 68*01950c46SEmmanuel Vadot #define RST_RXU14 59 69*01950c46SEmmanuel Vadot #define RST_RXU15 60 70*01950c46SEmmanuel Vadot #define RST_RXU16 61 71*01950c46SEmmanuel Vadot #define RST_RXU17 62 72*01950c46SEmmanuel Vadot #define RST_RXU18 63 73*01950c46SEmmanuel Vadot #define RST_RXU19 64 74*01950c46SEmmanuel Vadot #define RST_RXU20 65 75*01950c46SEmmanuel Vadot #define RST_RXU21 66 76*01950c46SEmmanuel Vadot #define RST_RXU22 67 77*01950c46SEmmanuel Vadot #define RST_RXU23 68 78*01950c46SEmmanuel Vadot #define RST_RXU24 69 79*01950c46SEmmanuel Vadot #define RST_RXU25 70 80*01950c46SEmmanuel Vadot #define RST_RXU26 71 81*01950c46SEmmanuel Vadot #define RST_RXU27 72 82*01950c46SEmmanuel Vadot #define RST_RXU28 73 83*01950c46SEmmanuel Vadot #define RST_RXU29 74 84*01950c46SEmmanuel Vadot #define RST_RXU30 75 85*01950c46SEmmanuel Vadot #define RST_RXU31 76 86*01950c46SEmmanuel Vadot 87*01950c46SEmmanuel Vadot #endif /* __DT_BINDINGS_RESET_SOPHGO_SG2042_H_ */ 88