blob: 0768d80fc95a19da4d97f4def7236ffab70687aa [file] [log] [blame]
Stefan Boschd1611082020-07-10 19:07:37 +02001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Nexell's s5p6818 SoC pin-mux and pin-config device tree source
4 *
5 * (C) Copyright 2020 Stefan Bosch <stefan_b@posteo.net>
6 *
7 * Copyright (C) 2016 Nexell Co., Ltd.
8 * http://www.nexell.co.kr
9 *
10 * Nexell's s5p6818 SoC pin-mux and pin-config options are listed as
11 * device tree nodes in this file.
12 */
13
14pinctrl@C0010000 {
15 /*
16 * values for "pin-pull":
17 * pulldown resistor = 0
18 * pullup = 1
19 * no pullup/down = 2
20 */
21
22 /* MMC */
23 mmc0_clk: mmc0-clk {
24 pins = "gpioa-29";
25 pin-function = <1>;
26 pin-pull = <2>;
27 pin-strength = <2>;
28 };
29
30 mmc0_cmd: mmc0-cmd {
31 pins = "gpioa-31";
32 pin-function = <1>;
33 pin-pull = <2>;
34 pin-strength = <1>;
35 };
36
37 mmc0_bus4: mmc0-bus-width4 {
38 pins = "gpiob-1, gpiob-3, gpiob-5, gpiob-7";
39 pin-function = <1>;
40 pin-pull = <2>;
41 pin-strength = <1>;
42 };
43
44 mmc1_clk: mmc1-clk {
45 pins = "gpiod-22";
46 pin-function = <1>;
47 pin-pull = <2>;
48 pin-strength = <2>;
49 };
50
51 mmc1_cmd: mmc1-cmd {
52 pins = "gpiod-23";
53 pin-function = <1>;
54 pin-pull = <2>;
55 pin-strength = <1>;
56 };
57
58 mmc1_bus4: mmc1-bus-width4 {
59 pins = "gpiod-24, gpiod-25, gpiod-26, gpiod-27";
60 pin-function = <1>;
61 pin-pull = <2>;
62 pin-strength = <1>;
63 };
64
65 mmc2_clk: mmc2-clk {
66 pins = "gpioc-18";
67 pin-function = <2>;
68 pin-pull = <2>;
69 pin-strength = <2>;
70 };
71
72 mmc2_cmd: mmc2-cmd {
73 pins = "gpioc-19";
74 pin-function = <2>;
75 pin-pull = <2>;
76 pin-strength = <1>;
77 };
78
79 mmc2_bus4: mmc2-bus-width4 {
80 pins = "gpioc-20, gpioc-21, gpioc-22, gpioc-23";
81 pin-function = <2>;
82 pin-pull = <2>;
83 pin-strength = <1>;
84 };
85
86 mmc2_bus8: mmc2-bus-width8 {
87 nexell,pins = "gpioe-21", "gpioe-22", "gpioe-23", "gpioe-24";
88 pin-function = <2>;
89 pin-pull = <2>;
90 pin-strength = <1>;
91 };
92
93 /* I2C */
94 i2c0_sda:i2c0-sda {
95 pins = "gpiod-3";
96 pin-function = <1>;
97 pin-pull = <2>;
98 pin-strength = <0>;
99 };
100
101 i2c0_scl:i2c0-scl {
102 pins = "gpiod-2";
103 pin-function = <1>;
104 pin-pull = <2>;
105 pin-strength = <0>;
106 };
107
108 i2c1_sda:i2c1-sda {
109 pins = "gpiod-5";
110 pin-function = <1>;
111 pin-pull = <2>;
112 pin-strength = <0>;
113 };
114
115 i2c1_scl:i2c1-scl {
116 pins = "gpiod-4";
117 pin-function = <1>;
118 pin-pull = <2>;
119 pin-strength = <0>;
120 };
121
122 i2c2_sda:i2c2-sda {
123 pins = "gpiod-7";
124 pin-function = <1>;
125 pin-pull = <2>;
126 pin-strength = <0>;
127 };
128
129 i2c2_scl:i2c2-scl {
130 pins = "gpiod-6";
131 pin-function = <1>;
132 pin-pull = <2>;
133 pin-strength = <0>;
134 };
Stefan Boschc8ba27f2022-12-18 12:24:33 +0000135
136 /* UART */
137 uart0_rx:uart0-rx {
138 pins = "gpiod-14";
139 pin-function = <1>;
140 pin-pull = <2>;
141 pin-strength = <0>;
142 };
143
144 uart0_tx:uart0-tx {
145 pins = "gpiod-18";
146 pin-function = <1>;
147 pin-pull = <2>;
148 pin-strength = <0>;
149 };
150
151 uart1_rx:uart1-rx {
152 pins = "gpiod-15";
153 pin-function = <2>;
154 pin-pull = <2>;
155 pin-strength = <0>;
156 };
157
158 uart1_tx:uart1-tx {
159 pins = "gpiod-19";
160 pin-function = <2>;
161 pin-pull = <2>;
162 pin-strength = <0>;
163 };
164
165 uart2_rx:uart2-rx {
166 pins = "gpiod-16";
167 pin-function = <1>;
168 pin-pull = <2>;
169 pin-strength = <0>;
170 };
171
172 uart2_tx:uart2-tx {
173 pins = "gpiod-20";
174 pin-function = <1>;
175 pin-pull = <2>;
176 pin-strength = <0>;
177 };
178
179 uart3_rx:uart3-rx {
180 pins = "gpiod-17";
181 pin-function = <1>;
182 pin-pull = <2>;
183 pin-strength = <0>;
184 };
185
186 uart3_tx:uart3-tx {
187 pins = "gpiod-21";
188 pin-function = <1>;
189 pin-pull = <2>;
190 pin-strength = <0>;
191 };
192
193 uart4_rx:uart4-rx {
194 pins = "gpiob-28";
195 pin-function = <3>;
196 pin-pull = <2>;
197 pin-strength = <0>;
198 };
199
200 uart4_tx:uart4-tx {
201 pins = "gpiob-29";
202 pin-function = <3>;
203 pin-pull = <2>;
204 pin-strength = <0>;
205 };
Stefan Boschd1611082020-07-10 19:07:37 +0200206};