1*f126890aSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0-only */ 2*f126890aSEmmanuel Vadot /* 3*f126890aSEmmanuel Vadot * Header providing constants for i.MX28 pinctrl bindings. 4*f126890aSEmmanuel Vadot * 5*f126890aSEmmanuel Vadot * Copyright (C) 2013 Lothar Waßmann <LW@KARO-electronics.de> 6*f126890aSEmmanuel Vadot */ 7*f126890aSEmmanuel Vadot 8*f126890aSEmmanuel Vadot #ifndef __DT_BINDINGS_MXS_PINCTRL_H__ 9*f126890aSEmmanuel Vadot #define __DT_BINDINGS_MXS_PINCTRL_H__ 10*f126890aSEmmanuel Vadot 11*f126890aSEmmanuel Vadot /* fsl,drive-strength property */ 12*f126890aSEmmanuel Vadot #define MXS_DRIVE_4mA 0 13*f126890aSEmmanuel Vadot #define MXS_DRIVE_8mA 1 14*f126890aSEmmanuel Vadot #define MXS_DRIVE_12mA 2 15*f126890aSEmmanuel Vadot #define MXS_DRIVE_16mA 3 16*f126890aSEmmanuel Vadot 17*f126890aSEmmanuel Vadot /* fsl,voltage property */ 18*f126890aSEmmanuel Vadot #define MXS_VOLTAGE_LOW 0 19*f126890aSEmmanuel Vadot #define MXS_VOLTAGE_HIGH 1 20*f126890aSEmmanuel Vadot 21*f126890aSEmmanuel Vadot /* fsl,pull-up property */ 22*f126890aSEmmanuel Vadot #define MXS_PULL_DISABLE 0 23*f126890aSEmmanuel Vadot #define MXS_PULL_ENABLE 1 24*f126890aSEmmanuel Vadot 25*f126890aSEmmanuel Vadot #endif /* __DT_BINDINGS_MXS_PINCTRL_H__ */ 26