Marcel Ziswiler | 7d08ddd | 2022-10-22 23:59:42 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Lukasz Majewski | a823659 | 2019-06-19 17:31:02 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Header providing constants for i.MX28 pinctrl bindings. |
| 4 | * |
| 5 | * Copyright (C) 2013 Lothar Waßmann <LW@KARO-electronics.de> |
Lukasz Majewski | a823659 | 2019-06-19 17:31:02 +0200 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef __DT_BINDINGS_MXS_PINCTRL_H__ |
| 9 | #define __DT_BINDINGS_MXS_PINCTRL_H__ |
| 10 | |
| 11 | /* fsl,drive-strength property */ |
| 12 | #define MXS_DRIVE_4mA 0 |
| 13 | #define MXS_DRIVE_8mA 1 |
| 14 | #define MXS_DRIVE_12mA 2 |
| 15 | #define MXS_DRIVE_16mA 3 |
| 16 | |
| 17 | /* fsl,voltage property */ |
| 18 | #define MXS_VOLTAGE_LOW 0 |
| 19 | #define MXS_VOLTAGE_HIGH 1 |
| 20 | |
| 21 | /* fsl,pull-up property */ |
| 22 | #define MXS_PULL_DISABLE 0 |
| 23 | #define MXS_PULL_ENABLE 1 |
| 24 | |
| 25 | #endif /* __DT_BINDINGS_MXS_PINCTRL_H__ */ |