162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (c) 2019 BayLibre, SAS. 462306a36Sopenharmony_ci * Author: Jerome Brunet <jbrunet@baylibre.com> 562306a36Sopenharmony_ci * 662306a36Sopenharmony_ci */ 762306a36Sopenharmony_ci 862306a36Sopenharmony_ci#ifndef _DT_BINDINGS_AMLOGIC_MESON_G12A_RESET_H 962306a36Sopenharmony_ci#define _DT_BINDINGS_AMLOGIC_MESON_G12A_RESET_H 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci/* RESET0 */ 1262306a36Sopenharmony_ci#define RESET_HIU 0 1362306a36Sopenharmony_ci/* 1 */ 1462306a36Sopenharmony_ci#define RESET_DOS 2 1562306a36Sopenharmony_ci/* 3-4 */ 1662306a36Sopenharmony_ci#define RESET_VIU 5 1762306a36Sopenharmony_ci#define RESET_AFIFO 6 1862306a36Sopenharmony_ci#define RESET_VID_PLL_DIV 7 1962306a36Sopenharmony_ci/* 8-9 */ 2062306a36Sopenharmony_ci#define RESET_VENC 10 2162306a36Sopenharmony_ci#define RESET_ASSIST 11 2262306a36Sopenharmony_ci#define RESET_PCIE_CTRL_A 12 2362306a36Sopenharmony_ci#define RESET_VCBUS 13 2462306a36Sopenharmony_ci#define RESET_PCIE_PHY 14 2562306a36Sopenharmony_ci#define RESET_PCIE_APB 15 2662306a36Sopenharmony_ci#define RESET_GIC 16 2762306a36Sopenharmony_ci#define RESET_CAPB3_DECODE 17 2862306a36Sopenharmony_ci/* 18 */ 2962306a36Sopenharmony_ci#define RESET_HDMITX_CAPB3 19 3062306a36Sopenharmony_ci#define RESET_DVALIN_CAPB3 20 3162306a36Sopenharmony_ci#define RESET_DOS_CAPB3 21 3262306a36Sopenharmony_ci/* 22 */ 3362306a36Sopenharmony_ci#define RESET_CBUS_CAPB3 23 3462306a36Sopenharmony_ci#define RESET_AHB_CNTL 24 3562306a36Sopenharmony_ci#define RESET_AHB_DATA 25 3662306a36Sopenharmony_ci#define RESET_VCBUS_CLK81 26 3762306a36Sopenharmony_ci/* 27-31 */ 3862306a36Sopenharmony_ci/* RESET1 */ 3962306a36Sopenharmony_ci/* 32 */ 4062306a36Sopenharmony_ci#define RESET_DEMUX 33 4162306a36Sopenharmony_ci#define RESET_USB 34 4262306a36Sopenharmony_ci#define RESET_DDR 35 4362306a36Sopenharmony_ci/* 36 */ 4462306a36Sopenharmony_ci#define RESET_BT656 37 4562306a36Sopenharmony_ci#define RESET_AHB_SRAM 38 4662306a36Sopenharmony_ci/* 39 */ 4762306a36Sopenharmony_ci#define RESET_PARSER 40 4862306a36Sopenharmony_ci/* 41 */ 4962306a36Sopenharmony_ci#define RESET_ISA 42 5062306a36Sopenharmony_ci#define RESET_ETHERNET 43 5162306a36Sopenharmony_ci#define RESET_SD_EMMC_A 44 5262306a36Sopenharmony_ci#define RESET_SD_EMMC_B 45 5362306a36Sopenharmony_ci#define RESET_SD_EMMC_C 46 5462306a36Sopenharmony_ci/* 47 */ 5562306a36Sopenharmony_ci#define RESET_USB_PHY20 48 5662306a36Sopenharmony_ci#define RESET_USB_PHY21 49 5762306a36Sopenharmony_ci/* 50-60 */ 5862306a36Sopenharmony_ci#define RESET_AUDIO_CODEC 61 5962306a36Sopenharmony_ci/* 62-63 */ 6062306a36Sopenharmony_ci/* RESET2 */ 6162306a36Sopenharmony_ci/* 64 */ 6262306a36Sopenharmony_ci#define RESET_AUDIO 65 6362306a36Sopenharmony_ci#define RESET_HDMITX_PHY 66 6462306a36Sopenharmony_ci/* 67 */ 6562306a36Sopenharmony_ci#define RESET_MIPI_DSI_HOST 68 6662306a36Sopenharmony_ci#define RESET_ALOCKER 69 6762306a36Sopenharmony_ci#define RESET_GE2D 70 6862306a36Sopenharmony_ci#define RESET_PARSER_REG 71 6962306a36Sopenharmony_ci#define RESET_PARSER_FETCH 72 7062306a36Sopenharmony_ci#define RESET_CTL 73 7162306a36Sopenharmony_ci#define RESET_PARSER_TOP 74 7262306a36Sopenharmony_ci/* 75 */ 7362306a36Sopenharmony_ci#define RESET_NNA 76 7462306a36Sopenharmony_ci/* 77 */ 7562306a36Sopenharmony_ci#define RESET_DVALIN 78 7662306a36Sopenharmony_ci#define RESET_HDMITX 79 7762306a36Sopenharmony_ci/* 80-95 */ 7862306a36Sopenharmony_ci/* RESET3 */ 7962306a36Sopenharmony_ci/* 96-95 */ 8062306a36Sopenharmony_ci#define RESET_DEMUX_TOP 105 8162306a36Sopenharmony_ci#define RESET_DEMUX_DES_PL 106 8262306a36Sopenharmony_ci#define RESET_DEMUX_S2P_0 107 8362306a36Sopenharmony_ci#define RESET_DEMUX_S2P_1 108 8462306a36Sopenharmony_ci#define RESET_DEMUX_0 109 8562306a36Sopenharmony_ci#define RESET_DEMUX_1 110 8662306a36Sopenharmony_ci#define RESET_DEMUX_2 111 8762306a36Sopenharmony_ci/* 112-127 */ 8862306a36Sopenharmony_ci/* RESET4 */ 8962306a36Sopenharmony_ci/* 128-129 */ 9062306a36Sopenharmony_ci#define RESET_MIPI_DSI_PHY 130 9162306a36Sopenharmony_ci/* 131-132 */ 9262306a36Sopenharmony_ci#define RESET_RDMA 133 9362306a36Sopenharmony_ci#define RESET_VENCI 134 9462306a36Sopenharmony_ci#define RESET_VENCP 135 9562306a36Sopenharmony_ci/* 136 */ 9662306a36Sopenharmony_ci#define RESET_VDAC 137 9762306a36Sopenharmony_ci/* 138-139 */ 9862306a36Sopenharmony_ci#define RESET_VDI6 140 9962306a36Sopenharmony_ci#define RESET_VENCL 141 10062306a36Sopenharmony_ci#define RESET_I2C_M1 142 10162306a36Sopenharmony_ci#define RESET_I2C_M2 143 10262306a36Sopenharmony_ci/* 144-159 */ 10362306a36Sopenharmony_ci/* RESET5 */ 10462306a36Sopenharmony_ci/* 160-191 */ 10562306a36Sopenharmony_ci/* RESET6 */ 10662306a36Sopenharmony_ci#define RESET_GEN 192 10762306a36Sopenharmony_ci#define RESET_SPICC0 193 10862306a36Sopenharmony_ci#define RESET_SC 194 10962306a36Sopenharmony_ci#define RESET_SANA_3 195 11062306a36Sopenharmony_ci#define RESET_I2C_M0 196 11162306a36Sopenharmony_ci#define RESET_TS_PLL 197 11262306a36Sopenharmony_ci#define RESET_SPICC1 198 11362306a36Sopenharmony_ci#define RESET_STREAM 199 11462306a36Sopenharmony_ci#define RESET_TS_CPU 200 11562306a36Sopenharmony_ci#define RESET_UART0 201 11662306a36Sopenharmony_ci#define RESET_UART1_2 202 11762306a36Sopenharmony_ci#define RESET_ASYNC0 203 11862306a36Sopenharmony_ci#define RESET_ASYNC1 204 11962306a36Sopenharmony_ci#define RESET_SPIFC0 205 12062306a36Sopenharmony_ci#define RESET_I2C_M3 206 12162306a36Sopenharmony_ci/* 207-223 */ 12262306a36Sopenharmony_ci/* RESET7 */ 12362306a36Sopenharmony_ci#define RESET_USB_DDR_0 224 12462306a36Sopenharmony_ci#define RESET_USB_DDR_1 225 12562306a36Sopenharmony_ci#define RESET_USB_DDR_2 226 12662306a36Sopenharmony_ci#define RESET_USB_DDR_3 227 12762306a36Sopenharmony_ci#define RESET_TS_GPU 228 12862306a36Sopenharmony_ci#define RESET_DEVICE_MMC_ARB 229 12962306a36Sopenharmony_ci#define RESET_DVALIN_DMC_PIPL 230 13062306a36Sopenharmony_ci#define RESET_VID_LOCK 231 13162306a36Sopenharmony_ci#define RESET_NIC_DMC_PIPL 232 13262306a36Sopenharmony_ci#define RESET_DMC_VPU_PIPL 233 13362306a36Sopenharmony_ci#define RESET_GE2D_DMC_PIPL 234 13462306a36Sopenharmony_ci#define RESET_HCODEC_DMC_PIPL 235 13562306a36Sopenharmony_ci#define RESET_WAVE420_DMC_PIPL 236 13662306a36Sopenharmony_ci#define RESET_HEVCF_DMC_PIPL 237 13762306a36Sopenharmony_ci/* 238-255 */ 13862306a36Sopenharmony_ci 13962306a36Sopenharmony_ci#endif 140