Commit | Line | Data |
---|---|---|
35aca364 HS |
1 | /* |
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 | ||
11 | &pinctrl_0 { | |
12 | /* | |
13 | * Pin banks | |
14 | */ | |
15 | ||
16 | gpa: gpa { | |
17 | gpio-controller; | |
18 | #gpio-cells = <2>; | |
19 | }; | |
20 | ||
21 | gpb: gpb { | |
22 | gpio-controller; | |
23 | #gpio-cells = <2>; | |
24 | }; | |
25 | ||
26 | gpc: gpc { | |
27 | gpio-controller; | |
28 | #gpio-cells = <2>; | |
29 | }; | |
30 | ||
31 | gpd: gpd { | |
32 | gpio-controller; | |
33 | #gpio-cells = <2>; | |
34 | }; | |
35 | ||
36 | gpe: gpe { | |
37 | gpio-controller; | |
38 | #gpio-cells = <2>; | |
39 | }; | |
40 | ||
41 | gpf: gpf { | |
42 | gpio-controller; | |
43 | #gpio-cells = <2>; | |
44 | interrupt-controller; | |
45 | #interrupt-cells = <2>; | |
46 | }; | |
47 | ||
48 | gpg: gpg { | |
49 | gpio-controller; | |
50 | #gpio-cells = <2>; | |
51 | interrupt-controller; | |
52 | #interrupt-cells = <2>; | |
53 | }; | |
54 | ||
55 | gph: gph { | |
56 | gpio-controller; | |
57 | #gpio-cells = <2>; | |
58 | }; | |
59 | ||
60 | gpj: gpj { | |
61 | gpio-controller; | |
62 | #gpio-cells = <2>; | |
63 | }; | |
64 | ||
65 | gpk: gpk { | |
66 | gpio-controller; | |
67 | #gpio-cells = <2>; | |
68 | }; | |
69 | ||
70 | gpl: gpl { | |
71 | gpio-controller; | |
72 | #gpio-cells = <2>; | |
73 | }; | |
74 | ||
75 | gpm: gpm { | |
76 | gpio-controller; | |
77 | #gpio-cells = <2>; | |
78 | }; | |
79 | ||
80 | /* | |
81 | * Pin groups | |
82 | */ | |
83 | ||
84 | uart0_data: uart0-data { | |
85 | samsung,pins = "gph-0", "gph-1"; | |
86 | samsung,pin-function = <2>; | |
87 | }; | |
88 | ||
89 | uart0_fctl: uart0-fctl { | |
90 | samsung,pins = "gph-8", "gph-9"; | |
91 | samsung,pin-function = <2>; | |
92 | }; | |
93 | ||
94 | uart1_data: uart1-data { | |
95 | samsung,pins = "gph-2", "gph-3"; | |
96 | samsung,pin-function = <2>; | |
97 | }; | |
98 | ||
99 | uart1_fctl: uart1-fctl { | |
100 | samsung,pins = "gph-10", "gph-11"; | |
101 | samsung,pin-function = <2>; | |
102 | }; | |
103 | ||
104 | uart2_data: uart2-data { | |
105 | samsung,pins = "gph-4", "gph-5"; | |
106 | samsung,pin-function = <2>; | |
107 | }; | |
108 | ||
109 | uart2_fctl: uart2-fctl { | |
110 | samsung,pins = "gph-6", "gph-7"; | |
111 | samsung,pin-function = <2>; | |
112 | }; | |
113 | ||
114 | uart3_data: uart3-data { | |
115 | samsung,pins = "gph-6", "gph-7"; | |
116 | samsung,pin-function = <2>; | |
117 | }; | |
118 | ||
119 | extuart_clk: extuart-clk { | |
120 | samsung,pins = "gph-12"; | |
121 | samsung,pin-function = <2>; | |
122 | }; | |
123 | ||
124 | i2c0_bus: i2c0-bus { | |
125 | samsung,pins = "gpe-14", "gpe-15"; | |
126 | samsung,pin-function = <2>; | |
127 | }; | |
128 | ||
129 | spi0_bus: spi0-bus { | |
130 | samsung,pins = "gpe-11", "gpe-12", "gpe-13"; | |
131 | samsung,pin-function = <2>; | |
132 | }; | |
133 | ||
134 | sd0_clk: sd0-clk { | |
135 | samsung,pins = "gpe-5"; | |
136 | samsung,pin-function = <2>; | |
137 | }; | |
138 | ||
139 | sd0_cmd: sd0-cmd { | |
140 | samsung,pins = "gpe-6"; | |
141 | samsung,pin-function = <2>; | |
142 | }; | |
143 | ||
144 | sd0_bus1: sd0-bus1 { | |
145 | samsung,pins = "gpe-7"; | |
146 | samsung,pin-function = <2>; | |
147 | }; | |
148 | ||
149 | sd0_bus4: sd0-bus4 { | |
150 | samsung,pins = "gpe-8", "gpe-9", "gpe-10"; | |
151 | samsung,pin-function = <2>; | |
152 | }; | |
153 | ||
154 | sd1_cmd: sd1-cmd { | |
155 | samsung,pins = "gpl-8"; | |
156 | samsung,pin-function = <2>; | |
157 | }; | |
158 | ||
159 | sd1_clk: sd1-clk { | |
160 | samsung,pins = "gpl-9"; | |
161 | samsung,pin-function = <2>; | |
162 | }; | |
163 | ||
164 | sd1_bus1: sd1-bus1 { | |
165 | samsung,pins = "gpl-0"; | |
166 | samsung,pin-function = <2>; | |
167 | }; | |
168 | ||
169 | sd1_bus4: sd1-bus4 { | |
170 | samsung,pins = "gpl-1", "gpl-2", "gpl-3"; | |
171 | samsung,pin-function = <2>; | |
172 | }; | |
173 | }; |