Linux 5.6.13
[linux/fpc-iii.git] / arch / arm / boot / dts / s3c2416-pinctrl.dtsi
blob92439ee5d7de4a1d70311285ac8a12d7f9f73f23
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Samsung S3C2416 pinctrl settings
4  *
5  * Copyright (c) 2013 Heiko Stuebner <heiko@sntech.de>
6  */
8 #include <dt-bindings/pinctrl/samsung.h>
10 &pinctrl_0 {
11         /*
12          * Pin banks
13          */
15         gpa: gpa {
16                 gpio-controller;
17                 #gpio-cells = <2>;
18         };
20         gpb: gpb {
21                 gpio-controller;
22                 #gpio-cells = <2>;
23         };
25         gpc: gpc {
26                 gpio-controller;
27                 #gpio-cells = <2>;
28         };
30         gpd: gpd {
31                 gpio-controller;
32                 #gpio-cells = <2>;
33         };
35         gpe: gpe {
36                 gpio-controller;
37                 #gpio-cells = <2>;
38         };
40         gpf: gpf {
41                 gpio-controller;
42                 #gpio-cells = <2>;
43                 interrupt-controller;
44                 #interrupt-cells = <2>;
45         };
47         gpg: gpg {
48                 gpio-controller;
49                 #gpio-cells = <2>;
50                 interrupt-controller;
51                 #interrupt-cells = <2>;
52         };
54         gph: gph {
55                 gpio-controller;
56                 #gpio-cells = <2>;
57         };
59         gpj: gpj {
60                 gpio-controller;
61                 #gpio-cells = <2>;
62         };
64         gpk: gpk {
65                 gpio-controller;
66                 #gpio-cells = <2>;
67         };
69         gpl: gpl {
70                 gpio-controller;
71                 #gpio-cells = <2>;
72         };
74         gpm: gpm {
75                 gpio-controller;
76                 #gpio-cells = <2>;
77         };
79         /*
80          * Pin groups
81          */
83         uart0_data: uart0-data {
84                 samsung,pins = "gph-0", "gph-1";
85                 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
86         };
88         uart0_fctl: uart0-fctl {
89                 samsung,pins = "gph-8", "gph-9";
90                 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
91         };
93         uart1_data: uart1-data {
94                 samsung,pins = "gph-2", "gph-3";
95                 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
96         };
98         uart1_fctl: uart1-fctl {
99                 samsung,pins = "gph-10", "gph-11";
100                 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
101         };
103         uart2_data: uart2-data {
104                 samsung,pins = "gph-4", "gph-5";
105                 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
106         };
108         uart2_fctl: uart2-fctl {
109                 samsung,pins = "gph-6", "gph-7";
110                 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
111         };
113         uart3_data: uart3-data {
114                 samsung,pins = "gph-6", "gph-7";
115                 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
116         };
118         extuart_clk: extuart-clk {
119                 samsung,pins = "gph-12";
120                 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
121         };
123         i2c0_bus: i2c0-bus {
124                 samsung,pins = "gpe-14", "gpe-15";
125                 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
126         };
128         spi0_bus: spi0-bus {
129                 samsung,pins = "gpe-11", "gpe-12", "gpe-13";
130                 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
131         };
133         sd0_clk: sd0-clk {
134                 samsung,pins = "gpe-5";
135                 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
136         };
138         sd0_cmd: sd0-cmd {
139                 samsung,pins = "gpe-6";
140                 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
141         };
143         sd0_bus1: sd0-bus1 {
144                 samsung,pins = "gpe-7";
145                 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
146         };
148         sd0_bus4: sd0-bus4 {
149                 samsung,pins = "gpe-8", "gpe-9", "gpe-10";
150                 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
151         };
153         sd1_cmd: sd1-cmd {
154                 samsung,pins = "gpl-8";
155                 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
156         };
158         sd1_clk: sd1-clk {
159                 samsung,pins = "gpl-9";
160                 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
161         };
163         sd1_bus1: sd1-bus1 {
164                 samsung,pins = "gpl-0";
165                 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
166         };
168         sd1_bus4: sd1-bus4 {
169                 samsung,pins = "gpl-1", "gpl-2", "gpl-3";
170                 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
171         };