131 lines · c
1/*2 * Copyright (C) 2017 Icenowy Zheng <icenowy@aosc.io>3 *4 * This file is dual-licensed: you can use it either under the terms5 * of the GPL or the X11 license, at your option. Note that this dual6 * licensing only applies to this file, and not this project as a7 * whole.8 *9 * a) This file is free software; you can redistribute it and/or10 * modify it under the terms of the GNU General Public License as11 * published by the Free Software Foundation; either version 2 of the12 * License, or (at your option) any later version.13 *14 * This file is distributed in the hope that it will be useful,15 * but WITHOUT ANY WARRANTY; without even the implied warranty of16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the17 * GNU General Public License for more details.18 *19 * Or, alternatively,20 *21 * b) Permission is hereby granted, free of charge, to any person22 * obtaining a copy of this software and associated documentation23 * files (the "Software"), to deal in the Software without24 * restriction, including without limitation the rights to use,25 * copy, modify, merge, publish, distribute, sublicense, and/or26 * sell copies of the Software, and to permit persons to whom the27 * Software is furnished to do so, subject to the following28 * conditions:29 *30 * The above copyright notice and this permission notice shall be31 * included in all copies or substantial portions of the Software.32 *33 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,34 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES35 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND36 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT37 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,38 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR40 * OTHER DEALINGS IN THE SOFTWARE.41 */42 43#ifndef _DT_BINDINGS_RST_SUN8I_R40_H_44#define _DT_BINDINGS_RST_SUN8I_R40_H_45 46#define RST_USB_PHY0 047#define RST_USB_PHY1 148#define RST_USB_PHY2 249 50#define RST_DRAM 351#define RST_MBUS 452 53#define RST_BUS_MIPI_DSI 554#define RST_BUS_CE 655#define RST_BUS_DMA 756#define RST_BUS_MMC0 857#define RST_BUS_MMC1 958#define RST_BUS_MMC2 1059#define RST_BUS_MMC3 1160#define RST_BUS_NAND 1261#define RST_BUS_DRAM 1362#define RST_BUS_EMAC 1463#define RST_BUS_TS 1564#define RST_BUS_HSTIMER 1665#define RST_BUS_SPI0 1766#define RST_BUS_SPI1 1867#define RST_BUS_SPI2 1968#define RST_BUS_SPI3 2069#define RST_BUS_SATA 2170#define RST_BUS_OTG 2271#define RST_BUS_EHCI0 2372#define RST_BUS_EHCI1 2473#define RST_BUS_EHCI2 2574#define RST_BUS_OHCI0 2675#define RST_BUS_OHCI1 2776#define RST_BUS_OHCI2 2877#define RST_BUS_VE 2978#define RST_BUS_MP 3079#define RST_BUS_DEINTERLACE 3180#define RST_BUS_CSI0 3281#define RST_BUS_CSI1 3382#define RST_BUS_HDMI0 3483#define RST_BUS_HDMI1 3584#define RST_BUS_DE 3685#define RST_BUS_TVE0 3786#define RST_BUS_TVE1 3887#define RST_BUS_TVE_TOP 3988#define RST_BUS_GMAC 4089#define RST_BUS_GPU 4190#define RST_BUS_TVD0 4291#define RST_BUS_TVD1 4392#define RST_BUS_TVD2 4493#define RST_BUS_TVD3 4594#define RST_BUS_TVD_TOP 4695#define RST_BUS_TCON_LCD0 4796#define RST_BUS_TCON_LCD1 4897#define RST_BUS_TCON_TV0 4998#define RST_BUS_TCON_TV1 5099#define RST_BUS_TCON_TOP 51100#define RST_BUS_DBG 52101#define RST_BUS_LVDS 53102#define RST_BUS_CODEC 54103#define RST_BUS_SPDIF 55104#define RST_BUS_AC97 56105#define RST_BUS_IR0 57106#define RST_BUS_IR1 58107#define RST_BUS_THS 59108#define RST_BUS_KEYPAD 60109#define RST_BUS_I2S0 61110#define RST_BUS_I2S1 62111#define RST_BUS_I2S2 63112#define RST_BUS_I2C0 64113#define RST_BUS_I2C1 65114#define RST_BUS_I2C2 66115#define RST_BUS_I2C3 67116#define RST_BUS_CAN 68117#define RST_BUS_SCR 69118#define RST_BUS_PS20 70119#define RST_BUS_PS21 71120#define RST_BUS_I2C4 72121#define RST_BUS_UART0 73122#define RST_BUS_UART1 74123#define RST_BUS_UART2 75124#define RST_BUS_UART3 76125#define RST_BUS_UART4 77126#define RST_BUS_UART5 78127#define RST_BUS_UART6 79128#define RST_BUS_UART7 80129 130#endif /* _DT_BINDINGS_RST_SUN8I_R40_H_ */131