1*c942fddfSThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-or-later */ 2d3e51161SHeiko Stübner /* 3d3e51161SHeiko Stübner * Header providing constants for Rockchip pinctrl bindings. 4d3e51161SHeiko Stübner * 5d3e51161SHeiko Stübner * Copyright (c) 2013 MundoReader S.L. 6d3e51161SHeiko Stübner * Author: Heiko Stuebner <heiko@sntech.de> 7d3e51161SHeiko Stübner */ 8d3e51161SHeiko Stübner 9d3e51161SHeiko Stübner #ifndef __DT_BINDINGS_ROCKCHIP_PINCTRL_H__ 10d3e51161SHeiko Stübner #define __DT_BINDINGS_ROCKCHIP_PINCTRL_H__ 11d3e51161SHeiko Stübner 12150696e2SAndy Yan #define RK_PA0 0 13150696e2SAndy Yan #define RK_PA1 1 14150696e2SAndy Yan #define RK_PA2 2 15150696e2SAndy Yan #define RK_PA3 3 16150696e2SAndy Yan #define RK_PA4 4 17150696e2SAndy Yan #define RK_PA5 5 18150696e2SAndy Yan #define RK_PA6 6 19150696e2SAndy Yan #define RK_PA7 7 20150696e2SAndy Yan #define RK_PB0 8 21150696e2SAndy Yan #define RK_PB1 9 22150696e2SAndy Yan #define RK_PB2 10 23150696e2SAndy Yan #define RK_PB3 11 24150696e2SAndy Yan #define RK_PB4 12 25150696e2SAndy Yan #define RK_PB5 13 26150696e2SAndy Yan #define RK_PB6 14 27150696e2SAndy Yan #define RK_PB7 15 28150696e2SAndy Yan #define RK_PC0 16 29150696e2SAndy Yan #define RK_PC1 17 30150696e2SAndy Yan #define RK_PC2 18 31150696e2SAndy Yan #define RK_PC3 19 32150696e2SAndy Yan #define RK_PC4 20 33150696e2SAndy Yan #define RK_PC5 21 34150696e2SAndy Yan #define RK_PC6 22 35150696e2SAndy Yan #define RK_PC7 23 36150696e2SAndy Yan #define RK_PD0 24 37150696e2SAndy Yan #define RK_PD1 25 38150696e2SAndy Yan #define RK_PD2 26 39150696e2SAndy Yan #define RK_PD3 27 40150696e2SAndy Yan #define RK_PD4 28 41150696e2SAndy Yan #define RK_PD5 29 42150696e2SAndy Yan #define RK_PD6 30 43150696e2SAndy Yan #define RK_PD7 31 44150696e2SAndy Yan 45d3e51161SHeiko Stübner #define RK_FUNC_GPIO 0 46d3e51161SHeiko Stübner 47d3e51161SHeiko Stübner #endif 48