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