ARM: dts: synquacer: Add device trees for DeveloperBox
[platform/kernel/u-boot.git] / arch / arm / dts / s5p4418-pinctrl.dtsi
1 // 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
14 pinctrl@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         };
135 };