51 lines · c
1/* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */2/*3 * Copyright (C) STMicroelectronics 2018 - All Rights Reserved4 * Author: Philippe Peurichard <philippe.peurichard@st.com>,5 * Pascal Paillet <p.paillet@st.com> for STMicroelectronics.6 */7 8#ifndef __DT_BINDINGS_STPMIC1_H__9#define __DT_BINDINGS_STPMIC1_H__10 11/* IRQ definitions */12#define IT_PONKEY_F 013#define IT_PONKEY_R 114#define IT_WAKEUP_F 215#define IT_WAKEUP_R 316#define IT_VBUS_OTG_F 417#define IT_VBUS_OTG_R 518#define IT_SWOUT_F 619#define IT_SWOUT_R 720 21#define IT_CURLIM_BUCK1 822#define IT_CURLIM_BUCK2 923#define IT_CURLIM_BUCK3 1024#define IT_CURLIM_BUCK4 1125#define IT_OCP_OTG 1226#define IT_OCP_SWOUT 1327#define IT_OCP_BOOST 1428#define IT_OVP_BOOST 1529 30#define IT_CURLIM_LDO1 1631#define IT_CURLIM_LDO2 1732#define IT_CURLIM_LDO3 1833#define IT_CURLIM_LDO4 1934#define IT_CURLIM_LDO5 2035#define IT_CURLIM_LDO6 2136#define IT_SHORT_SWOTG 2237#define IT_SHORT_SWOUT 2338 39#define IT_TWARN_F 2440#define IT_TWARN_R 2541#define IT_VINLOW_F 2642#define IT_VINLOW_R 2743#define IT_SWIN_F 3044#define IT_SWIN_R 3145 46/* BUCK MODES definitions */47#define STPMIC1_BUCK_MODE_NORMAL 048#define STPMIC1_BUCK_MODE_LP 249 50#endif /* __DT_BINDINGS_STPMIC1_H__ */51