1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 2*c66ec88fSEmmanuel Vadot /* 3*c66ec88fSEmmanuel Vadot * Copyright (c) 2016 BayLibre, SAS. 4*c66ec88fSEmmanuel Vadot * Author: Neil Armstrong <narmstrong@baylibre.com> 5*c66ec88fSEmmanuel Vadot */ 6*c66ec88fSEmmanuel Vadot #ifndef _DT_BINDINGS_AMLOGIC_MESON_GXBB_RESET_H 7*c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_AMLOGIC_MESON_GXBB_RESET_H 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadot /* RESET0 */ 10*c66ec88fSEmmanuel Vadot #define RESET_HIU 0 11*c66ec88fSEmmanuel Vadot /* 1 */ 12*c66ec88fSEmmanuel Vadot #define RESET_DOS_RESET 2 13*c66ec88fSEmmanuel Vadot #define RESET_DDR_TOP 3 14*c66ec88fSEmmanuel Vadot #define RESET_DCU_RESET 4 15*c66ec88fSEmmanuel Vadot #define RESET_VIU 5 16*c66ec88fSEmmanuel Vadot #define RESET_AIU 6 17*c66ec88fSEmmanuel Vadot #define RESET_VID_PLL_DIV 7 18*c66ec88fSEmmanuel Vadot /* 8 */ 19*c66ec88fSEmmanuel Vadot #define RESET_PMUX 9 20*c66ec88fSEmmanuel Vadot #define RESET_VENC 10 21*c66ec88fSEmmanuel Vadot #define RESET_ASSIST 11 22*c66ec88fSEmmanuel Vadot #define RESET_AFIFO2 12 23*c66ec88fSEmmanuel Vadot #define RESET_VCBUS 13 24*c66ec88fSEmmanuel Vadot /* 14 */ 25*c66ec88fSEmmanuel Vadot /* 15 */ 26*c66ec88fSEmmanuel Vadot #define RESET_GIC 16 27*c66ec88fSEmmanuel Vadot #define RESET_CAPB3_DECODE 17 28*c66ec88fSEmmanuel Vadot #define RESET_NAND_CAPB3 18 29*c66ec88fSEmmanuel Vadot #define RESET_HDMITX_CAPB3 19 30*c66ec88fSEmmanuel Vadot #define RESET_MALI_CAPB3 20 31*c66ec88fSEmmanuel Vadot #define RESET_DOS_CAPB3 21 32*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_CAPB3 22 33*c66ec88fSEmmanuel Vadot #define RESET_CBUS_CAPB3 23 34*c66ec88fSEmmanuel Vadot #define RESET_AHB_CNTL 24 35*c66ec88fSEmmanuel Vadot #define RESET_AHB_DATA 25 36*c66ec88fSEmmanuel Vadot #define RESET_VCBUS_CLK81 26 37*c66ec88fSEmmanuel Vadot #define RESET_MMC 27 38*c66ec88fSEmmanuel Vadot #define RESET_MIPI_0 28 39*c66ec88fSEmmanuel Vadot #define RESET_MIPI_1 29 40*c66ec88fSEmmanuel Vadot #define RESET_MIPI_2 30 41*c66ec88fSEmmanuel Vadot #define RESET_MIPI_3 31 42*c66ec88fSEmmanuel Vadot /* RESET1 */ 43*c66ec88fSEmmanuel Vadot #define RESET_CPPM 32 44*c66ec88fSEmmanuel Vadot #define RESET_DEMUX 33 45*c66ec88fSEmmanuel Vadot #define RESET_USB_OTG 34 46*c66ec88fSEmmanuel Vadot #define RESET_DDR 35 47*c66ec88fSEmmanuel Vadot #define RESET_AO_RESET 36 48*c66ec88fSEmmanuel Vadot #define RESET_BT656 37 49*c66ec88fSEmmanuel Vadot #define RESET_AHB_SRAM 38 50*c66ec88fSEmmanuel Vadot /* 39 */ 51*c66ec88fSEmmanuel Vadot #define RESET_PARSER 40 52*c66ec88fSEmmanuel Vadot #define RESET_BLKMV 41 53*c66ec88fSEmmanuel Vadot #define RESET_ISA 42 54*c66ec88fSEmmanuel Vadot #define RESET_ETHERNET 43 55*c66ec88fSEmmanuel Vadot #define RESET_SD_EMMC_A 44 56*c66ec88fSEmmanuel Vadot #define RESET_SD_EMMC_B 45 57*c66ec88fSEmmanuel Vadot #define RESET_SD_EMMC_C 46 58*c66ec88fSEmmanuel Vadot #define RESET_ROM_BOOT 47 59*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_0 48 60*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_1 49 61*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_2 50 62*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_3 51 63*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_CORE_0 52 64*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_CORE_1 53 65*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_CORE_2 54 66*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_CORE_3 55 67*c66ec88fSEmmanuel Vadot #define RESET_SYS_PLL_DIV 56 68*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_AXI 57 69*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_L2 58 70*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_P 59 71*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_MBIST 60 72*c66ec88fSEmmanuel Vadot #define RESET_ACODEC 61 73*c66ec88fSEmmanuel Vadot /* 62 */ 74*c66ec88fSEmmanuel Vadot /* 63 */ 75*c66ec88fSEmmanuel Vadot /* RESET2 */ 76*c66ec88fSEmmanuel Vadot #define RESET_VD_RMEM 64 77*c66ec88fSEmmanuel Vadot #define RESET_AUDIN 65 78*c66ec88fSEmmanuel Vadot #define RESET_HDMI_TX 66 79*c66ec88fSEmmanuel Vadot /* 67 */ 80*c66ec88fSEmmanuel Vadot /* 68 */ 81*c66ec88fSEmmanuel Vadot /* 69 */ 82*c66ec88fSEmmanuel Vadot #define RESET_GE2D 70 83*c66ec88fSEmmanuel Vadot #define RESET_PARSER_REG 71 84*c66ec88fSEmmanuel Vadot #define RESET_PARSER_FETCH 72 85*c66ec88fSEmmanuel Vadot #define RESET_PARSER_CTL 73 86*c66ec88fSEmmanuel Vadot #define RESET_PARSER_TOP 74 87*c66ec88fSEmmanuel Vadot /* 75 */ 88*c66ec88fSEmmanuel Vadot /* 76 */ 89*c66ec88fSEmmanuel Vadot #define RESET_AO_CPU_RESET 77 90*c66ec88fSEmmanuel Vadot #define RESET_MALI 78 91*c66ec88fSEmmanuel Vadot #define RESET_HDMI_SYSTEM_RESET 79 92*c66ec88fSEmmanuel Vadot /* 80-95 */ 93*c66ec88fSEmmanuel Vadot /* RESET3 */ 94*c66ec88fSEmmanuel Vadot #define RESET_RING_OSCILLATOR 96 95*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU 97 96*c66ec88fSEmmanuel Vadot #define RESET_EFUSE 98 97*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_BVCI 99 98*c66ec88fSEmmanuel Vadot #define RESET_AIFIFO 100 99*c66ec88fSEmmanuel Vadot #define RESET_TVFE 101 100*c66ec88fSEmmanuel Vadot #define RESET_AHB_BRIDGE_CNTL 102 101*c66ec88fSEmmanuel Vadot /* 103 */ 102*c66ec88fSEmmanuel Vadot #define RESET_AUDIO_DAC 104 103*c66ec88fSEmmanuel Vadot #define RESET_DEMUX_TOP 105 104*c66ec88fSEmmanuel Vadot #define RESET_DEMUX_DES 106 105*c66ec88fSEmmanuel Vadot #define RESET_DEMUX_S2P_0 107 106*c66ec88fSEmmanuel Vadot #define RESET_DEMUX_S2P_1 108 107*c66ec88fSEmmanuel Vadot #define RESET_DEMUX_RESET_0 109 108*c66ec88fSEmmanuel Vadot #define RESET_DEMUX_RESET_1 110 109*c66ec88fSEmmanuel Vadot #define RESET_DEMUX_RESET_2 111 110*c66ec88fSEmmanuel Vadot /* 112-127 */ 111*c66ec88fSEmmanuel Vadot /* RESET4 */ 112*c66ec88fSEmmanuel Vadot /* 128 */ 113*c66ec88fSEmmanuel Vadot /* 129 */ 114*c66ec88fSEmmanuel Vadot /* 130 */ 115*c66ec88fSEmmanuel Vadot /* 131 */ 116*c66ec88fSEmmanuel Vadot #define RESET_DVIN_RESET 132 117*c66ec88fSEmmanuel Vadot #define RESET_RDMA 133 118*c66ec88fSEmmanuel Vadot #define RESET_VENCI 134 119*c66ec88fSEmmanuel Vadot #define RESET_VENCP 135 120*c66ec88fSEmmanuel Vadot /* 136 */ 121*c66ec88fSEmmanuel Vadot #define RESET_VDAC 137 122*c66ec88fSEmmanuel Vadot #define RESET_RTC 138 123*c66ec88fSEmmanuel Vadot /* 139 */ 124*c66ec88fSEmmanuel Vadot #define RESET_VDI6 140 125*c66ec88fSEmmanuel Vadot #define RESET_VENCL 141 126*c66ec88fSEmmanuel Vadot #define RESET_I2C_MASTER_2 142 127*c66ec88fSEmmanuel Vadot #define RESET_I2C_MASTER_1 143 128*c66ec88fSEmmanuel Vadot /* 144-159 */ 129*c66ec88fSEmmanuel Vadot /* RESET5 */ 130*c66ec88fSEmmanuel Vadot /* 160-191 */ 131*c66ec88fSEmmanuel Vadot /* RESET6 */ 132*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_GENERAL 192 133*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_SPICC 193 134*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_SMART_CARD 194 135*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_SAR_ADC 195 136*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_I2C_MASTER_0 196 137*c66ec88fSEmmanuel Vadot #define RESET_SANA 197 138*c66ec88fSEmmanuel Vadot /* 198 */ 139*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_STREAM_INTERFACE 199 140*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_SDIO 200 141*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_UART_0 201 142*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_UART_1_2 202 143*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_ASYNC_0 203 144*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_ASYNC_1 204 145*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_SPI_0 205 146*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_SDHC 206 147*c66ec88fSEmmanuel Vadot #define RESET_UART_SLIP 207 148*c66ec88fSEmmanuel Vadot /* 208-223 */ 149*c66ec88fSEmmanuel Vadot /* RESET7 */ 150*c66ec88fSEmmanuel Vadot #define RESET_USB_DDR_0 224 151*c66ec88fSEmmanuel Vadot #define RESET_USB_DDR_1 225 152*c66ec88fSEmmanuel Vadot #define RESET_USB_DDR_2 226 153*c66ec88fSEmmanuel Vadot #define RESET_USB_DDR_3 227 154*c66ec88fSEmmanuel Vadot /* 228 */ 155*c66ec88fSEmmanuel Vadot #define RESET_DEVICE_MMC_ARB 229 156*c66ec88fSEmmanuel Vadot /* 230 */ 157*c66ec88fSEmmanuel Vadot #define RESET_VID_LOCK 231 158*c66ec88fSEmmanuel Vadot #define RESET_A9_DMC_PIPEL 232 159*c66ec88fSEmmanuel Vadot /* 233-255 */ 160*c66ec88fSEmmanuel Vadot 161*c66ec88fSEmmanuel Vadot #endif 162