1d3e51161SHeiko Stübner /* 2d3e51161SHeiko Stübner * Header providing constants for Rockchip pinctrl bindings. 3d3e51161SHeiko Stübner * 4d3e51161SHeiko Stübner * Copyright (c) 2013 MundoReader S.L. 5d3e51161SHeiko Stübner * Author: Heiko Stuebner <heiko@sntech.de> 6d3e51161SHeiko Stübner * 7d3e51161SHeiko Stübner * This program is free software; you can redistribute it and/or modify 8d3e51161SHeiko Stübner * it under the terms of the GNU General Public License as published by 9d3e51161SHeiko Stübner * the Free Software Foundation; either version 2 of the License, or 10d3e51161SHeiko Stübner * (at your option) any later version. 11d3e51161SHeiko Stübner * 12d3e51161SHeiko Stübner * This program is distributed in the hope that it will be useful, 13d3e51161SHeiko Stübner * but WITHOUT ANY WARRANTY; without even the implied warranty of 14d3e51161SHeiko Stübner * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15d3e51161SHeiko Stübner * GNU General Public License for more details. 16d3e51161SHeiko Stübner */ 17d3e51161SHeiko Stübner 18d3e51161SHeiko Stübner #ifndef __DT_BINDINGS_ROCKCHIP_PINCTRL_H__ 19d3e51161SHeiko Stübner #define __DT_BINDINGS_ROCKCHIP_PINCTRL_H__ 20d3e51161SHeiko Stübner 21d3e51161SHeiko Stübner #define RK_GPIO0 0 22d3e51161SHeiko Stübner #define RK_GPIO1 1 23d3e51161SHeiko Stübner #define RK_GPIO2 2 24d3e51161SHeiko Stübner #define RK_GPIO3 3 25d3e51161SHeiko Stübner #define RK_GPIO4 4 26d3e51161SHeiko Stübner #define RK_GPIO6 6 27d3e51161SHeiko Stübner 28*150696e2SAndy Yan #define RK_PA0 0 29*150696e2SAndy Yan #define RK_PA1 1 30*150696e2SAndy Yan #define RK_PA2 2 31*150696e2SAndy Yan #define RK_PA3 3 32*150696e2SAndy Yan #define RK_PA4 4 33*150696e2SAndy Yan #define RK_PA5 5 34*150696e2SAndy Yan #define RK_PA6 6 35*150696e2SAndy Yan #define RK_PA7 7 36*150696e2SAndy Yan #define RK_PB0 8 37*150696e2SAndy Yan #define RK_PB1 9 38*150696e2SAndy Yan #define RK_PB2 10 39*150696e2SAndy Yan #define RK_PB3 11 40*150696e2SAndy Yan #define RK_PB4 12 41*150696e2SAndy Yan #define RK_PB5 13 42*150696e2SAndy Yan #define RK_PB6 14 43*150696e2SAndy Yan #define RK_PB7 15 44*150696e2SAndy Yan #define RK_PC0 16 45*150696e2SAndy Yan #define RK_PC1 17 46*150696e2SAndy Yan #define RK_PC2 18 47*150696e2SAndy Yan #define RK_PC3 19 48*150696e2SAndy Yan #define RK_PC4 20 49*150696e2SAndy Yan #define RK_PC5 21 50*150696e2SAndy Yan #define RK_PC6 22 51*150696e2SAndy Yan #define RK_PC7 23 52*150696e2SAndy Yan #define RK_PD0 24 53*150696e2SAndy Yan #define RK_PD1 25 54*150696e2SAndy Yan #define RK_PD2 26 55*150696e2SAndy Yan #define RK_PD3 27 56*150696e2SAndy Yan #define RK_PD4 28 57*150696e2SAndy Yan #define RK_PD5 29 58*150696e2SAndy Yan #define RK_PD6 30 59*150696e2SAndy Yan #define RK_PD7 31 60*150696e2SAndy Yan 61d3e51161SHeiko Stübner #define RK_FUNC_GPIO 0 62d3e51161SHeiko Stübner #define RK_FUNC_1 1 63d3e51161SHeiko Stübner #define RK_FUNC_2 2 64f3ababa8SDoug Anderson #define RK_FUNC_3 3 65f3ababa8SDoug Anderson #define RK_FUNC_4 4 66d3e51161SHeiko Stübner 67d3e51161SHeiko Stübner #endif 68