107 lines · c
1/*2 * Copyright (C) 2016 Maxime Ripard <maxime.ripard@free-electrons.com>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_H3_H_44#define _DT_BINDINGS_RST_SUN8I_H3_H_45 46#define RST_USB_PHY0 047#define RST_USB_PHY1 148#define RST_USB_PHY2 249#define RST_USB_PHY3 350 51#define RST_MBUS 452 53#define RST_BUS_CE 554#define RST_BUS_DMA 655#define RST_BUS_MMC0 756#define RST_BUS_MMC1 857#define RST_BUS_MMC2 958#define RST_BUS_NAND 1059#define RST_BUS_DRAM 1160#define RST_BUS_EMAC 1261#define RST_BUS_TS 1362#define RST_BUS_HSTIMER 1463#define RST_BUS_SPI0 1564#define RST_BUS_SPI1 1665#define RST_BUS_OTG 1766#define RST_BUS_EHCI0 1867#define RST_BUS_EHCI1 1968#define RST_BUS_EHCI2 2069#define RST_BUS_EHCI3 2170#define RST_BUS_OHCI0 2271#define RST_BUS_OHCI1 2372#define RST_BUS_OHCI2 2473#define RST_BUS_OHCI3 2574#define RST_BUS_VE 2675#define RST_BUS_TCON0 2776#define RST_BUS_TCON1 2877#define RST_BUS_DEINTERLACE 2978#define RST_BUS_CSI 3079#define RST_BUS_TVE 3180#define RST_BUS_HDMI0 3281#define RST_BUS_HDMI1 3382#define RST_BUS_DE 3483#define RST_BUS_GPU 3584#define RST_BUS_MSGBOX 3685#define RST_BUS_SPINLOCK 3786#define RST_BUS_DBG 3887#define RST_BUS_EPHY 3988#define RST_BUS_CODEC 4089#define RST_BUS_SPDIF 4190#define RST_BUS_THS 4291#define RST_BUS_I2S0 4392#define RST_BUS_I2S1 4493#define RST_BUS_I2S2 4594#define RST_BUS_I2C0 4695#define RST_BUS_I2C1 4796#define RST_BUS_I2C2 4897#define RST_BUS_UART0 4998#define RST_BUS_UART1 5099#define RST_BUS_UART2 51100#define RST_BUS_UART3 52101#define RST_BUS_SCR0 53102 103/* New resets imported in H5 */104#define RST_BUS_SCR1 54105 106#endif /* _DT_BINDINGS_RST_SUN8I_H3_H_ */107