1 // SPDX-License-Identifier: GPL-2.0
3 * Tesla Full Self-Driving SoC device tree source
5 * Copyright (c) 2017-2021 Samsung Electronics Co., Ltd.
6 * https://www.samsung.com
7 * Copyright (c) 2017-2021 Tesla, Inc.
8 * https://www.tesla.com
11 #include <dt-bindings/pinctrl/samsung.h>
14 gpf0: gpf0-gpio-bank {
19 #interrupt-cells = <2>;
22 gpf1: gpf1-gpio-bank {
27 #interrupt-cells = <2>;
30 gpf6: gpf6-gpio-bank {
35 #interrupt-cells = <2>;
38 gpf4: gpf4-gpio-bank {
43 #interrupt-cells = <2>;
46 gpf5: gpf5-gpio-bank {
51 #interrupt-cells = <2>;
56 gpc8: gpc8-gpio-bank {
61 #interrupt-cells = <2>;
64 gpf2: gpf2-gpio-bank {
69 #interrupt-cells = <2>;
72 gpf3: gpf3-gpio-bank {
77 #interrupt-cells = <2>;
80 gpd0: gpd0-gpio-bank {
85 #interrupt-cells = <2>;
88 gpb0: gpb0-gpio-bank {
93 #interrupt-cells = <2>;
96 gpb1: gpb1-gpio-bank {
100 interrupt-controller;
101 #interrupt-cells = <2>;
104 gpb4: gpb4-gpio-bank {
108 interrupt-controller;
109 #interrupt-cells = <2>;
112 gpb5: gpb5-gpio-bank {
116 interrupt-controller;
117 #interrupt-cells = <2>;
120 gpb6: gpb6-gpio-bank {
124 interrupt-controller;
125 #interrupt-cells = <2>;
128 gpb7: gpb7-gpio-bank {
132 interrupt-controller;
133 #interrupt-cells = <2>;
136 gpd1: gpd1-gpio-bank {
140 interrupt-controller;
141 #interrupt-cells = <2>;
144 gpd2: gpd2-gpio-bank {
148 interrupt-controller;
149 #interrupt-cells = <2>;
152 gpd3: gpd3-gpio-bank {
156 interrupt-controller;
157 #interrupt-cells = <2>;
160 gpg0: gpg0-gpio-bank {
164 interrupt-controller;
165 #interrupt-cells = <2>;
168 gpg1: gpg1-gpio-bank {
172 interrupt-controller;
173 #interrupt-cells = <2>;
176 gpg2: gpg2-gpio-bank {
180 interrupt-controller;
181 #interrupt-cells = <2>;
184 gpg3: gpg3-gpio-bank {
188 interrupt-controller;
189 #interrupt-cells = <2>;
192 gpg4: gpg4-gpio-bank {
196 interrupt-controller;
197 #interrupt-cells = <2>;
200 gpg5: gpg5-gpio-bank {
204 interrupt-controller;
205 #interrupt-cells = <2>;
208 gpg6: gpg6-gpio-bank {
212 interrupt-controller;
213 #interrupt-cells = <2>;
216 gpg7: gpg7-gpio-bank {
220 interrupt-controller;
221 #interrupt-cells = <2>;
224 pwm0_out: pwm0-out-pins {
225 samsung,pins = "gpb6-1";
226 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
227 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
228 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV2>;
231 pwm1_out: pwm1-out-pins {
232 samsung,pins = "gpb6-5";
233 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
234 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
235 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV2>;
238 hs_i2c0_bus: hs-i2c0-bus-pins {
239 samsung,pins = "gpb0-0", "gpb0-1";
240 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
241 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
242 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
245 hs_i2c1_bus: hs-i2c1-bus-pins {
246 samsung,pins = "gpb0-2", "gpb0-3";
247 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
248 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
249 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
252 hs_i2c2_bus: hs-i2c2-bus-pins {
253 samsung,pins = "gpb0-4", "gpb0-5";
254 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
255 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
256 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
259 hs_i2c3_bus: hs-i2c3-bus-pins {
260 samsung,pins = "gpb0-6", "gpb0-7";
261 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
262 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
263 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
266 hs_i2c4_bus: hs-i2c4-bus-pins {
267 samsung,pins = "gpb1-0", "gpb1-1";
268 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
269 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
270 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
273 hs_i2c5_bus: hs-i2c5-bus-pins {
274 samsung,pins = "gpb1-2", "gpb1-3";
275 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
276 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
277 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
280 hs_i2c6_bus: hs-i2c6-bus-pins {
281 samsung,pins = "gpb1-4", "gpb1-5";
282 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
283 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
284 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
287 hs_i2c7_bus: hs-i2c7-bus-pins {
288 samsung,pins = "gpb1-6", "gpb1-7";
289 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
290 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
291 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
294 uart0_data: uart0-data-pins {
295 samsung,pins = "gpb7-0", "gpb7-1";
296 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
297 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
298 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
301 uart1_data: uart1-data-pins {
302 samsung,pins = "gpb7-4", "gpb7-5";
303 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
304 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
305 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
308 spi0_bus: spi0-bus-pins {
309 samsung,pins = "gpb4-0", "gpb4-2", "gpb4-3";
310 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
311 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
312 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
315 spi1_bus: spi1-bus-pins {
316 samsung,pins = "gpb4-4", "gpb4-6", "gpb4-7";
317 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
318 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
319 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
322 spi2_bus: spi2-bus-pins {
323 samsung,pins = "gpb5-0", "gpb5-2", "gpb5-3";
324 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
325 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
326 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
331 gpq0: gpq0-gpio-bank {