11.1Sjmcneill/* $NetBSD: amlogic,meson-gxbb-reset.h,v 1.1.1.3 2021/11/07 16:49:57 jmcneill Exp $ */ 21.1Sjmcneill 31.1.1.2Sskrll/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 41.1Sjmcneill/* 51.1Sjmcneill * Copyright (c) 2016 BayLibre, SAS. 61.1Sjmcneill * Author: Neil Armstrong <narmstrong@baylibre.com> 71.1Sjmcneill */ 81.1Sjmcneill#ifndef _DT_BINDINGS_AMLOGIC_MESON_GXBB_RESET_H 91.1Sjmcneill#define _DT_BINDINGS_AMLOGIC_MESON_GXBB_RESET_H 101.1Sjmcneill 111.1Sjmcneill/* RESET0 */ 121.1Sjmcneill#define RESET_HIU 0 131.1Sjmcneill/* 1 */ 141.1Sjmcneill#define RESET_DOS_RESET 2 151.1Sjmcneill#define RESET_DDR_TOP 3 161.1Sjmcneill#define RESET_DCU_RESET 4 171.1Sjmcneill#define RESET_VIU 5 181.1Sjmcneill#define RESET_AIU 6 191.1Sjmcneill#define RESET_VID_PLL_DIV 7 201.1Sjmcneill/* 8 */ 211.1Sjmcneill#define RESET_PMUX 9 221.1Sjmcneill#define RESET_VENC 10 231.1Sjmcneill#define RESET_ASSIST 11 241.1Sjmcneill#define RESET_AFIFO2 12 251.1Sjmcneill#define RESET_VCBUS 13 261.1Sjmcneill/* 14 */ 271.1Sjmcneill/* 15 */ 281.1Sjmcneill#define RESET_GIC 16 291.1Sjmcneill#define RESET_CAPB3_DECODE 17 301.1Sjmcneill#define RESET_NAND_CAPB3 18 311.1Sjmcneill#define RESET_HDMITX_CAPB3 19 321.1Sjmcneill#define RESET_MALI_CAPB3 20 331.1Sjmcneill#define RESET_DOS_CAPB3 21 341.1Sjmcneill#define RESET_SYS_CPU_CAPB3 22 351.1Sjmcneill#define RESET_CBUS_CAPB3 23 361.1Sjmcneill#define RESET_AHB_CNTL 24 371.1Sjmcneill#define RESET_AHB_DATA 25 381.1Sjmcneill#define RESET_VCBUS_CLK81 26 391.1Sjmcneill#define RESET_MMC 27 401.1Sjmcneill#define RESET_MIPI_0 28 411.1Sjmcneill#define RESET_MIPI_1 29 421.1Sjmcneill#define RESET_MIPI_2 30 431.1Sjmcneill#define RESET_MIPI_3 31 441.1Sjmcneill/* RESET1 */ 451.1Sjmcneill#define RESET_CPPM 32 461.1Sjmcneill#define RESET_DEMUX 33 471.1Sjmcneill#define RESET_USB_OTG 34 481.1Sjmcneill#define RESET_DDR 35 491.1Sjmcneill#define RESET_AO_RESET 36 501.1Sjmcneill#define RESET_BT656 37 511.1Sjmcneill#define RESET_AHB_SRAM 38 521.1Sjmcneill/* 39 */ 531.1Sjmcneill#define RESET_PARSER 40 541.1Sjmcneill#define RESET_BLKMV 41 551.1Sjmcneill#define RESET_ISA 42 561.1Sjmcneill#define RESET_ETHERNET 43 571.1Sjmcneill#define RESET_SD_EMMC_A 44 581.1Sjmcneill#define RESET_SD_EMMC_B 45 591.1Sjmcneill#define RESET_SD_EMMC_C 46 601.1Sjmcneill#define RESET_ROM_BOOT 47 611.1Sjmcneill#define RESET_SYS_CPU_0 48 621.1Sjmcneill#define RESET_SYS_CPU_1 49 631.1Sjmcneill#define RESET_SYS_CPU_2 50 641.1Sjmcneill#define RESET_SYS_CPU_3 51 651.1Sjmcneill#define RESET_SYS_CPU_CORE_0 52 661.1Sjmcneill#define RESET_SYS_CPU_CORE_1 53 671.1Sjmcneill#define RESET_SYS_CPU_CORE_2 54 681.1Sjmcneill#define RESET_SYS_CPU_CORE_3 55 691.1Sjmcneill#define RESET_SYS_PLL_DIV 56 701.1Sjmcneill#define RESET_SYS_CPU_AXI 57 711.1Sjmcneill#define RESET_SYS_CPU_L2 58 721.1Sjmcneill#define RESET_SYS_CPU_P 59 731.1Sjmcneill#define RESET_SYS_CPU_MBIST 60 741.1.1.3Sjmcneill#define RESET_ACODEC 61 751.1Sjmcneill/* 62 */ 761.1Sjmcneill/* 63 */ 771.1Sjmcneill/* RESET2 */ 781.1Sjmcneill#define RESET_VD_RMEM 64 791.1Sjmcneill#define RESET_AUDIN 65 801.1Sjmcneill#define RESET_HDMI_TX 66 811.1Sjmcneill/* 67 */ 821.1Sjmcneill/* 68 */ 831.1Sjmcneill/* 69 */ 841.1Sjmcneill#define RESET_GE2D 70 851.1Sjmcneill#define RESET_PARSER_REG 71 861.1Sjmcneill#define RESET_PARSER_FETCH 72 871.1Sjmcneill#define RESET_PARSER_CTL 73 881.1Sjmcneill#define RESET_PARSER_TOP 74 891.1Sjmcneill/* 75 */ 901.1Sjmcneill/* 76 */ 911.1Sjmcneill#define RESET_AO_CPU_RESET 77 921.1Sjmcneill#define RESET_MALI 78 931.1Sjmcneill#define RESET_HDMI_SYSTEM_RESET 79 941.1Sjmcneill/* 80-95 */ 951.1Sjmcneill/* RESET3 */ 961.1Sjmcneill#define RESET_RING_OSCILLATOR 96 971.1Sjmcneill#define RESET_SYS_CPU 97 981.1Sjmcneill#define RESET_EFUSE 98 991.1Sjmcneill#define RESET_SYS_CPU_BVCI 99 1001.1Sjmcneill#define RESET_AIFIFO 100 1011.1Sjmcneill#define RESET_TVFE 101 1021.1Sjmcneill#define RESET_AHB_BRIDGE_CNTL 102 1031.1Sjmcneill/* 103 */ 1041.1Sjmcneill#define RESET_AUDIO_DAC 104 1051.1Sjmcneill#define RESET_DEMUX_TOP 105 1061.1Sjmcneill#define RESET_DEMUX_DES 106 1071.1Sjmcneill#define RESET_DEMUX_S2P_0 107 1081.1Sjmcneill#define RESET_DEMUX_S2P_1 108 1091.1Sjmcneill#define RESET_DEMUX_RESET_0 109 1101.1Sjmcneill#define RESET_DEMUX_RESET_1 110 1111.1Sjmcneill#define RESET_DEMUX_RESET_2 111 1121.1Sjmcneill/* 112-127 */ 1131.1Sjmcneill/* RESET4 */ 1141.1Sjmcneill/* 128 */ 1151.1Sjmcneill/* 129 */ 1161.1Sjmcneill/* 130 */ 1171.1Sjmcneill/* 131 */ 1181.1Sjmcneill#define RESET_DVIN_RESET 132 1191.1Sjmcneill#define RESET_RDMA 133 1201.1Sjmcneill#define RESET_VENCI 134 1211.1Sjmcneill#define RESET_VENCP 135 1221.1Sjmcneill/* 136 */ 1231.1Sjmcneill#define RESET_VDAC 137 1241.1Sjmcneill#define RESET_RTC 138 1251.1Sjmcneill/* 139 */ 1261.1Sjmcneill#define RESET_VDI6 140 1271.1Sjmcneill#define RESET_VENCL 141 1281.1Sjmcneill#define RESET_I2C_MASTER_2 142 1291.1Sjmcneill#define RESET_I2C_MASTER_1 143 1301.1Sjmcneill/* 144-159 */ 1311.1Sjmcneill/* RESET5 */ 1321.1Sjmcneill/* 160-191 */ 1331.1Sjmcneill/* RESET6 */ 1341.1Sjmcneill#define RESET_PERIPHS_GENERAL 192 1351.1Sjmcneill#define RESET_PERIPHS_SPICC 193 1361.1Sjmcneill#define RESET_PERIPHS_SMART_CARD 194 1371.1Sjmcneill#define RESET_PERIPHS_SAR_ADC 195 1381.1Sjmcneill#define RESET_PERIPHS_I2C_MASTER_0 196 1391.1Sjmcneill#define RESET_SANA 197 1401.1Sjmcneill/* 198 */ 1411.1Sjmcneill#define RESET_PERIPHS_STREAM_INTERFACE 199 1421.1Sjmcneill#define RESET_PERIPHS_SDIO 200 1431.1Sjmcneill#define RESET_PERIPHS_UART_0 201 1441.1Sjmcneill#define RESET_PERIPHS_UART_1_2 202 1451.1Sjmcneill#define RESET_PERIPHS_ASYNC_0 203 1461.1Sjmcneill#define RESET_PERIPHS_ASYNC_1 204 1471.1Sjmcneill#define RESET_PERIPHS_SPI_0 205 1481.1Sjmcneill#define RESET_PERIPHS_SDHC 206 1491.1Sjmcneill#define RESET_UART_SLIP 207 1501.1Sjmcneill/* 208-223 */ 1511.1Sjmcneill/* RESET7 */ 1521.1Sjmcneill#define RESET_USB_DDR_0 224 1531.1Sjmcneill#define RESET_USB_DDR_1 225 1541.1Sjmcneill#define RESET_USB_DDR_2 226 1551.1Sjmcneill#define RESET_USB_DDR_3 227 1561.1Sjmcneill/* 228 */ 1571.1Sjmcneill#define RESET_DEVICE_MMC_ARB 229 1581.1Sjmcneill/* 230 */ 1591.1Sjmcneill#define RESET_VID_LOCK 231 1601.1Sjmcneill#define RESET_A9_DMC_PIPEL 232 1611.1Sjmcneill/* 233-255 */ 1621.1Sjmcneill 1631.1Sjmcneill#endif 164