1214501Srpaulo/* 2214501Srpaulo * Copyright (C) 2017 Icenowy Zheng <icenowy@aosc.io> 3214501Srpaulo * 4214501Srpaulo * This file is dual-licensed: you can use it either under the terms 5252726Srpaulo * of the GPL or the X11 license, at your option. Note that this dual 6252726Srpaulo * licensing only applies to this file, and not this project as a 7214501Srpaulo * whole. 8214501Srpaulo * 9214501Srpaulo * a) This file is free software; you can redistribute it and/or 10214501Srpaulo * modify it under the terms of the GNU General Public License as 11214501Srpaulo * published by the Free Software Foundation; either version 2 of the 12214501Srpaulo * License, or (at your option) any later version. 13214501Srpaulo * 14214501Srpaulo * This file is distributed in the hope that it will be useful, 15252726Srpaulo * but WITHOUT ANY WARRANTY; without even the implied warranty of 16214501Srpaulo * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17214501Srpaulo * GNU General Public License for more details. 18214501Srpaulo * 19214501Srpaulo * Or, alternatively, 20214501Srpaulo * 21214501Srpaulo * b) Permission is hereby granted, free of charge, to any person 22214501Srpaulo * obtaining a copy of this software and associated documentation 23214501Srpaulo * files (the "Software"), to deal in the Software without 24214501Srpaulo * restriction, including without limitation the rights to use, 25214501Srpaulo * copy, modify, merge, publish, distribute, sublicense, and/or 26214501Srpaulo * sell copies of the Software, and to permit persons to whom the 27214501Srpaulo * Software is furnished to do so, subject to the following 28214501Srpaulo * conditions: 29214501Srpaulo * 30214501Srpaulo * The above copyright notice and this permission notice shall be 31214501Srpaulo * included in all copies or substantial portions of the Software. 32214501Srpaulo * 33214501Srpaulo * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 34214501Srpaulo * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 35214501Srpaulo * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 36214501Srpaulo * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 37214501Srpaulo * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 38214501Srpaulo * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 39214501Srpaulo * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 40214501Srpaulo * OTHER DEALINGS IN THE SOFTWARE. 41214501Srpaulo */ 42214501Srpaulo 43214501Srpaulo#ifndef _DT_BINDINGS_RST_SUN8I_R40_H_ 44214501Srpaulo#define _DT_BINDINGS_RST_SUN8I_R40_H_ 45214501Srpaulo 46214501Srpaulo#define RST_USB_PHY0 0 47214501Srpaulo#define RST_USB_PHY1 1 48214501Srpaulo#define RST_USB_PHY2 2 49214501Srpaulo 50214501Srpaulo#define RST_DRAM 3 51214501Srpaulo#define RST_MBUS 4 52214501Srpaulo 53214501Srpaulo#define RST_BUS_MIPI_DSI 5 54214501Srpaulo#define RST_BUS_CE 6 55214501Srpaulo#define RST_BUS_DMA 7 56214501Srpaulo#define RST_BUS_MMC0 8 57214501Srpaulo#define RST_BUS_MMC1 9 58214501Srpaulo#define RST_BUS_MMC2 10 59214501Srpaulo#define RST_BUS_MMC3 11 60214501Srpaulo#define RST_BUS_NAND 12 61214501Srpaulo#define RST_BUS_DRAM 13 62214501Srpaulo#define RST_BUS_EMAC 14 63214501Srpaulo#define RST_BUS_TS 15 64214501Srpaulo#define RST_BUS_HSTIMER 16 65214501Srpaulo#define RST_BUS_SPI0 17 66214501Srpaulo#define RST_BUS_SPI1 18 67214501Srpaulo#define RST_BUS_SPI2 19 68214501Srpaulo#define RST_BUS_SPI3 20 69214501Srpaulo#define RST_BUS_SATA 21 70214501Srpaulo#define RST_BUS_OTG 22 71214501Srpaulo#define RST_BUS_EHCI0 23 72214501Srpaulo#define RST_BUS_EHCI1 24 73214501Srpaulo#define RST_BUS_EHCI2 25 74214501Srpaulo#define RST_BUS_OHCI0 26 75214501Srpaulo#define RST_BUS_OHCI1 27 76214501Srpaulo#define RST_BUS_OHCI2 28 77214501Srpaulo#define RST_BUS_VE 29 78214501Srpaulo#define RST_BUS_MP 30 79214501Srpaulo#define RST_BUS_DEINTERLACE 31 80214501Srpaulo#define RST_BUS_CSI0 32 81214501Srpaulo#define RST_BUS_CSI1 33 82214501Srpaulo#define RST_BUS_HDMI0 34 83214501Srpaulo#define RST_BUS_HDMI1 35 84214501Srpaulo#define RST_BUS_DE 36 85214501Srpaulo#define RST_BUS_TVE0 37 86214501Srpaulo#define RST_BUS_TVE1 38 87214501Srpaulo#define RST_BUS_TVE_TOP 39 88214501Srpaulo#define RST_BUS_GMAC 40 89214501Srpaulo#define RST_BUS_GPU 41 90214501Srpaulo#define RST_BUS_TVD0 42 91214501Srpaulo#define RST_BUS_TVD1 43 92214501Srpaulo#define RST_BUS_TVD2 44 93214501Srpaulo#define RST_BUS_TVD3 45 94214501Srpaulo#define RST_BUS_TVD_TOP 46 95214501Srpaulo#define RST_BUS_TCON_LCD0 47 96214501Srpaulo#define RST_BUS_TCON_LCD1 48 97214501Srpaulo#define RST_BUS_TCON_TV0 49 98214501Srpaulo#define RST_BUS_TCON_TV1 50 99214501Srpaulo#define RST_BUS_TCON_TOP 51 100214501Srpaulo#define RST_BUS_DBG 52 101214501Srpaulo#define RST_BUS_LVDS 53 102214501Srpaulo#define RST_BUS_CODEC 54 103214501Srpaulo#define RST_BUS_SPDIF 55 104214501Srpaulo#define RST_BUS_AC97 56 105214501Srpaulo#define RST_BUS_IR0 57 106214501Srpaulo#define RST_BUS_IR1 58 107214501Srpaulo#define RST_BUS_THS 59 108214501Srpaulo#define RST_BUS_KEYPAD 60 109214501Srpaulo#define RST_BUS_I2S0 61 110214501Srpaulo#define RST_BUS_I2S1 62 111214501Srpaulo#define RST_BUS_I2S2 63 112214501Srpaulo#define RST_BUS_I2C0 64 113214501Srpaulo#define RST_BUS_I2C1 65 114214501Srpaulo#define RST_BUS_I2C2 66 115214501Srpaulo#define RST_BUS_I2C3 67 116214501Srpaulo#define RST_BUS_CAN 68 117214501Srpaulo#define RST_BUS_SCR 69 118214501Srpaulo#define RST_BUS_PS20 70 119214501Srpaulo#define RST_BUS_PS21 71 120214501Srpaulo#define RST_BUS_I2C4 72 121214501Srpaulo#define RST_BUS_UART0 73 122214501Srpaulo#define RST_BUS_UART1 74 123214501Srpaulo#define RST_BUS_UART2 75 124214501Srpaulo#define RST_BUS_UART3 76 125214501Srpaulo#define RST_BUS_UART4 77 126214501Srpaulo#define RST_BUS_UART5 78 127214501Srpaulo#define RST_BUS_UART6 79 128214501Srpaulo#define RST_BUS_UART7 80 129214501Srpaulo 130214501Srpaulo#endif /* _DT_BINDINGS_RST_SUN8I_R40_H_ */ 131214501Srpaulo