linux/include/dt-bindings/reset/sun8i-h3-ccu.h

/*
 * Copyright (C) 2016 Maxime Ripard <[email protected]>
 *
 * This file is dual-licensed: you can use it either under the terms
 * of the GPL or the X11 license, at your option. Note that this dual
 * licensing only applies to this file, and not this project as a
 * whole.
 *
 *  a) This file is free software; you can redistribute it and/or
 *     modify it under the terms of the GNU General Public License as
 *     published by the Free Software Foundation; either version 2 of the
 *     License, or (at your option) any later version.
 *
 *     This file is distributed in the hope that it will be useful,
 *     but WITHOUT ANY WARRANTY; without even the implied warranty of
 *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *     GNU General Public License for more details.
 *
 * Or, alternatively,
 *
 *  b) Permission is hereby granted, free of charge, to any person
 *     obtaining a copy of this software and associated documentation
 *     files (the "Software"), to deal in the Software without
 *     restriction, including without limitation the rights to use,
 *     copy, modify, merge, publish, distribute, sublicense, and/or
 *     sell copies of the Software, and to permit persons to whom the
 *     Software is furnished to do so, subject to the following
 *     conditions:
 *
 *     The above copyright notice and this permission notice shall be
 *     included in all copies or substantial portions of the Software.
 *
 *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 *     OTHER DEALINGS IN THE SOFTWARE.
 */

#ifndef _DT_BINDINGS_RST_SUN8I_H3_H_
#define _DT_BINDINGS_RST_SUN8I_H3_H_

#define RST_USB_PHY0
#define RST_USB_PHY1
#define RST_USB_PHY2
#define RST_USB_PHY3

#define RST_MBUS

#define RST_BUS_CE
#define RST_BUS_DMA
#define RST_BUS_MMC0
#define RST_BUS_MMC1
#define RST_BUS_MMC2
#define RST_BUS_NAND
#define RST_BUS_DRAM
#define RST_BUS_EMAC
#define RST_BUS_TS
#define RST_BUS_HSTIMER
#define RST_BUS_SPI0
#define RST_BUS_SPI1
#define RST_BUS_OTG
#define RST_BUS_EHCI0
#define RST_BUS_EHCI1
#define RST_BUS_EHCI2
#define RST_BUS_EHCI3
#define RST_BUS_OHCI0
#define RST_BUS_OHCI1
#define RST_BUS_OHCI2
#define RST_BUS_OHCI3
#define RST_BUS_VE
#define RST_BUS_TCON0
#define RST_BUS_TCON1
#define RST_BUS_DEINTERLACE
#define RST_BUS_CSI
#define RST_BUS_TVE
#define RST_BUS_HDMI0
#define RST_BUS_HDMI1
#define RST_BUS_DE
#define RST_BUS_GPU
#define RST_BUS_MSGBOX
#define RST_BUS_SPINLOCK
#define RST_BUS_DBG
#define RST_BUS_EPHY
#define RST_BUS_CODEC
#define RST_BUS_SPDIF
#define RST_BUS_THS
#define RST_BUS_I2S0
#define RST_BUS_I2S1
#define RST_BUS_I2S2
#define RST_BUS_I2C0
#define RST_BUS_I2C1
#define RST_BUS_I2C2
#define RST_BUS_UART0
#define RST_BUS_UART1
#define RST_BUS_UART2
#define RST_BUS_UART3
#define RST_BUS_SCR0

/* New resets imported in H5 */
#define RST_BUS_SCR1

#endif /* _DT_BINDINGS_RST_SUN8I_H3_H_ */