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 * Copyright (c) 2017 Amlogic, inc. 78c2ecf20Sopenharmony_ci * Author: Yixun Lan <yixun.lan@amlogic.com> 88c2ecf20Sopenharmony_ci * 98c2ecf20Sopenharmony_ci */ 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_AMLOGIC_MESON_AXG_RESET_H 128c2ecf20Sopenharmony_ci#define _DT_BINDINGS_AMLOGIC_MESON_AXG_RESET_H 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci/* RESET0 */ 158c2ecf20Sopenharmony_ci#define RESET_HIU 0 168c2ecf20Sopenharmony_ci#define RESET_PCIE_A 1 178c2ecf20Sopenharmony_ci#define RESET_PCIE_B 2 188c2ecf20Sopenharmony_ci#define RESET_DDR_TOP 3 198c2ecf20Sopenharmony_ci/* 4 */ 208c2ecf20Sopenharmony_ci#define RESET_VIU 5 218c2ecf20Sopenharmony_ci#define RESET_PCIE_PHY 6 228c2ecf20Sopenharmony_ci#define RESET_PCIE_APB 7 238c2ecf20Sopenharmony_ci/* 8 */ 248c2ecf20Sopenharmony_ci/* 9 */ 258c2ecf20Sopenharmony_ci#define RESET_VENC 10 268c2ecf20Sopenharmony_ci#define RESET_ASSIST 11 278c2ecf20Sopenharmony_ci/* 12 */ 288c2ecf20Sopenharmony_ci#define RESET_VCBUS 13 298c2ecf20Sopenharmony_ci/* 14 */ 308c2ecf20Sopenharmony_ci/* 15 */ 318c2ecf20Sopenharmony_ci#define RESET_GIC 16 328c2ecf20Sopenharmony_ci#define RESET_CAPB3_DECODE 17 338c2ecf20Sopenharmony_ci/* 18-21 */ 348c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_CAPB3 22 358c2ecf20Sopenharmony_ci#define RESET_CBUS_CAPB3 23 368c2ecf20Sopenharmony_ci#define RESET_AHB_CNTL 24 378c2ecf20Sopenharmony_ci#define RESET_AHB_DATA 25 388c2ecf20Sopenharmony_ci#define RESET_VCBUS_CLK81 26 398c2ecf20Sopenharmony_ci#define RESET_MMC 27 408c2ecf20Sopenharmony_ci/* 28-31 */ 418c2ecf20Sopenharmony_ci/* RESET1 */ 428c2ecf20Sopenharmony_ci/* 32 */ 438c2ecf20Sopenharmony_ci/* 33 */ 448c2ecf20Sopenharmony_ci#define RESET_USB_OTG 34 458c2ecf20Sopenharmony_ci#define RESET_DDR 35 468c2ecf20Sopenharmony_ci#define RESET_AO_RESET 36 478c2ecf20Sopenharmony_ci/* 37 */ 488c2ecf20Sopenharmony_ci#define RESET_AHB_SRAM 38 498c2ecf20Sopenharmony_ci/* 39 */ 508c2ecf20Sopenharmony_ci/* 40 */ 518c2ecf20Sopenharmony_ci#define RESET_DMA 41 528c2ecf20Sopenharmony_ci#define RESET_ISA 42 538c2ecf20Sopenharmony_ci#define RESET_ETHERNET 43 548c2ecf20Sopenharmony_ci/* 44 */ 558c2ecf20Sopenharmony_ci#define RESET_SD_EMMC_B 45 568c2ecf20Sopenharmony_ci#define RESET_SD_EMMC_C 46 578c2ecf20Sopenharmony_ci#define RESET_ROM_BOOT 47 588c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_0 48 598c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_1 49 608c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_2 50 618c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_3 51 628c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_CORE_0 52 638c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_CORE_1 53 648c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_CORE_2 54 658c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_CORE_3 55 668c2ecf20Sopenharmony_ci#define RESET_SYS_PLL_DIV 56 678c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_AXI 57 688c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_L2 58 698c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_P 59 708c2ecf20Sopenharmony_ci#define RESET_SYS_CPU_MBIST 60 718c2ecf20Sopenharmony_ci/* 61-63 */ 728c2ecf20Sopenharmony_ci/* RESET2 */ 738c2ecf20Sopenharmony_ci/* 64 */ 748c2ecf20Sopenharmony_ci/* 65 */ 758c2ecf20Sopenharmony_ci#define RESET_AUDIO 66 768c2ecf20Sopenharmony_ci/* 67 */ 778c2ecf20Sopenharmony_ci#define RESET_MIPI_HOST 68 788c2ecf20Sopenharmony_ci#define RESET_AUDIO_LOCKER 69 798c2ecf20Sopenharmony_ci#define RESET_GE2D 70 808c2ecf20Sopenharmony_ci/* 71-76 */ 818c2ecf20Sopenharmony_ci#define RESET_AO_CPU_RESET 77 828c2ecf20Sopenharmony_ci/* 78-95 */ 838c2ecf20Sopenharmony_ci/* RESET3 */ 848c2ecf20Sopenharmony_ci#define RESET_RING_OSCILLATOR 96 858c2ecf20Sopenharmony_ci/* 97-127 */ 868c2ecf20Sopenharmony_ci/* RESET4 */ 878c2ecf20Sopenharmony_ci/* 128 */ 888c2ecf20Sopenharmony_ci/* 129 */ 898c2ecf20Sopenharmony_ci#define RESET_MIPI_PHY 130 908c2ecf20Sopenharmony_ci/* 131-140 */ 918c2ecf20Sopenharmony_ci#define RESET_VENCL 141 928c2ecf20Sopenharmony_ci#define RESET_I2C_MASTER_2 142 938c2ecf20Sopenharmony_ci#define RESET_I2C_MASTER_1 143 948c2ecf20Sopenharmony_ci/* 144-159 */ 958c2ecf20Sopenharmony_ci/* RESET5 */ 968c2ecf20Sopenharmony_ci/* 160-191 */ 978c2ecf20Sopenharmony_ci/* RESET6 */ 988c2ecf20Sopenharmony_ci#define RESET_PERIPHS_GENERAL 192 998c2ecf20Sopenharmony_ci#define RESET_PERIPHS_SPICC 193 1008c2ecf20Sopenharmony_ci/* 194 */ 1018c2ecf20Sopenharmony_ci/* 195 */ 1028c2ecf20Sopenharmony_ci#define RESET_PERIPHS_I2C_MASTER_0 196 1038c2ecf20Sopenharmony_ci/* 197-200 */ 1048c2ecf20Sopenharmony_ci#define RESET_PERIPHS_UART_0 201 1058c2ecf20Sopenharmony_ci#define RESET_PERIPHS_UART_1 202 1068c2ecf20Sopenharmony_ci/* 203-204 */ 1078c2ecf20Sopenharmony_ci#define RESET_PERIPHS_SPI_0 205 1088c2ecf20Sopenharmony_ci#define RESET_PERIPHS_I2C_MASTER_3 206 1098c2ecf20Sopenharmony_ci/* 207-223 */ 1108c2ecf20Sopenharmony_ci/* RESET7 */ 1118c2ecf20Sopenharmony_ci#define RESET_USB_DDR_0 224 1128c2ecf20Sopenharmony_ci#define RESET_USB_DDR_1 225 1138c2ecf20Sopenharmony_ci#define RESET_USB_DDR_2 226 1148c2ecf20Sopenharmony_ci#define RESET_USB_DDR_3 227 1158c2ecf20Sopenharmony_ci/* 228 */ 1168c2ecf20Sopenharmony_ci#define RESET_DEVICE_MMC_ARB 229 1178c2ecf20Sopenharmony_ci/* 230 */ 1188c2ecf20Sopenharmony_ci#define RESET_VID_LOCK 231 1198c2ecf20Sopenharmony_ci#define RESET_A9_DMC_PIPEL 232 1208c2ecf20Sopenharmony_ci#define RESET_DMC_VPU_PIPEL 233 1218c2ecf20Sopenharmony_ci/* 234-255 */ 1228c2ecf20Sopenharmony_ci 1238c2ecf20Sopenharmony_ci#endif 124