summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/pinctrl/rockchip.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-09-03 14:57:09 -0400
committerTom Rini <trini@konsulko.com>2015-09-03 14:57:09 -0400
commitc9feb427aba860ebc79f9851a1bb49cc456a2d48 (patch)
tree6a80def1806386e2854d57f740264c6744d96e1d /include/dt-bindings/pinctrl/rockchip.h
parentda9d8580ff9ce17452ef931072e5799a9df8807f (diff)
parentf2acc55e3d28e96a6fcc060a7081eb4e2ad96350 (diff)
downloadblackbird-obmc-uboot-c9feb427aba860ebc79f9851a1bb49cc456a2d48.tar.gz
blackbird-obmc-uboot-c9feb427aba860ebc79f9851a1bb49cc456a2d48.zip
Merge git://git.denx.de/u-boot-rockchip
Diffstat (limited to 'include/dt-bindings/pinctrl/rockchip.h')
-rw-r--r--include/dt-bindings/pinctrl/rockchip.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/dt-bindings/pinctrl/rockchip.h b/include/dt-bindings/pinctrl/rockchip.h
new file mode 100644
index 0000000000..56887e14b5
--- /dev/null
+++ b/include/dt-bindings/pinctrl/rockchip.h
@@ -0,0 +1,26 @@
+/*
+ * Header providing constants for Rockchip pinctrl bindings.
+ *
+ * Copyright (c) 2013 MundoReader S.L.
+ * Author: Heiko Stuebner <heiko@sntech.de>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __DT_BINDINGS_ROCKCHIP_PINCTRL_H__
+#define __DT_BINDINGS_ROCKCHIP_PINCTRL_H__
+
+#define RK_GPIO0 0
+#define RK_GPIO1 1
+#define RK_GPIO2 2
+#define RK_GPIO3 3
+#define RK_GPIO4 4
+#define RK_GPIO6 6
+
+#define RK_FUNC_GPIO 0
+#define RK_FUNC_1 1
+#define RK_FUNC_2 2
+#define RK_FUNC_3 3
+#define RK_FUNC_4 4
+
+#endif
OpenPOWER on IntegriCloud