18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (c) 2016 BayLibre, SAS. 48c2ecf20Sopenharmony_ci * Author: Neil Armstrong <narmstrong@baylibre.com> 58c2ecf20Sopenharmony_ci */ 68c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_AMLOGIC_MESON_GXBB_RESET_H 78c2ecf20Sopenharmony_ci#define _DT_BINDINGS_AMLOGIC_MESON_GXBB_RESET_H 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci/* RESET0 */ 108c2ecf20Sopenharmony_ci#define RESET_HIU 0 118c2ecf20Sopenharmony_ci/* 1 */ 128c2ecf20Sopenharmony_ci#define RESET_DOS_RESET 2 138c2ecf20Sopenharmony_ci#define RESET_DDR_TOP 3 148c2ecf20Sopenharmony_ci#define RESET_DCU_RESET 4 158c2ecf20Sopenharmony_ci#define RESET_VIU 5 168c2ecf20Sopenharmony_ci#define RESET_AIU 6 178c2ecf20Sopenharmony_ci#define RESET_VID_PLL_DIV 7 188c2ecf20Sopenharmony_ci/* 8 */ 198c2ecf20Sopenharmony_ci#define RESET_PMUX 9 208c2ecf20Sopenharmony_ci#define RESET_VENC 10 218c2ecf20Sopenharmony_ci#define RESET_ASSIST 11 228c2ecf20Sopenharmony_ci#define RESET_AFIFO2 12 238c2ecf20Sopenharmony_ci#define RESET_VCBUS 13 248c2ecf20Sopenharmony_ci/* 14 */ 258c2ecf20Sopenharmony_ci/* 15 */ 268c2ecf20Sopenharmony_ci#define RESET_GIC 16 278c2ecf20Sopenharmony_ci#define RESET_CAPB3_DECODE 17 288c2ecf20Sopenharmony_ci#define RESET_NAND_CAPB3 18 298c2ecf20Sopenharmony_ci#define RESET_HDMITX_CAPB3 19 308c2ecf20Sopenharmony_ci#define RESET_MALI_CAPB3 20 318c2ecf20Sopenharmony_ci#define RESET_DOS_CAPB3 21 328c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_CAPB3 22 338c2ecf20Sopenharmony_ci#define RESET_CBUS_CAPB3 23 348c2ecf20Sopenharmony_ci#define RESET_AHB_CNTL 24 358c2ecf20Sopenharmony_ci#define RESET_AHB_DATA 25 368c2ecf20Sopenharmony_ci#define RESET_VCBUS_CLK81 26 378c2ecf20Sopenharmony_ci#define RESET_MMC 27 388c2ecf20Sopenharmony_ci#define RESET_MIPI_0 28 398c2ecf20Sopenharmony_ci#define RESET_MIPI_1 29 408c2ecf20Sopenharmony_ci#define RESET_MIPI_2 30 418c2ecf20Sopenharmony_ci#define RESET_MIPI_3 31 428c2ecf20Sopenharmony_ci/* RESET1 */ 438c2ecf20Sopenharmony_ci#define RESET_CPPM 32 448c2ecf20Sopenharmony_ci#define RESET_DEMUX 33 458c2ecf20Sopenharmony_ci#define RESET_USB_OTG 34 468c2ecf20Sopenharmony_ci#define RESET_DDR 35 478c2ecf20Sopenharmony_ci#define RESET_AO_RESET 36 488c2ecf20Sopenharmony_ci#define RESET_BT656 37 498c2ecf20Sopenharmony_ci#define RESET_AHB_SRAM 38 508c2ecf20Sopenharmony_ci/* 39 */ 518c2ecf20Sopenharmony_ci#define RESET_PARSER 40 528c2ecf20Sopenharmony_ci#define RESET_BLKMV 41 538c2ecf20Sopenharmony_ci#define RESET_ISA 42 548c2ecf20Sopenharmony_ci#define RESET_ETHERNET 43 558c2ecf20Sopenharmony_ci#define RESET_SD_EMMC_A 44 568c2ecf20Sopenharmony_ci#define RESET_SD_EMMC_B 45 578c2ecf20Sopenharmony_ci#define RESET_SD_EMMC_C 46 588c2ecf20Sopenharmony_ci#define RESET_ROM_BOOT 47 598c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_0 48 608c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_1 49 618c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_2 50 628c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_3 51 638c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_CORE_0 52 648c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_CORE_1 53 658c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_CORE_2 54 668c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_CORE_3 55 678c2ecf20Sopenharmony_ci#define RESET_SYS_PLL_DIV 56 688c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_AXI 57 698c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_L2 58 708c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_P 59 718c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_MBIST 60 728c2ecf20Sopenharmony_ci#define RESET_ACODEC 61 738c2ecf20Sopenharmony_ci/* 62 */ 748c2ecf20Sopenharmony_ci/* 63 */ 758c2ecf20Sopenharmony_ci/* RESET2 */ 768c2ecf20Sopenharmony_ci#define RESET_VD_RMEM 64 778c2ecf20Sopenharmony_ci#define RESET_AUDIN 65 788c2ecf20Sopenharmony_ci#define RESET_HDMI_TX 66 798c2ecf20Sopenharmony_ci/* 67 */ 808c2ecf20Sopenharmony_ci/* 68 */ 818c2ecf20Sopenharmony_ci/* 69 */ 828c2ecf20Sopenharmony_ci#define RESET_GE2D 70 838c2ecf20Sopenharmony_ci#define RESET_PARSER_REG 71 848c2ecf20Sopenharmony_ci#define RESET_PARSER_FETCH 72 858c2ecf20Sopenharmony_ci#define RESET_PARSER_CTL 73 868c2ecf20Sopenharmony_ci#define RESET_PARSER_TOP 74 878c2ecf20Sopenharmony_ci/* 75 */ 888c2ecf20Sopenharmony_ci/* 76 */ 898c2ecf20Sopenharmony_ci#define RESET_AO_CPU_RESET 77 908c2ecf20Sopenharmony_ci#define RESET_MALI 78 918c2ecf20Sopenharmony_ci#define RESET_HDMI_SYSTEM_RESET 79 928c2ecf20Sopenharmony_ci/* 80-95 */ 938c2ecf20Sopenharmony_ci/* RESET3 */ 948c2ecf20Sopenharmony_ci#define RESET_RING_OSCILLATOR 96 958c2ecf20Sopenharmony_ci#define RESET_SYS_CPU 97 968c2ecf20Sopenharmony_ci#define RESET_EFUSE 98 978c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_BVCI 99 988c2ecf20Sopenharmony_ci#define RESET_AIFIFO 100 998c2ecf20Sopenharmony_ci#define RESET_TVFE 101 1008c2ecf20Sopenharmony_ci#define RESET_AHB_BRIDGE_CNTL 102 1018c2ecf20Sopenharmony_ci/* 103 */ 1028c2ecf20Sopenharmony_ci#define RESET_AUDIO_DAC 104 1038c2ecf20Sopenharmony_ci#define RESET_DEMUX_TOP 105 1048c2ecf20Sopenharmony_ci#define RESET_DEMUX_DES 106 1058c2ecf20Sopenharmony_ci#define RESET_DEMUX_S2P_0 107 1068c2ecf20Sopenharmony_ci#define RESET_DEMUX_S2P_1 108 1078c2ecf20Sopenharmony_ci#define RESET_DEMUX_RESET_0 109 1088c2ecf20Sopenharmony_ci#define RESET_DEMUX_RESET_1 110 1098c2ecf20Sopenharmony_ci#define RESET_DEMUX_RESET_2 111 1108c2ecf20Sopenharmony_ci/* 112-127 */ 1118c2ecf20Sopenharmony_ci/* RESET4 */ 1128c2ecf20Sopenharmony_ci/* 128 */ 1138c2ecf20Sopenharmony_ci/* 129 */ 1148c2ecf20Sopenharmony_ci/* 130 */ 1158c2ecf20Sopenharmony_ci/* 131 */ 1168c2ecf20Sopenharmony_ci#define RESET_DVIN_RESET 132 1178c2ecf20Sopenharmony_ci#define RESET_RDMA 133 1188c2ecf20Sopenharmony_ci#define RESET_VENCI 134 1198c2ecf20Sopenharmony_ci#define RESET_VENCP 135 1208c2ecf20Sopenharmony_ci/* 136 */ 1218c2ecf20Sopenharmony_ci#define RESET_VDAC 137 1228c2ecf20Sopenharmony_ci#define RESET_RTC 138 1238c2ecf20Sopenharmony_ci/* 139 */ 1248c2ecf20Sopenharmony_ci#define RESET_VDI6 140 1258c2ecf20Sopenharmony_ci#define RESET_VENCL 141 1268c2ecf20Sopenharmony_ci#define RESET_I2C_MASTER_2 142 1278c2ecf20Sopenharmony_ci#define RESET_I2C_MASTER_1 143 1288c2ecf20Sopenharmony_ci/* 144-159 */ 1298c2ecf20Sopenharmony_ci/* RESET5 */ 1308c2ecf20Sopenharmony_ci/* 160-191 */ 1318c2ecf20Sopenharmony_ci/* RESET6 */ 1328c2ecf20Sopenharmony_ci#define RESET_PERIPHS_GENERAL 192 1338c2ecf20Sopenharmony_ci#define RESET_PERIPHS_SPICC 193 1348c2ecf20Sopenharmony_ci#define RESET_PERIPHS_SMART_CARD 194 1358c2ecf20Sopenharmony_ci#define RESET_PERIPHS_SAR_ADC 195 1368c2ecf20Sopenharmony_ci#define RESET_PERIPHS_I2C_MASTER_0 196 1378c2ecf20Sopenharmony_ci#define RESET_SANA 197 1388c2ecf20Sopenharmony_ci/* 198 */ 1398c2ecf20Sopenharmony_ci#define RESET_PERIPHS_STREAM_INTERFACE 199 1408c2ecf20Sopenharmony_ci#define RESET_PERIPHS_SDIO 200 1418c2ecf20Sopenharmony_ci#define RESET_PERIPHS_UART_0 201 1428c2ecf20Sopenharmony_ci#define RESET_PERIPHS_UART_1_2 202 1438c2ecf20Sopenharmony_ci#define RESET_PERIPHS_ASYNC_0 203 1448c2ecf20Sopenharmony_ci#define RESET_PERIPHS_ASYNC_1 204 1458c2ecf20Sopenharmony_ci#define RESET_PERIPHS_SPI_0 205 1468c2ecf20Sopenharmony_ci#define RESET_PERIPHS_SDHC 206 1478c2ecf20Sopenharmony_ci#define RESET_UART_SLIP 207 1488c2ecf20Sopenharmony_ci/* 208-223 */ 1498c2ecf20Sopenharmony_ci/* RESET7 */ 1508c2ecf20Sopenharmony_ci#define RESET_USB_DDR_0 224 1518c2ecf20Sopenharmony_ci#define RESET_USB_DDR_1 225 1528c2ecf20Sopenharmony_ci#define RESET_USB_DDR_2 226 1538c2ecf20Sopenharmony_ci#define RESET_USB_DDR_3 227 1548c2ecf20Sopenharmony_ci/* 228 */ 1558c2ecf20Sopenharmony_ci#define RESET_DEVICE_MMC_ARB 229 1568c2ecf20Sopenharmony_ci/* 230 */ 1578c2ecf20Sopenharmony_ci#define RESET_VID_LOCK 231 1588c2ecf20Sopenharmony_ci#define RESET_A9_DMC_PIPEL 232 1598c2ecf20Sopenharmony_ci/* 233-255 */ 1608c2ecf20Sopenharmony_ci 1618c2ecf20Sopenharmony_ci#endif 162