1 1.1 jmcneill /* $NetBSD: st,stpmic1.h,v 1.1.1.1 2019/05/25 11:29:13 jmcneill Exp $ */ 2 1.1 jmcneill 3 1.1 jmcneill /* SPDX-License-Identifier: GPL-2.0 */ 4 1.1 jmcneill /* 5 1.1 jmcneill * Copyright (C) STMicroelectronics 2018 - All Rights Reserved 6 1.1 jmcneill * Author: Philippe Peurichard <philippe.peurichard (at) st.com>, 7 1.1 jmcneill * Pascal Paillet <p.paillet (at) st.com> for STMicroelectronics. 8 1.1 jmcneill */ 9 1.1 jmcneill 10 1.1 jmcneill #ifndef __DT_BINDINGS_STPMIC1_H__ 11 1.1 jmcneill #define __DT_BINDINGS_STPMIC1_H__ 12 1.1 jmcneill 13 1.1 jmcneill /* IRQ definitions */ 14 1.1 jmcneill #define IT_PONKEY_F 0 15 1.1 jmcneill #define IT_PONKEY_R 1 16 1.1 jmcneill #define IT_WAKEUP_F 2 17 1.1 jmcneill #define IT_WAKEUP_R 3 18 1.1 jmcneill #define IT_VBUS_OTG_F 4 19 1.1 jmcneill #define IT_VBUS_OTG_R 5 20 1.1 jmcneill #define IT_SWOUT_F 6 21 1.1 jmcneill #define IT_SWOUT_R 7 22 1.1 jmcneill 23 1.1 jmcneill #define IT_CURLIM_BUCK1 8 24 1.1 jmcneill #define IT_CURLIM_BUCK2 9 25 1.1 jmcneill #define IT_CURLIM_BUCK3 10 26 1.1 jmcneill #define IT_CURLIM_BUCK4 11 27 1.1 jmcneill #define IT_OCP_OTG 12 28 1.1 jmcneill #define IT_OCP_SWOUT 13 29 1.1 jmcneill #define IT_OCP_BOOST 14 30 1.1 jmcneill #define IT_OVP_BOOST 15 31 1.1 jmcneill 32 1.1 jmcneill #define IT_CURLIM_LDO1 16 33 1.1 jmcneill #define IT_CURLIM_LDO2 17 34 1.1 jmcneill #define IT_CURLIM_LDO3 18 35 1.1 jmcneill #define IT_CURLIM_LDO4 19 36 1.1 jmcneill #define IT_CURLIM_LDO5 20 37 1.1 jmcneill #define IT_CURLIM_LDO6 21 38 1.1 jmcneill #define IT_SHORT_SWOTG 22 39 1.1 jmcneill #define IT_SHORT_SWOUT 23 40 1.1 jmcneill 41 1.1 jmcneill #define IT_TWARN_F 24 42 1.1 jmcneill #define IT_TWARN_R 25 43 1.1 jmcneill #define IT_VINLOW_F 26 44 1.1 jmcneill #define IT_VINLOW_R 27 45 1.1 jmcneill #define IT_SWIN_F 30 46 1.1 jmcneill #define IT_SWIN_R 31 47 1.1 jmcneill 48 1.1 jmcneill /* BUCK MODES definitions */ 49 1.1 jmcneill #define STPMIC1_BUCK_MODE_NORMAL 0 50 1.1 jmcneill #define STPMIC1_BUCK_MODE_LP 2 51 1.1 jmcneill 52 1.1 jmcneill #endif /* __DT_BINDINGS_STPMIC1_H__ */ 53