]>
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 | ||
930f2910 KK |
11 | #include <dt-bindings/pinctrl/samsung.h> |
12 | ||
35aca364 HS |
13 | &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"; | |
930f2910 | 88 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
35aca364 HS |
89 | }; |
90 | ||
91 | uart0_fctl: uart0-fctl { | |
92 | samsung,pins = "gph-8", "gph-9"; | |
930f2910 | 93 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
35aca364 HS |
94 | }; |
95 | ||
96 | uart1_data: uart1-data { | |
97 | samsung,pins = "gph-2", "gph-3"; | |
930f2910 | 98 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
35aca364 HS |
99 | }; |
100 | ||
101 | uart1_fctl: uart1-fctl { | |
102 | samsung,pins = "gph-10", "gph-11"; | |
930f2910 | 103 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
35aca364 HS |
104 | }; |
105 | ||
106 | uart2_data: uart2-data { | |
107 | samsung,pins = "gph-4", "gph-5"; | |
930f2910 | 108 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
35aca364 HS |
109 | }; |
110 | ||
111 | uart2_fctl: uart2-fctl { | |
112 | samsung,pins = "gph-6", "gph-7"; | |
930f2910 | 113 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
35aca364 HS |
114 | }; |
115 | ||
116 | uart3_data: uart3-data { | |
117 | samsung,pins = "gph-6", "gph-7"; | |
930f2910 | 118 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
35aca364 HS |
119 | }; |
120 | ||
121 | extuart_clk: extuart-clk { | |
122 | samsung,pins = "gph-12"; | |
930f2910 | 123 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
35aca364 HS |
124 | }; |
125 | ||
126 | i2c0_bus: i2c0-bus { | |
127 | samsung,pins = "gpe-14", "gpe-15"; | |
930f2910 | 128 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
35aca364 HS |
129 | }; |
130 | ||
131 | spi0_bus: spi0-bus { | |
132 | samsung,pins = "gpe-11", "gpe-12", "gpe-13"; | |
930f2910 | 133 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
35aca364 HS |
134 | }; |
135 | ||
136 | sd0_clk: sd0-clk { | |
137 | samsung,pins = "gpe-5"; | |
930f2910 | 138 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
35aca364 HS |
139 | }; |
140 | ||
141 | sd0_cmd: sd0-cmd { | |
142 | samsung,pins = "gpe-6"; | |
930f2910 | 143 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
35aca364 HS |
144 | }; |
145 | ||
146 | sd0_bus1: sd0-bus1 { | |
147 | samsung,pins = "gpe-7"; | |
930f2910 | 148 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
35aca364 HS |
149 | }; |
150 | ||
151 | sd0_bus4: sd0-bus4 { | |
152 | samsung,pins = "gpe-8", "gpe-9", "gpe-10"; | |
930f2910 | 153 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
35aca364 HS |
154 | }; |
155 | ||
156 | sd1_cmd: sd1-cmd { | |
157 | samsung,pins = "gpl-8"; | |
930f2910 | 158 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
35aca364 HS |
159 | }; |
160 | ||
161 | sd1_clk: sd1-clk { | |
162 | samsung,pins = "gpl-9"; | |
930f2910 | 163 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
35aca364 HS |
164 | }; |
165 | ||
166 | sd1_bus1: sd1-bus1 { | |
167 | samsung,pins = "gpl-0"; | |
930f2910 | 168 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
35aca364 HS |
169 | }; |
170 | ||
171 | sd1_bus4: sd1-bus4 { | |
172 | samsung,pins = "gpl-1", "gpl-2", "gpl-3"; | |
930f2910 | 173 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
35aca364 HS |
174 | }; |
175 | }; |