18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci * Copyright (C) 2017 Icenowy Zheng <icenowy@aosc.io> 38c2ecf20Sopenharmony_ci * 48c2ecf20Sopenharmony_ci * This file is dual-licensed: you can use it either under the terms 58c2ecf20Sopenharmony_ci * of the GPL or the X11 license, at your option. Note that this dual 68c2ecf20Sopenharmony_ci * licensing only applies to this file, and not this project as a 78c2ecf20Sopenharmony_ci * whole. 88c2ecf20Sopenharmony_ci * 98c2ecf20Sopenharmony_ci * a) This file is free software; you can redistribute it and/or 108c2ecf20Sopenharmony_ci * modify it under the terms of the GNU General Public License as 118c2ecf20Sopenharmony_ci * published by the Free Software Foundation; either version 2 of the 128c2ecf20Sopenharmony_ci * License, or (at your option) any later version. 138c2ecf20Sopenharmony_ci * 148c2ecf20Sopenharmony_ci * This file is distributed in the hope that it will be useful, 158c2ecf20Sopenharmony_ci * but WITHOUT ANY WARRANTY; without even the implied warranty of 168c2ecf20Sopenharmony_ci * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 178c2ecf20Sopenharmony_ci * GNU General Public License for more details. 188c2ecf20Sopenharmony_ci * 198c2ecf20Sopenharmony_ci * Or, alternatively, 208c2ecf20Sopenharmony_ci * 218c2ecf20Sopenharmony_ci * b) Permission is hereby granted, free of charge, to any person 228c2ecf20Sopenharmony_ci * obtaining a copy of this software and associated documentation 238c2ecf20Sopenharmony_ci * files (the "Software"), to deal in the Software without 248c2ecf20Sopenharmony_ci * restriction, including without limitation the rights to use, 258c2ecf20Sopenharmony_ci * copy, modify, merge, publish, distribute, sublicense, and/or 268c2ecf20Sopenharmony_ci * sell copies of the Software, and to permit persons to whom the 278c2ecf20Sopenharmony_ci * Software is furnished to do so, subject to the following 288c2ecf20Sopenharmony_ci * conditions: 298c2ecf20Sopenharmony_ci * 308c2ecf20Sopenharmony_ci * The above copyright notice and this permission notice shall be 318c2ecf20Sopenharmony_ci * included in all copies or substantial portions of the Software. 328c2ecf20Sopenharmony_ci * 338c2ecf20Sopenharmony_ci * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 348c2ecf20Sopenharmony_ci * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 358c2ecf20Sopenharmony_ci * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 368c2ecf20Sopenharmony_ci * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 378c2ecf20Sopenharmony_ci * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 388c2ecf20Sopenharmony_ci * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 398c2ecf20Sopenharmony_ci * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 408c2ecf20Sopenharmony_ci * OTHER DEALINGS IN THE SOFTWARE. 418c2ecf20Sopenharmony_ci */ 428c2ecf20Sopenharmony_ci 438c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_RST_SUN8I_R40_H_ 448c2ecf20Sopenharmony_ci#define _DT_BINDINGS_RST_SUN8I_R40_H_ 458c2ecf20Sopenharmony_ci 468c2ecf20Sopenharmony_ci#define RST_USB_PHY0 0 478c2ecf20Sopenharmony_ci#define RST_USB_PHY1 1 488c2ecf20Sopenharmony_ci#define RST_USB_PHY2 2 498c2ecf20Sopenharmony_ci 508c2ecf20Sopenharmony_ci#define RST_DRAM 3 518c2ecf20Sopenharmony_ci#define RST_MBUS 4 528c2ecf20Sopenharmony_ci 538c2ecf20Sopenharmony_ci#define RST_BUS_MIPI_DSI 5 548c2ecf20Sopenharmony_ci#define RST_BUS_CE 6 558c2ecf20Sopenharmony_ci#define RST_BUS_DMA 7 568c2ecf20Sopenharmony_ci#define RST_BUS_MMC0 8 578c2ecf20Sopenharmony_ci#define RST_BUS_MMC1 9 588c2ecf20Sopenharmony_ci#define RST_BUS_MMC2 10 598c2ecf20Sopenharmony_ci#define RST_BUS_MMC3 11 608c2ecf20Sopenharmony_ci#define RST_BUS_NAND 12 618c2ecf20Sopenharmony_ci#define RST_BUS_DRAM 13 628c2ecf20Sopenharmony_ci#define RST_BUS_EMAC 14 638c2ecf20Sopenharmony_ci#define RST_BUS_TS 15 648c2ecf20Sopenharmony_ci#define RST_BUS_HSTIMER 16 658c2ecf20Sopenharmony_ci#define RST_BUS_SPI0 17 668c2ecf20Sopenharmony_ci#define RST_BUS_SPI1 18 678c2ecf20Sopenharmony_ci#define RST_BUS_SPI2 19 688c2ecf20Sopenharmony_ci#define RST_BUS_SPI3 20 698c2ecf20Sopenharmony_ci#define RST_BUS_SATA 21 708c2ecf20Sopenharmony_ci#define RST_BUS_OTG 22 718c2ecf20Sopenharmony_ci#define RST_BUS_EHCI0 23 728c2ecf20Sopenharmony_ci#define RST_BUS_EHCI1 24 738c2ecf20Sopenharmony_ci#define RST_BUS_EHCI2 25 748c2ecf20Sopenharmony_ci#define RST_BUS_OHCI0 26 758c2ecf20Sopenharmony_ci#define RST_BUS_OHCI1 27 768c2ecf20Sopenharmony_ci#define RST_BUS_OHCI2 28 778c2ecf20Sopenharmony_ci#define RST_BUS_VE 29 788c2ecf20Sopenharmony_ci#define RST_BUS_MP 30 798c2ecf20Sopenharmony_ci#define RST_BUS_DEINTERLACE 31 808c2ecf20Sopenharmony_ci#define RST_BUS_CSI0 32 818c2ecf20Sopenharmony_ci#define RST_BUS_CSI1 33 828c2ecf20Sopenharmony_ci#define RST_BUS_HDMI0 34 838c2ecf20Sopenharmony_ci#define RST_BUS_HDMI1 35 848c2ecf20Sopenharmony_ci#define RST_BUS_DE 36 858c2ecf20Sopenharmony_ci#define RST_BUS_TVE0 37 868c2ecf20Sopenharmony_ci#define RST_BUS_TVE1 38 878c2ecf20Sopenharmony_ci#define RST_BUS_TVE_TOP 39 888c2ecf20Sopenharmony_ci#define RST_BUS_GMAC 40 898c2ecf20Sopenharmony_ci#define RST_BUS_GPU 41 908c2ecf20Sopenharmony_ci#define RST_BUS_TVD0 42 918c2ecf20Sopenharmony_ci#define RST_BUS_TVD1 43 928c2ecf20Sopenharmony_ci#define RST_BUS_TVD2 44 938c2ecf20Sopenharmony_ci#define RST_BUS_TVD3 45 948c2ecf20Sopenharmony_ci#define RST_BUS_TVD_TOP 46 958c2ecf20Sopenharmony_ci#define RST_BUS_TCON_LCD0 47 968c2ecf20Sopenharmony_ci#define RST_BUS_TCON_LCD1 48 978c2ecf20Sopenharmony_ci#define RST_BUS_TCON_TV0 49 988c2ecf20Sopenharmony_ci#define RST_BUS_TCON_TV1 50 998c2ecf20Sopenharmony_ci#define RST_BUS_TCON_TOP 51 1008c2ecf20Sopenharmony_ci#define RST_BUS_DBG 52 1018c2ecf20Sopenharmony_ci#define RST_BUS_LVDS 53 1028c2ecf20Sopenharmony_ci#define RST_BUS_CODEC 54 1038c2ecf20Sopenharmony_ci#define RST_BUS_SPDIF 55 1048c2ecf20Sopenharmony_ci#define RST_BUS_AC97 56 1058c2ecf20Sopenharmony_ci#define RST_BUS_IR0 57 1068c2ecf20Sopenharmony_ci#define RST_BUS_IR1 58 1078c2ecf20Sopenharmony_ci#define RST_BUS_THS 59 1088c2ecf20Sopenharmony_ci#define RST_BUS_KEYPAD 60 1098c2ecf20Sopenharmony_ci#define RST_BUS_I2S0 61 1108c2ecf20Sopenharmony_ci#define RST_BUS_I2S1 62 1118c2ecf20Sopenharmony_ci#define RST_BUS_I2S2 63 1128c2ecf20Sopenharmony_ci#define RST_BUS_I2C0 64 1138c2ecf20Sopenharmony_ci#define RST_BUS_I2C1 65 1148c2ecf20Sopenharmony_ci#define RST_BUS_I2C2 66 1158c2ecf20Sopenharmony_ci#define RST_BUS_I2C3 67 1168c2ecf20Sopenharmony_ci#define RST_BUS_CAN 68 1178c2ecf20Sopenharmony_ci#define RST_BUS_SCR 69 1188c2ecf20Sopenharmony_ci#define RST_BUS_PS20 70 1198c2ecf20Sopenharmony_ci#define RST_BUS_PS21 71 1208c2ecf20Sopenharmony_ci#define RST_BUS_I2C4 72 1218c2ecf20Sopenharmony_ci#define RST_BUS_UART0 73 1228c2ecf20Sopenharmony_ci#define RST_BUS_UART1 74 1238c2ecf20Sopenharmony_ci#define RST_BUS_UART2 75 1248c2ecf20Sopenharmony_ci#define RST_BUS_UART3 76 1258c2ecf20Sopenharmony_ci#define RST_BUS_UART4 77 1268c2ecf20Sopenharmony_ci#define RST_BUS_UART5 78 1278c2ecf20Sopenharmony_ci#define RST_BUS_UART6 79 1288c2ecf20Sopenharmony_ci#define RST_BUS_UART7 80 1298c2ecf20Sopenharmony_ci 1308c2ecf20Sopenharmony_ci#endif /* _DT_BINDINGS_RST_SUN8I_R40_H_ */ 131