blob: 6274359fb323702189d165bee699454aba5d65aa [file] [log] [blame]
Heiko Stuebner35aca362013-05-21 01:06:04 +09001/*
2 * Samsung S3C2416 pinctrl settings
3 *
4 * Copyright (c) 2013 Heiko Stuebner <heiko@sntech.de>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10
Krzysztof Kozlowski930f2912016-09-04 13:04:19 +020011#include <dt-bindings/pinctrl/samsung.h>
12
Heiko Stuebner35aca362013-05-21 01:06:04 +090013&pinctrl_0 {
14 /*
15 * Pin banks
16 */
17
18 gpa: gpa {
19 gpio-controller;
20 #gpio-cells = <2>;
21 };
22
23 gpb: gpb {
24 gpio-controller;
25 #gpio-cells = <2>;
26 };
27
28 gpc: gpc {
29 gpio-controller;
30 #gpio-cells = <2>;
31 };
32
33 gpd: gpd {
34 gpio-controller;
35 #gpio-cells = <2>;
36 };
37
38 gpe: gpe {
39 gpio-controller;
40 #gpio-cells = <2>;
41 };
42
43 gpf: gpf {
44 gpio-controller;
45 #gpio-cells = <2>;
46 interrupt-controller;
47 #interrupt-cells = <2>;
48 };
49
50 gpg: gpg {
51 gpio-controller;
52 #gpio-cells = <2>;
53 interrupt-controller;
54 #interrupt-cells = <2>;
55 };
56
57 gph: gph {
58 gpio-controller;
59 #gpio-cells = <2>;
60 };
61
62 gpj: gpj {
63 gpio-controller;
64 #gpio-cells = <2>;
65 };
66
67 gpk: gpk {
68 gpio-controller;
69 #gpio-cells = <2>;
70 };
71
72 gpl: gpl {
73 gpio-controller;
74 #gpio-cells = <2>;
75 };
76
77 gpm: gpm {
78 gpio-controller;
79 #gpio-cells = <2>;
80 };
81
82 /*
83 * Pin groups
84 */
85
86 uart0_data: uart0-data {
87 samsung,pins = "gph-0", "gph-1";
Krzysztof Kozlowski930f2912016-09-04 13:04:19 +020088 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Heiko Stuebner35aca362013-05-21 01:06:04 +090089 };
90
91 uart0_fctl: uart0-fctl {
92 samsung,pins = "gph-8", "gph-9";
Krzysztof Kozlowski930f2912016-09-04 13:04:19 +020093 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Heiko Stuebner35aca362013-05-21 01:06:04 +090094 };
95
96 uart1_data: uart1-data {
97 samsung,pins = "gph-2", "gph-3";
Krzysztof Kozlowski930f2912016-09-04 13:04:19 +020098 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Heiko Stuebner35aca362013-05-21 01:06:04 +090099 };
100
101 uart1_fctl: uart1-fctl {
102 samsung,pins = "gph-10", "gph-11";
Krzysztof Kozlowski930f2912016-09-04 13:04:19 +0200103 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Heiko Stuebner35aca362013-05-21 01:06:04 +0900104 };
105
106 uart2_data: uart2-data {
107 samsung,pins = "gph-4", "gph-5";
Krzysztof Kozlowski930f2912016-09-04 13:04:19 +0200108 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Heiko Stuebner35aca362013-05-21 01:06:04 +0900109 };
110
111 uart2_fctl: uart2-fctl {
112 samsung,pins = "gph-6", "gph-7";
Krzysztof Kozlowski930f2912016-09-04 13:04:19 +0200113 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Heiko Stuebner35aca362013-05-21 01:06:04 +0900114 };
115
116 uart3_data: uart3-data {
117 samsung,pins = "gph-6", "gph-7";
Krzysztof Kozlowski930f2912016-09-04 13:04:19 +0200118 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Heiko Stuebner35aca362013-05-21 01:06:04 +0900119 };
120
121 extuart_clk: extuart-clk {
122 samsung,pins = "gph-12";
Krzysztof Kozlowski930f2912016-09-04 13:04:19 +0200123 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Heiko Stuebner35aca362013-05-21 01:06:04 +0900124 };
125
126 i2c0_bus: i2c0-bus {
127 samsung,pins = "gpe-14", "gpe-15";
Krzysztof Kozlowski930f2912016-09-04 13:04:19 +0200128 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Heiko Stuebner35aca362013-05-21 01:06:04 +0900129 };
130
131 spi0_bus: spi0-bus {
132 samsung,pins = "gpe-11", "gpe-12", "gpe-13";
Krzysztof Kozlowski930f2912016-09-04 13:04:19 +0200133 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Heiko Stuebner35aca362013-05-21 01:06:04 +0900134 };
135
136 sd0_clk: sd0-clk {
137 samsung,pins = "gpe-5";
Krzysztof Kozlowski930f2912016-09-04 13:04:19 +0200138 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Heiko Stuebner35aca362013-05-21 01:06:04 +0900139 };
140
141 sd0_cmd: sd0-cmd {
142 samsung,pins = "gpe-6";
Krzysztof Kozlowski930f2912016-09-04 13:04:19 +0200143 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Heiko Stuebner35aca362013-05-21 01:06:04 +0900144 };
145
146 sd0_bus1: sd0-bus1 {
147 samsung,pins = "gpe-7";
Krzysztof Kozlowski930f2912016-09-04 13:04:19 +0200148 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Heiko Stuebner35aca362013-05-21 01:06:04 +0900149 };
150
151 sd0_bus4: sd0-bus4 {
152 samsung,pins = "gpe-8", "gpe-9", "gpe-10";
Krzysztof Kozlowski930f2912016-09-04 13:04:19 +0200153 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Heiko Stuebner35aca362013-05-21 01:06:04 +0900154 };
155
156 sd1_cmd: sd1-cmd {
157 samsung,pins = "gpl-8";
Krzysztof Kozlowski930f2912016-09-04 13:04:19 +0200158 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Heiko Stuebner35aca362013-05-21 01:06:04 +0900159 };
160
161 sd1_clk: sd1-clk {
162 samsung,pins = "gpl-9";
Krzysztof Kozlowski930f2912016-09-04 13:04:19 +0200163 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Heiko Stuebner35aca362013-05-21 01:06:04 +0900164 };
165
166 sd1_bus1: sd1-bus1 {
167 samsung,pins = "gpl-0";
Krzysztof Kozlowski930f2912016-09-04 13:04:19 +0200168 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Heiko Stuebner35aca362013-05-21 01:06:04 +0900169 };
170
171 sd1_bus4: sd1-bus4 {
172 samsung,pins = "gpl-1", "gpl-2", "gpl-3";
Krzysztof Kozlowski930f2912016-09-04 13:04:19 +0200173 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Heiko Stuebner35aca362013-05-21 01:06:04 +0900174 };
175};