Simon Glass | 087e987 | 2015-08-30 16:55:20 -0600 | [diff] [blame] | 1 | /* |
| 2 | * Header providing constants for Rockchip pinctrl bindings. |
| 3 | * |
| 4 | * Copyright (c) 2013 MundoReader S.L. |
| 5 | * Author: Heiko Stuebner <heiko@sntech.de> |
| 6 | * |
| 7 | * SPDX-License-Identifier: GPL-2.0+ |
| 8 | */ |
| 9 | |
| 10 | #ifndef __DT_BINDINGS_ROCKCHIP_PINCTRL_H__ |
| 11 | #define __DT_BINDINGS_ROCKCHIP_PINCTRL_H__ |
| 12 | |
| 13 | #define RK_GPIO0 0 |
| 14 | #define RK_GPIO1 1 |
| 15 | #define RK_GPIO2 2 |
| 16 | #define RK_GPIO3 3 |
| 17 | #define RK_GPIO4 4 |
| 18 | #define RK_GPIO6 6 |
| 19 | |
Kever Yang | 9283098 | 2017-05-01 16:16:01 -0600 | [diff] [blame] | 20 | #define RK_PB7 15 |
| 21 | |
Simon Glass | 087e987 | 2015-08-30 16:55:20 -0600 | [diff] [blame] | 22 | #define RK_FUNC_GPIO 0 |
| 23 | #define RK_FUNC_1 1 |
| 24 | #define RK_FUNC_2 2 |
| 25 | #define RK_FUNC_3 3 |
| 26 | #define RK_FUNC_4 4 |
Kever Yang | fc281b7 | 2017-02-23 15:37:50 +0800 | [diff] [blame] | 27 | #define RK_FUNC_5 5 |
| 28 | #define RK_FUNC_6 6 |
Simon Glass | 087e987 | 2015-08-30 16:55:20 -0600 | [diff] [blame] | 29 | |
| 30 | #endif |