1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0-or-later */ 2*c66ec88fSEmmanuel Vadot /* 3*c66ec88fSEmmanuel Vadot * Header providing constants for Rockchip pinctrl bindings. 4*c66ec88fSEmmanuel Vadot * 5*c66ec88fSEmmanuel Vadot * Copyright (c) 2013 MundoReader S.L. 6*c66ec88fSEmmanuel Vadot * Author: Heiko Stuebner <heiko@sntech.de> 7*c66ec88fSEmmanuel Vadot */ 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadot #ifndef __DT_BINDINGS_ROCKCHIP_PINCTRL_H__ 10*c66ec88fSEmmanuel Vadot #define __DT_BINDINGS_ROCKCHIP_PINCTRL_H__ 11*c66ec88fSEmmanuel Vadot 12*c66ec88fSEmmanuel Vadot #define RK_PA0 0 13*c66ec88fSEmmanuel Vadot #define RK_PA1 1 14*c66ec88fSEmmanuel Vadot #define RK_PA2 2 15*c66ec88fSEmmanuel Vadot #define RK_PA3 3 16*c66ec88fSEmmanuel Vadot #define RK_PA4 4 17*c66ec88fSEmmanuel Vadot #define RK_PA5 5 18*c66ec88fSEmmanuel Vadot #define RK_PA6 6 19*c66ec88fSEmmanuel Vadot #define RK_PA7 7 20*c66ec88fSEmmanuel Vadot #define RK_PB0 8 21*c66ec88fSEmmanuel Vadot #define RK_PB1 9 22*c66ec88fSEmmanuel Vadot #define RK_PB2 10 23*c66ec88fSEmmanuel Vadot #define RK_PB3 11 24*c66ec88fSEmmanuel Vadot #define RK_PB4 12 25*c66ec88fSEmmanuel Vadot #define RK_PB5 13 26*c66ec88fSEmmanuel Vadot #define RK_PB6 14 27*c66ec88fSEmmanuel Vadot #define RK_PB7 15 28*c66ec88fSEmmanuel Vadot #define RK_PC0 16 29*c66ec88fSEmmanuel Vadot #define RK_PC1 17 30*c66ec88fSEmmanuel Vadot #define RK_PC2 18 31*c66ec88fSEmmanuel Vadot #define RK_PC3 19 32*c66ec88fSEmmanuel Vadot #define RK_PC4 20 33*c66ec88fSEmmanuel Vadot #define RK_PC5 21 34*c66ec88fSEmmanuel Vadot #define RK_PC6 22 35*c66ec88fSEmmanuel Vadot #define RK_PC7 23 36*c66ec88fSEmmanuel Vadot #define RK_PD0 24 37*c66ec88fSEmmanuel Vadot #define RK_PD1 25 38*c66ec88fSEmmanuel Vadot #define RK_PD2 26 39*c66ec88fSEmmanuel Vadot #define RK_PD3 27 40*c66ec88fSEmmanuel Vadot #define RK_PD4 28 41*c66ec88fSEmmanuel Vadot #define RK_PD5 29 42*c66ec88fSEmmanuel Vadot #define RK_PD6 30 43*c66ec88fSEmmanuel Vadot #define RK_PD7 31 44*c66ec88fSEmmanuel Vadot 45*c66ec88fSEmmanuel Vadot #define RK_FUNC_GPIO 0 46*c66ec88fSEmmanuel Vadot 47*c66ec88fSEmmanuel Vadot #endif 48