1c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ 2c66ec88fSEmmanuel Vadot /* 3c66ec88fSEmmanuel Vadot * Copyright (c) 2019 BayLibre, SAS. 4c66ec88fSEmmanuel Vadot * Author: Jerome Brunet <jbrunet@baylibre.com> 5c66ec88fSEmmanuel Vadot * 6c66ec88fSEmmanuel Vadot */ 7c66ec88fSEmmanuel Vadot 8c66ec88fSEmmanuel Vadot #ifndef _DT_BINDINGS_AMLOGIC_MESON_G12A_RESET_H 9c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_AMLOGIC_MESON_G12A_RESET_H 10c66ec88fSEmmanuel Vadot 11c66ec88fSEmmanuel Vadot /* RESET0 */ 12c66ec88fSEmmanuel Vadot #define RESET_HIU 0 13c66ec88fSEmmanuel Vadot /* 1 */ 14c66ec88fSEmmanuel Vadot #define RESET_DOS 2 15c66ec88fSEmmanuel Vadot /* 3-4 */ 16c66ec88fSEmmanuel Vadot #define RESET_VIU 5 17c66ec88fSEmmanuel Vadot #define RESET_AFIFO 6 18c66ec88fSEmmanuel Vadot #define RESET_VID_PLL_DIV 7 19c66ec88fSEmmanuel Vadot /* 8-9 */ 20c66ec88fSEmmanuel Vadot #define RESET_VENC 10 21c66ec88fSEmmanuel Vadot #define RESET_ASSIST 11 22c66ec88fSEmmanuel Vadot #define RESET_PCIE_CTRL_A 12 23c66ec88fSEmmanuel Vadot #define RESET_VCBUS 13 24c66ec88fSEmmanuel Vadot #define RESET_PCIE_PHY 14 25c66ec88fSEmmanuel Vadot #define RESET_PCIE_APB 15 26c66ec88fSEmmanuel Vadot #define RESET_GIC 16 27c66ec88fSEmmanuel Vadot #define RESET_CAPB3_DECODE 17 28c66ec88fSEmmanuel Vadot /* 18 */ 29c66ec88fSEmmanuel Vadot #define RESET_HDMITX_CAPB3 19 30c66ec88fSEmmanuel Vadot #define RESET_DVALIN_CAPB3 20 31c66ec88fSEmmanuel Vadot #define RESET_DOS_CAPB3 21 32c66ec88fSEmmanuel Vadot /* 22 */ 33c66ec88fSEmmanuel Vadot #define RESET_CBUS_CAPB3 23 34c66ec88fSEmmanuel Vadot #define RESET_AHB_CNTL 24 35c66ec88fSEmmanuel Vadot #define RESET_AHB_DATA 25 36c66ec88fSEmmanuel Vadot #define RESET_VCBUS_CLK81 26 37c66ec88fSEmmanuel Vadot /* 27-31 */ 38c66ec88fSEmmanuel Vadot /* RESET1 */ 39c66ec88fSEmmanuel Vadot /* 32 */ 40c66ec88fSEmmanuel Vadot #define RESET_DEMUX 33 41c66ec88fSEmmanuel Vadot #define RESET_USB 34 42c66ec88fSEmmanuel Vadot #define RESET_DDR 35 43c66ec88fSEmmanuel Vadot /* 36 */ 44c66ec88fSEmmanuel Vadot #define RESET_BT656 37 45c66ec88fSEmmanuel Vadot #define RESET_AHB_SRAM 38 46c66ec88fSEmmanuel Vadot /* 39 */ 47c66ec88fSEmmanuel Vadot #define RESET_PARSER 40 48c66ec88fSEmmanuel Vadot /* 41 */ 49c66ec88fSEmmanuel Vadot #define RESET_ISA 42 50c66ec88fSEmmanuel Vadot #define RESET_ETHERNET 43 51c66ec88fSEmmanuel Vadot #define RESET_SD_EMMC_A 44 52c66ec88fSEmmanuel Vadot #define RESET_SD_EMMC_B 45 53c66ec88fSEmmanuel Vadot #define RESET_SD_EMMC_C 46 54c66ec88fSEmmanuel Vadot /* 47 */ 55c66ec88fSEmmanuel Vadot #define RESET_USB_PHY20 48 56c66ec88fSEmmanuel Vadot #define RESET_USB_PHY21 49 57c66ec88fSEmmanuel Vadot /* 50-60 */ 58c66ec88fSEmmanuel Vadot #define RESET_AUDIO_CODEC 61 59c66ec88fSEmmanuel Vadot /* 62-63 */ 60c66ec88fSEmmanuel Vadot /* RESET2 */ 61c66ec88fSEmmanuel Vadot /* 64 */ 62c66ec88fSEmmanuel Vadot #define RESET_AUDIO 65 63c66ec88fSEmmanuel Vadot #define RESET_HDMITX_PHY 66 64c66ec88fSEmmanuel Vadot /* 67 */ 65c66ec88fSEmmanuel Vadot #define RESET_MIPI_DSI_HOST 68 66c66ec88fSEmmanuel Vadot #define RESET_ALOCKER 69 67c66ec88fSEmmanuel Vadot #define RESET_GE2D 70 68c66ec88fSEmmanuel Vadot #define RESET_PARSER_REG 71 69c66ec88fSEmmanuel Vadot #define RESET_PARSER_FETCH 72 70c66ec88fSEmmanuel Vadot #define RESET_CTL 73 71c66ec88fSEmmanuel Vadot #define RESET_PARSER_TOP 74 72*cb7aa33aSEmmanuel Vadot /* 75 */ 73*cb7aa33aSEmmanuel Vadot #define RESET_NNA 76 74*cb7aa33aSEmmanuel Vadot /* 77 */ 75c66ec88fSEmmanuel Vadot #define RESET_DVALIN 78 76c66ec88fSEmmanuel Vadot #define RESET_HDMITX 79 77c66ec88fSEmmanuel Vadot /* 80-95 */ 78c66ec88fSEmmanuel Vadot /* RESET3 */ 79c66ec88fSEmmanuel Vadot /* 96-95 */ 80c66ec88fSEmmanuel Vadot #define RESET_DEMUX_TOP 105 81c66ec88fSEmmanuel Vadot #define RESET_DEMUX_DES_PL 106 82c66ec88fSEmmanuel Vadot #define RESET_DEMUX_S2P_0 107 83c66ec88fSEmmanuel Vadot #define RESET_DEMUX_S2P_1 108 84c66ec88fSEmmanuel Vadot #define RESET_DEMUX_0 109 85c66ec88fSEmmanuel Vadot #define RESET_DEMUX_1 110 86c66ec88fSEmmanuel Vadot #define RESET_DEMUX_2 111 87c66ec88fSEmmanuel Vadot /* 112-127 */ 88c66ec88fSEmmanuel Vadot /* RESET4 */ 89c66ec88fSEmmanuel Vadot /* 128-129 */ 90c66ec88fSEmmanuel Vadot #define RESET_MIPI_DSI_PHY 130 91c66ec88fSEmmanuel Vadot /* 131-132 */ 92c66ec88fSEmmanuel Vadot #define RESET_RDMA 133 93c66ec88fSEmmanuel Vadot #define RESET_VENCI 134 94c66ec88fSEmmanuel Vadot #define RESET_VENCP 135 95c66ec88fSEmmanuel Vadot /* 136 */ 96c66ec88fSEmmanuel Vadot #define RESET_VDAC 137 97c66ec88fSEmmanuel Vadot /* 138-139 */ 98c66ec88fSEmmanuel Vadot #define RESET_VDI6 140 99c66ec88fSEmmanuel Vadot #define RESET_VENCL 141 100c66ec88fSEmmanuel Vadot #define RESET_I2C_M1 142 101c66ec88fSEmmanuel Vadot #define RESET_I2C_M2 143 102c66ec88fSEmmanuel Vadot /* 144-159 */ 103c66ec88fSEmmanuel Vadot /* RESET5 */ 104c66ec88fSEmmanuel Vadot /* 160-191 */ 105c66ec88fSEmmanuel Vadot /* RESET6 */ 106c66ec88fSEmmanuel Vadot #define RESET_GEN 192 107c66ec88fSEmmanuel Vadot #define RESET_SPICC0 193 108c66ec88fSEmmanuel Vadot #define RESET_SC 194 109c66ec88fSEmmanuel Vadot #define RESET_SANA_3 195 110c66ec88fSEmmanuel Vadot #define RESET_I2C_M0 196 111c66ec88fSEmmanuel Vadot #define RESET_TS_PLL 197 112c66ec88fSEmmanuel Vadot #define RESET_SPICC1 198 113c66ec88fSEmmanuel Vadot #define RESET_STREAM 199 114c66ec88fSEmmanuel Vadot #define RESET_TS_CPU 200 115c66ec88fSEmmanuel Vadot #define RESET_UART0 201 116c66ec88fSEmmanuel Vadot #define RESET_UART1_2 202 117c66ec88fSEmmanuel Vadot #define RESET_ASYNC0 203 118c66ec88fSEmmanuel Vadot #define RESET_ASYNC1 204 119c66ec88fSEmmanuel Vadot #define RESET_SPIFC0 205 120c66ec88fSEmmanuel Vadot #define RESET_I2C_M3 206 121c66ec88fSEmmanuel Vadot /* 207-223 */ 122c66ec88fSEmmanuel Vadot /* RESET7 */ 123c66ec88fSEmmanuel Vadot #define RESET_USB_DDR_0 224 124c66ec88fSEmmanuel Vadot #define RESET_USB_DDR_1 225 125c66ec88fSEmmanuel Vadot #define RESET_USB_DDR_2 226 126c66ec88fSEmmanuel Vadot #define RESET_USB_DDR_3 227 127c66ec88fSEmmanuel Vadot #define RESET_TS_GPU 228 128c66ec88fSEmmanuel Vadot #define RESET_DEVICE_MMC_ARB 229 129c66ec88fSEmmanuel Vadot #define RESET_DVALIN_DMC_PIPL 230 130c66ec88fSEmmanuel Vadot #define RESET_VID_LOCK 231 131c66ec88fSEmmanuel Vadot #define RESET_NIC_DMC_PIPL 232 132c66ec88fSEmmanuel Vadot #define RESET_DMC_VPU_PIPL 233 133c66ec88fSEmmanuel Vadot #define RESET_GE2D_DMC_PIPL 234 134c66ec88fSEmmanuel Vadot #define RESET_HCODEC_DMC_PIPL 235 135c66ec88fSEmmanuel Vadot #define RESET_WAVE420_DMC_PIPL 236 136c66ec88fSEmmanuel Vadot #define RESET_HEVCF_DMC_PIPL 237 137c66ec88fSEmmanuel Vadot /* 238-255 */ 138c66ec88fSEmmanuel Vadot 139c66ec88fSEmmanuel Vadot #endif 140