brintos

brintos / linux-shallow public Read only

0
0
Text · 2.9 KiB · b679017 Raw
82 lines · c
1/*2 * Copyright (C) 2016 Icenowy Zheng <icenowy@aosc.xyz>3 *4 * Based on sun8i-v3s-ccu.h, which is5 * Copyright (C) 2016 Maxime Ripard <maxime.ripard@free-electrons.com>6 *7 * This file is dual-licensed: you can use it either under the terms8 * of the GPL or the X11 license, at your option. Note that this dual9 * licensing only applies to this file, and not this project as a10 * whole.11 *12 *  a) This file is free software; you can redistribute it and/or13 *     modify it under the terms of the GNU General Public License as14 *     published by the Free Software Foundation; either version 2 of the15 *     License, or (at your option) any later version.16 *17 *     This file is distributed in the hope that it will be useful,18 *     but WITHOUT ANY WARRANTY; without even the implied warranty of19 *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the20 *     GNU General Public License for more details.21 *22 * Or, alternatively,23 *24 *  b) Permission is hereby granted, free of charge, to any person25 *     obtaining a copy of this software and associated documentation26 *     files (the "Software"), to deal in the Software without27 *     restriction, including without limitation the rights to use,28 *     copy, modify, merge, publish, distribute, sublicense, and/or29 *     sell copies of the Software, and to permit persons to whom the30 *     Software is furnished to do so, subject to the following31 *     conditions:32 *33 *     The above copyright notice and this permission notice shall be34 *     included in all copies or substantial portions of the Software.35 *36 *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,37 *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES38 *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND39 *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT40 *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,41 *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING42 *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR43 *     OTHER DEALINGS IN THE SOFTWARE.44 */45 46#ifndef _DT_BINDINGS_RST_SUN8I_V3S_H_47#define _DT_BINDINGS_RST_SUN8I_V3S_H_48 49#define RST_USB_PHY0		050 51#define RST_MBUS		152 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_DRAM		1159#define RST_BUS_EMAC		1260#define RST_BUS_HSTIMER		1461#define RST_BUS_SPI0		1562#define RST_BUS_OTG		1763#define RST_BUS_EHCI0		1864#define RST_BUS_OHCI0		2265#define RST_BUS_VE		2666#define RST_BUS_TCON0		2767#define RST_BUS_CSI		3068#define RST_BUS_DE		3469#define RST_BUS_DBG		3870#define RST_BUS_EPHY		3971#define RST_BUS_CODEC		4072#define RST_BUS_I2C0		4673#define RST_BUS_I2C1		4774#define RST_BUS_UART0		4975#define RST_BUS_UART1		5076#define RST_BUS_UART2		5177 78/* Reset lines not available on V3s */79#define RST_BUS_I2S0		5280 81#endif /* _DT_BINDINGS_RST_SUN8I_H3_H_ */82