1*dd83840eSBeniamino Galvani /* 2*dd83840eSBeniamino Galvani * This file is provided under a dual BSD/GPLv2 license. When using or 3*dd83840eSBeniamino Galvani * redistributing this file, you may do so under either license. 4*dd83840eSBeniamino Galvani * 5*dd83840eSBeniamino Galvani * GPL LICENSE SUMMARY 6*dd83840eSBeniamino Galvani * 7*dd83840eSBeniamino Galvani * Copyright (c) 2016 BayLibre, SAS. 8*dd83840eSBeniamino Galvani * Author: Neil Armstrong <narmstrong@baylibre.com> 9*dd83840eSBeniamino Galvani * 10*dd83840eSBeniamino Galvani * This program is free software; you can redistribute it and/or modify 11*dd83840eSBeniamino Galvani * it under the terms of version 2 of the GNU General Public License as 12*dd83840eSBeniamino Galvani * published by the Free Software Foundation. 13*dd83840eSBeniamino Galvani * 14*dd83840eSBeniamino Galvani * This program is distributed in the hope that it will be useful, but 15*dd83840eSBeniamino Galvani * WITHOUT ANY WARRANTY; without even the implied warranty of 16*dd83840eSBeniamino Galvani * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17*dd83840eSBeniamino Galvani * General Public License for more details. 18*dd83840eSBeniamino Galvani * 19*dd83840eSBeniamino Galvani * You should have received a copy of the GNU General Public License 20*dd83840eSBeniamino Galvani * along with this program; if not, see <http://www.gnu.org/licenses/>. 21*dd83840eSBeniamino Galvani * The full GNU General Public License is included in this distribution 22*dd83840eSBeniamino Galvani * in the file called COPYING. 23*dd83840eSBeniamino Galvani * 24*dd83840eSBeniamino Galvani * BSD LICENSE 25*dd83840eSBeniamino Galvani * 26*dd83840eSBeniamino Galvani * Copyright (c) 2016 BayLibre, SAS. 27*dd83840eSBeniamino Galvani * Author: Neil Armstrong <narmstrong@baylibre.com> 28*dd83840eSBeniamino Galvani * 29*dd83840eSBeniamino Galvani * Redistribution and use in source and binary forms, with or without 30*dd83840eSBeniamino Galvani * modification, are permitted provided that the following conditions 31*dd83840eSBeniamino Galvani * are met: 32*dd83840eSBeniamino Galvani * 33*dd83840eSBeniamino Galvani * * Redistributions of source code must retain the above copyright 34*dd83840eSBeniamino Galvani * notice, this list of conditions and the following disclaimer. 35*dd83840eSBeniamino Galvani * * Redistributions in binary form must reproduce the above copyright 36*dd83840eSBeniamino Galvani * notice, this list of conditions and the following disclaimer in 37*dd83840eSBeniamino Galvani * the documentation and/or other materials provided with the 38*dd83840eSBeniamino Galvani * distribution. 39*dd83840eSBeniamino Galvani * * Neither the name of Intel Corporation nor the names of its 40*dd83840eSBeniamino Galvani * contributors may be used to endorse or promote products derived 41*dd83840eSBeniamino Galvani * from this software without specific prior written permission. 42*dd83840eSBeniamino Galvani * 43*dd83840eSBeniamino Galvani * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 44*dd83840eSBeniamino Galvani * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 45*dd83840eSBeniamino Galvani * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 46*dd83840eSBeniamino Galvani * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 47*dd83840eSBeniamino Galvani * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 48*dd83840eSBeniamino Galvani * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 49*dd83840eSBeniamino Galvani * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 50*dd83840eSBeniamino Galvani * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 51*dd83840eSBeniamino Galvani * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 52*dd83840eSBeniamino Galvani * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 53*dd83840eSBeniamino Galvani * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 54*dd83840eSBeniamino Galvani */ 55*dd83840eSBeniamino Galvani #ifndef _DT_BINDINGS_AMLOGIC_MESON_GXBB_RESET_H 56*dd83840eSBeniamino Galvani #define _DT_BINDINGS_AMLOGIC_MESON_GXBB_RESET_H 57*dd83840eSBeniamino Galvani 58*dd83840eSBeniamino Galvani /* RESET0 */ 59*dd83840eSBeniamino Galvani #define RESET_HIU 0 60*dd83840eSBeniamino Galvani /* 1 */ 61*dd83840eSBeniamino Galvani #define RESET_DOS_RESET 2 62*dd83840eSBeniamino Galvani #define RESET_DDR_TOP 3 63*dd83840eSBeniamino Galvani #define RESET_DCU_RESET 4 64*dd83840eSBeniamino Galvani #define RESET_VIU 5 65*dd83840eSBeniamino Galvani #define RESET_AIU 6 66*dd83840eSBeniamino Galvani #define RESET_VID_PLL_DIV 7 67*dd83840eSBeniamino Galvani /* 8 */ 68*dd83840eSBeniamino Galvani #define RESET_PMUX 9 69*dd83840eSBeniamino Galvani #define RESET_VENC 10 70*dd83840eSBeniamino Galvani #define RESET_ASSIST 11 71*dd83840eSBeniamino Galvani #define RESET_AFIFO2 12 72*dd83840eSBeniamino Galvani #define RESET_VCBUS 13 73*dd83840eSBeniamino Galvani /* 14 */ 74*dd83840eSBeniamino Galvani /* 15 */ 75*dd83840eSBeniamino Galvani #define RESET_GIC 16 76*dd83840eSBeniamino Galvani #define RESET_CAPB3_DECODE 17 77*dd83840eSBeniamino Galvani #define RESET_NAND_CAPB3 18 78*dd83840eSBeniamino Galvani #define RESET_HDMITX_CAPB3 19 79*dd83840eSBeniamino Galvani #define RESET_MALI_CAPB3 20 80*dd83840eSBeniamino Galvani #define RESET_DOS_CAPB3 21 81*dd83840eSBeniamino Galvani #define RESET_SYS_CPU_CAPB3 22 82*dd83840eSBeniamino Galvani #define RESET_CBUS_CAPB3 23 83*dd83840eSBeniamino Galvani #define RESET_AHB_CNTL 24 84*dd83840eSBeniamino Galvani #define RESET_AHB_DATA 25 85*dd83840eSBeniamino Galvani #define RESET_VCBUS_CLK81 26 86*dd83840eSBeniamino Galvani #define RESET_MMC 27 87*dd83840eSBeniamino Galvani #define RESET_MIPI_0 28 88*dd83840eSBeniamino Galvani #define RESET_MIPI_1 29 89*dd83840eSBeniamino Galvani #define RESET_MIPI_2 30 90*dd83840eSBeniamino Galvani #define RESET_MIPI_3 31 91*dd83840eSBeniamino Galvani /* RESET1 */ 92*dd83840eSBeniamino Galvani #define RESET_CPPM 32 93*dd83840eSBeniamino Galvani #define RESET_DEMUX 33 94*dd83840eSBeniamino Galvani #define RESET_USB_OTG 34 95*dd83840eSBeniamino Galvani #define RESET_DDR 35 96*dd83840eSBeniamino Galvani #define RESET_AO_RESET 36 97*dd83840eSBeniamino Galvani #define RESET_BT656 37 98*dd83840eSBeniamino Galvani #define RESET_AHB_SRAM 38 99*dd83840eSBeniamino Galvani /* 39 */ 100*dd83840eSBeniamino Galvani #define RESET_PARSER 40 101*dd83840eSBeniamino Galvani #define RESET_BLKMV 41 102*dd83840eSBeniamino Galvani #define RESET_ISA 42 103*dd83840eSBeniamino Galvani #define RESET_ETHERNET 43 104*dd83840eSBeniamino Galvani #define RESET_SD_EMMC_A 44 105*dd83840eSBeniamino Galvani #define RESET_SD_EMMC_B 45 106*dd83840eSBeniamino Galvani #define RESET_SD_EMMC_C 46 107*dd83840eSBeniamino Galvani #define RESET_ROM_BOOT 47 108*dd83840eSBeniamino Galvani #define RESET_SYS_CPU_0 48 109*dd83840eSBeniamino Galvani #define RESET_SYS_CPU_1 49 110*dd83840eSBeniamino Galvani #define RESET_SYS_CPU_2 50 111*dd83840eSBeniamino Galvani #define RESET_SYS_CPU_3 51 112*dd83840eSBeniamino Galvani #define RESET_SYS_CPU_CORE_0 52 113*dd83840eSBeniamino Galvani #define RESET_SYS_CPU_CORE_1 53 114*dd83840eSBeniamino Galvani #define RESET_SYS_CPU_CORE_2 54 115*dd83840eSBeniamino Galvani #define RESET_SYS_CPU_CORE_3 55 116*dd83840eSBeniamino Galvani #define RESET_SYS_PLL_DIV 56 117*dd83840eSBeniamino Galvani #define RESET_SYS_CPU_AXI 57 118*dd83840eSBeniamino Galvani #define RESET_SYS_CPU_L2 58 119*dd83840eSBeniamino Galvani #define RESET_SYS_CPU_P 59 120*dd83840eSBeniamino Galvani #define RESET_SYS_CPU_MBIST 60 121*dd83840eSBeniamino Galvani /* 61 */ 122*dd83840eSBeniamino Galvani /* 62 */ 123*dd83840eSBeniamino Galvani /* 63 */ 124*dd83840eSBeniamino Galvani /* RESET2 */ 125*dd83840eSBeniamino Galvani #define RESET_VD_RMEM 64 126*dd83840eSBeniamino Galvani #define RESET_AUDIN 65 127*dd83840eSBeniamino Galvani #define RESET_HDMI_TX 66 128*dd83840eSBeniamino Galvani /* 67 */ 129*dd83840eSBeniamino Galvani /* 68 */ 130*dd83840eSBeniamino Galvani /* 69 */ 131*dd83840eSBeniamino Galvani #define RESET_GE2D 70 132*dd83840eSBeniamino Galvani #define RESET_PARSER_REG 71 133*dd83840eSBeniamino Galvani #define RESET_PARSER_FETCH 72 134*dd83840eSBeniamino Galvani #define RESET_PARSER_CTL 73 135*dd83840eSBeniamino Galvani #define RESET_PARSER_TOP 74 136*dd83840eSBeniamino Galvani /* 75 */ 137*dd83840eSBeniamino Galvani /* 76 */ 138*dd83840eSBeniamino Galvani #define RESET_AO_CPU_RESET 77 139*dd83840eSBeniamino Galvani #define RESET_MALI 78 140*dd83840eSBeniamino Galvani #define RESET_HDMI_SYSTEM_RESET 79 141*dd83840eSBeniamino Galvani /* 80-95 */ 142*dd83840eSBeniamino Galvani /* RESET3 */ 143*dd83840eSBeniamino Galvani #define RESET_RING_OSCILLATOR 96 144*dd83840eSBeniamino Galvani #define RESET_SYS_CPU 97 145*dd83840eSBeniamino Galvani #define RESET_EFUSE 98 146*dd83840eSBeniamino Galvani #define RESET_SYS_CPU_BVCI 99 147*dd83840eSBeniamino Galvani #define RESET_AIFIFO 100 148*dd83840eSBeniamino Galvani #define RESET_TVFE 101 149*dd83840eSBeniamino Galvani #define RESET_AHB_BRIDGE_CNTL 102 150*dd83840eSBeniamino Galvani /* 103 */ 151*dd83840eSBeniamino Galvani #define RESET_AUDIO_DAC 104 152*dd83840eSBeniamino Galvani #define RESET_DEMUX_TOP 105 153*dd83840eSBeniamino Galvani #define RESET_DEMUX_DES 106 154*dd83840eSBeniamino Galvani #define RESET_DEMUX_S2P_0 107 155*dd83840eSBeniamino Galvani #define RESET_DEMUX_S2P_1 108 156*dd83840eSBeniamino Galvani #define RESET_DEMUX_RESET_0 109 157*dd83840eSBeniamino Galvani #define RESET_DEMUX_RESET_1 110 158*dd83840eSBeniamino Galvani #define RESET_DEMUX_RESET_2 111 159*dd83840eSBeniamino Galvani /* 112-127 */ 160*dd83840eSBeniamino Galvani /* RESET4 */ 161*dd83840eSBeniamino Galvani /* 128 */ 162*dd83840eSBeniamino Galvani /* 129 */ 163*dd83840eSBeniamino Galvani /* 130 */ 164*dd83840eSBeniamino Galvani /* 131 */ 165*dd83840eSBeniamino Galvani #define RESET_DVIN_RESET 132 166*dd83840eSBeniamino Galvani #define RESET_RDMA 133 167*dd83840eSBeniamino Galvani #define RESET_VENCI 134 168*dd83840eSBeniamino Galvani #define RESET_VENCP 135 169*dd83840eSBeniamino Galvani /* 136 */ 170*dd83840eSBeniamino Galvani #define RESET_VDAC 137 171*dd83840eSBeniamino Galvani #define RESET_RTC 138 172*dd83840eSBeniamino Galvani /* 139 */ 173*dd83840eSBeniamino Galvani #define RESET_VDI6 140 174*dd83840eSBeniamino Galvani #define RESET_VENCL 141 175*dd83840eSBeniamino Galvani #define RESET_I2C_MASTER_2 142 176*dd83840eSBeniamino Galvani #define RESET_I2C_MASTER_1 143 177*dd83840eSBeniamino Galvani /* 144-159 */ 178*dd83840eSBeniamino Galvani /* RESET5 */ 179*dd83840eSBeniamino Galvani /* 160-191 */ 180*dd83840eSBeniamino Galvani /* RESET6 */ 181*dd83840eSBeniamino Galvani #define RESET_PERIPHS_GENERAL 192 182*dd83840eSBeniamino Galvani #define RESET_PERIPHS_SPICC 193 183*dd83840eSBeniamino Galvani #define RESET_PERIPHS_SMART_CARD 194 184*dd83840eSBeniamino Galvani #define RESET_PERIPHS_SAR_ADC 195 185*dd83840eSBeniamino Galvani #define RESET_PERIPHS_I2C_MASTER_0 196 186*dd83840eSBeniamino Galvani #define RESET_SANA 197 187*dd83840eSBeniamino Galvani /* 198 */ 188*dd83840eSBeniamino Galvani #define RESET_PERIPHS_STREAM_INTERFACE 199 189*dd83840eSBeniamino Galvani #define RESET_PERIPHS_SDIO 200 190*dd83840eSBeniamino Galvani #define RESET_PERIPHS_UART_0 201 191*dd83840eSBeniamino Galvani #define RESET_PERIPHS_UART_1_2 202 192*dd83840eSBeniamino Galvani #define RESET_PERIPHS_ASYNC_0 203 193*dd83840eSBeniamino Galvani #define RESET_PERIPHS_ASYNC_1 204 194*dd83840eSBeniamino Galvani #define RESET_PERIPHS_SPI_0 205 195*dd83840eSBeniamino Galvani #define RESET_PERIPHS_SDHC 206 196*dd83840eSBeniamino Galvani #define RESET_UART_SLIP 207 197*dd83840eSBeniamino Galvani /* 208-223 */ 198*dd83840eSBeniamino Galvani /* RESET7 */ 199*dd83840eSBeniamino Galvani #define RESET_USB_DDR_0 224 200*dd83840eSBeniamino Galvani #define RESET_USB_DDR_1 225 201*dd83840eSBeniamino Galvani #define RESET_USB_DDR_2 226 202*dd83840eSBeniamino Galvani #define RESET_USB_DDR_3 227 203*dd83840eSBeniamino Galvani /* 228 */ 204*dd83840eSBeniamino Galvani #define RESET_DEVICE_MMC_ARB 229 205*dd83840eSBeniamino Galvani /* 230 */ 206*dd83840eSBeniamino Galvani #define RESET_VID_LOCK 231 207*dd83840eSBeniamino Galvani #define RESET_A9_DMC_PIPEL 232 208*dd83840eSBeniamino Galvani /* 233-255 */ 209*dd83840eSBeniamino Galvani 210*dd83840eSBeniamino Galvani #endif 211