1*b8eb71dcSChen-Yu Tsai /* 2*b8eb71dcSChen-Yu Tsai * Copyright (C) 2016 Chen-Yu Tsai <wens@csie.org> 3*b8eb71dcSChen-Yu Tsai * 4*b8eb71dcSChen-Yu Tsai * This file is dual-licensed: you can use it either under the terms 5*b8eb71dcSChen-Yu Tsai * of the GPL or the X11 license, at your option. Note that this dual 6*b8eb71dcSChen-Yu Tsai * licensing only applies to this file, and not this project as a 7*b8eb71dcSChen-Yu Tsai * whole. 8*b8eb71dcSChen-Yu Tsai * 9*b8eb71dcSChen-Yu Tsai * a) This file is free software; you can redistribute it and/or 10*b8eb71dcSChen-Yu Tsai * modify it under the terms of the GNU General Public License as 11*b8eb71dcSChen-Yu Tsai * published by the Free Software Foundation; either version 2 of the 12*b8eb71dcSChen-Yu Tsai * License, or (at your option) any later version. 13*b8eb71dcSChen-Yu Tsai * 14*b8eb71dcSChen-Yu Tsai * This file is distributed in the hope that it will be useful, 15*b8eb71dcSChen-Yu Tsai * but WITHOUT ANY WARRANTY; without even the implied warranty of 16*b8eb71dcSChen-Yu Tsai * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17*b8eb71dcSChen-Yu Tsai * GNU General Public License for more details. 18*b8eb71dcSChen-Yu Tsai * 19*b8eb71dcSChen-Yu Tsai * Or, alternatively, 20*b8eb71dcSChen-Yu Tsai * 21*b8eb71dcSChen-Yu Tsai * b) Permission is hereby granted, free of charge, to any person 22*b8eb71dcSChen-Yu Tsai * obtaining a copy of this software and associated documentation 23*b8eb71dcSChen-Yu Tsai * files (the "Software"), to deal in the Software without 24*b8eb71dcSChen-Yu Tsai * restriction, including without limitation the rights to use, 25*b8eb71dcSChen-Yu Tsai * copy, modify, merge, publish, distribute, sublicense, and/or 26*b8eb71dcSChen-Yu Tsai * sell copies of the Software, and to permit persons to whom the 27*b8eb71dcSChen-Yu Tsai * Software is furnished to do so, subject to the following 28*b8eb71dcSChen-Yu Tsai * conditions: 29*b8eb71dcSChen-Yu Tsai * 30*b8eb71dcSChen-Yu Tsai * The above copyright notice and this permission notice shall be 31*b8eb71dcSChen-Yu Tsai * included in all copies or substantial portions of the Software. 32*b8eb71dcSChen-Yu Tsai * 33*b8eb71dcSChen-Yu Tsai * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 34*b8eb71dcSChen-Yu Tsai * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 35*b8eb71dcSChen-Yu Tsai * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 36*b8eb71dcSChen-Yu Tsai * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 37*b8eb71dcSChen-Yu Tsai * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 38*b8eb71dcSChen-Yu Tsai * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 39*b8eb71dcSChen-Yu Tsai * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 40*b8eb71dcSChen-Yu Tsai * OTHER DEALINGS IN THE SOFTWARE. 41*b8eb71dcSChen-Yu Tsai */ 42*b8eb71dcSChen-Yu Tsai 43*b8eb71dcSChen-Yu Tsai #ifndef _DT_BINDINGS_RESET_SUN9I_A80_CCU_H_ 44*b8eb71dcSChen-Yu Tsai #define _DT_BINDINGS_RESET_SUN9I_A80_CCU_H_ 45*b8eb71dcSChen-Yu Tsai 46*b8eb71dcSChen-Yu Tsai #define RST_BUS_FD 0 47*b8eb71dcSChen-Yu Tsai #define RST_BUS_VE 1 48*b8eb71dcSChen-Yu Tsai #define RST_BUS_GPU_CTRL 2 49*b8eb71dcSChen-Yu Tsai #define RST_BUS_SS 3 50*b8eb71dcSChen-Yu Tsai #define RST_BUS_MMC 4 51*b8eb71dcSChen-Yu Tsai #define RST_BUS_NAND0 5 52*b8eb71dcSChen-Yu Tsai #define RST_BUS_NAND1 6 53*b8eb71dcSChen-Yu Tsai #define RST_BUS_SDRAM 7 54*b8eb71dcSChen-Yu Tsai #define RST_BUS_SATA 8 55*b8eb71dcSChen-Yu Tsai #define RST_BUS_TS 9 56*b8eb71dcSChen-Yu Tsai #define RST_BUS_SPI0 10 57*b8eb71dcSChen-Yu Tsai #define RST_BUS_SPI1 11 58*b8eb71dcSChen-Yu Tsai #define RST_BUS_SPI2 12 59*b8eb71dcSChen-Yu Tsai #define RST_BUS_SPI3 13 60*b8eb71dcSChen-Yu Tsai 61*b8eb71dcSChen-Yu Tsai #define RST_BUS_OTG 14 62*b8eb71dcSChen-Yu Tsai #define RST_BUS_OTG_PHY 15 63*b8eb71dcSChen-Yu Tsai #define RST_BUS_MIPI_HSI 16 64*b8eb71dcSChen-Yu Tsai #define RST_BUS_GMAC 17 65*b8eb71dcSChen-Yu Tsai #define RST_BUS_MSGBOX 18 66*b8eb71dcSChen-Yu Tsai #define RST_BUS_SPINLOCK 19 67*b8eb71dcSChen-Yu Tsai #define RST_BUS_HSTIMER 20 68*b8eb71dcSChen-Yu Tsai #define RST_BUS_DMA 21 69*b8eb71dcSChen-Yu Tsai 70*b8eb71dcSChen-Yu Tsai #define RST_BUS_LCD0 22 71*b8eb71dcSChen-Yu Tsai #define RST_BUS_LCD1 23 72*b8eb71dcSChen-Yu Tsai #define RST_BUS_EDP 24 73*b8eb71dcSChen-Yu Tsai #define RST_BUS_LVDS 25 74*b8eb71dcSChen-Yu Tsai #define RST_BUS_CSI 26 75*b8eb71dcSChen-Yu Tsai #define RST_BUS_HDMI0 27 76*b8eb71dcSChen-Yu Tsai #define RST_BUS_HDMI1 28 77*b8eb71dcSChen-Yu Tsai #define RST_BUS_DE 29 78*b8eb71dcSChen-Yu Tsai #define RST_BUS_MP 30 79*b8eb71dcSChen-Yu Tsai #define RST_BUS_GPU 31 80*b8eb71dcSChen-Yu Tsai #define RST_BUS_MIPI_DSI 32 81*b8eb71dcSChen-Yu Tsai 82*b8eb71dcSChen-Yu Tsai #define RST_BUS_SPDIF 33 83*b8eb71dcSChen-Yu Tsai #define RST_BUS_AC97 34 84*b8eb71dcSChen-Yu Tsai #define RST_BUS_I2S0 35 85*b8eb71dcSChen-Yu Tsai #define RST_BUS_I2S1 36 86*b8eb71dcSChen-Yu Tsai #define RST_BUS_LRADC 37 87*b8eb71dcSChen-Yu Tsai #define RST_BUS_GPADC 38 88*b8eb71dcSChen-Yu Tsai #define RST_BUS_CIR_TX 39 89*b8eb71dcSChen-Yu Tsai 90*b8eb71dcSChen-Yu Tsai #define RST_BUS_I2C0 40 91*b8eb71dcSChen-Yu Tsai #define RST_BUS_I2C1 41 92*b8eb71dcSChen-Yu Tsai #define RST_BUS_I2C2 42 93*b8eb71dcSChen-Yu Tsai #define RST_BUS_I2C3 43 94*b8eb71dcSChen-Yu Tsai #define RST_BUS_I2C4 44 95*b8eb71dcSChen-Yu Tsai #define RST_BUS_UART0 45 96*b8eb71dcSChen-Yu Tsai #define RST_BUS_UART1 46 97*b8eb71dcSChen-Yu Tsai #define RST_BUS_UART2 47 98*b8eb71dcSChen-Yu Tsai #define RST_BUS_UART3 48 99*b8eb71dcSChen-Yu Tsai #define RST_BUS_UART4 49 100*b8eb71dcSChen-Yu Tsai #define RST_BUS_UART5 50 101*b8eb71dcSChen-Yu Tsai 102*b8eb71dcSChen-Yu Tsai #endif /* _DT_BINDINGS_RESET_SUN9I_A80_CCU_H_ */ 103