1 1.1 jmcneill /* $NetBSD: pistachio-resets.h,v 1.1.1.2 2017/11/30 19:40:51 jmcneill Exp $ */ 2 1.1 jmcneill 3 1.1.1.2 jmcneill /* SPDX-License-Identifier: GPL-2.0 */ 4 1.1 jmcneill /* 5 1.1 jmcneill * This header provides constants for the reset controller 6 1.1 jmcneill * present in the Pistachio SoC 7 1.1 jmcneill */ 8 1.1 jmcneill 9 1.1 jmcneill #ifndef _PISTACHIO_RESETS_H 10 1.1 jmcneill #define _PISTACHIO_RESETS_H 11 1.1 jmcneill 12 1.1 jmcneill #define PISTACHIO_RESET_I2C0 0 13 1.1 jmcneill #define PISTACHIO_RESET_I2C1 1 14 1.1 jmcneill #define PISTACHIO_RESET_I2C2 2 15 1.1 jmcneill #define PISTACHIO_RESET_I2C3 3 16 1.1 jmcneill #define PISTACHIO_RESET_I2S_IN 4 17 1.1 jmcneill #define PISTACHIO_RESET_PRL_OUT 5 18 1.1 jmcneill #define PISTACHIO_RESET_SPDIF_OUT 6 19 1.1 jmcneill #define PISTACHIO_RESET_SPI 7 20 1.1 jmcneill #define PISTACHIO_RESET_PWM_PDM 8 21 1.1 jmcneill #define PISTACHIO_RESET_UART0 9 22 1.1 jmcneill #define PISTACHIO_RESET_UART1 10 23 1.1 jmcneill #define PISTACHIO_RESET_QSPI 11 24 1.1 jmcneill #define PISTACHIO_RESET_MDC 12 25 1.1 jmcneill #define PISTACHIO_RESET_SDHOST 13 26 1.1 jmcneill #define PISTACHIO_RESET_ETHERNET 14 27 1.1 jmcneill #define PISTACHIO_RESET_IR 15 28 1.1 jmcneill #define PISTACHIO_RESET_HASH 16 29 1.1 jmcneill #define PISTACHIO_RESET_TIMER 17 30 1.1 jmcneill #define PISTACHIO_RESET_I2S_OUT 18 31 1.1 jmcneill #define PISTACHIO_RESET_SPDIF_IN 19 32 1.1 jmcneill #define PISTACHIO_RESET_EVT 20 33 1.1 jmcneill #define PISTACHIO_RESET_USB_H 21 34 1.1 jmcneill #define PISTACHIO_RESET_USB_PR 22 35 1.1 jmcneill #define PISTACHIO_RESET_USB_PHY_PR 23 36 1.1 jmcneill #define PISTACHIO_RESET_USB_PHY_PON 24 37 1.1 jmcneill #define PISTACHIO_RESET_MAX 24 38 1.1 jmcneill 39 1.1 jmcneill #endif 40