18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Header providing constants for Rockchip pinctrl bindings. 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (c) 2013 MundoReader S.L. 68c2ecf20Sopenharmony_ci * Author: Heiko Stuebner <heiko@sntech.de> 78c2ecf20Sopenharmony_ci */ 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#ifndef __DT_BINDINGS_ROCKCHIP_PINCTRL_H__ 108c2ecf20Sopenharmony_ci#define __DT_BINDINGS_ROCKCHIP_PINCTRL_H__ 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#define RK_PA0 0 138c2ecf20Sopenharmony_ci#define RK_PA1 1 148c2ecf20Sopenharmony_ci#define RK_PA2 2 158c2ecf20Sopenharmony_ci#define RK_PA3 3 168c2ecf20Sopenharmony_ci#define RK_PA4 4 178c2ecf20Sopenharmony_ci#define RK_PA5 5 188c2ecf20Sopenharmony_ci#define RK_PA6 6 198c2ecf20Sopenharmony_ci#define RK_PA7 7 208c2ecf20Sopenharmony_ci#define RK_PB0 8 218c2ecf20Sopenharmony_ci#define RK_PB1 9 228c2ecf20Sopenharmony_ci#define RK_PB2 10 238c2ecf20Sopenharmony_ci#define RK_PB3 11 248c2ecf20Sopenharmony_ci#define RK_PB4 12 258c2ecf20Sopenharmony_ci#define RK_PB5 13 268c2ecf20Sopenharmony_ci#define RK_PB6 14 278c2ecf20Sopenharmony_ci#define RK_PB7 15 288c2ecf20Sopenharmony_ci#define RK_PC0 16 298c2ecf20Sopenharmony_ci#define RK_PC1 17 308c2ecf20Sopenharmony_ci#define RK_PC2 18 318c2ecf20Sopenharmony_ci#define RK_PC3 19 328c2ecf20Sopenharmony_ci#define RK_PC4 20 338c2ecf20Sopenharmony_ci#define RK_PC5 21 348c2ecf20Sopenharmony_ci#define RK_PC6 22 358c2ecf20Sopenharmony_ci#define RK_PC7 23 368c2ecf20Sopenharmony_ci#define RK_PD0 24 378c2ecf20Sopenharmony_ci#define RK_PD1 25 388c2ecf20Sopenharmony_ci#define RK_PD2 26 398c2ecf20Sopenharmony_ci#define RK_PD3 27 408c2ecf20Sopenharmony_ci#define RK_PD4 28 418c2ecf20Sopenharmony_ci#define RK_PD5 29 428c2ecf20Sopenharmony_ci#define RK_PD6 30 438c2ecf20Sopenharmony_ci#define RK_PD7 31 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ci#define RK_FUNC_GPIO 0 468c2ecf20Sopenharmony_ci 478c2ecf20Sopenharmony_ci#endif 48