]> git.sur5r.net Git - u-boot/blob - include/dt-bindings/pinctrl/rockchip.h
rockchip: dts: evb-rk3399: add gmac support
[u-boot] / include / dt-bindings / pinctrl / rockchip.h
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
20 #define RK_PB7          15
21
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
27 #define RK_FUNC_5       5
28 #define RK_FUNC_6       6
29
30 #endif