1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
|
// SPDX-License-Identifier: GPL-2.0+
/*
* Nexell's s5p6818 SoC pin-mux and pin-config device tree source
*
* (C) Copyright 2020 Stefan Bosch <stefan_b@posteo.net>
*
* Copyright (C) 2016 Nexell Co., Ltd.
* http://www.nexell.co.kr
*
* Nexell's s5p6818 SoC pin-mux and pin-config options are listed as
* device tree nodes in this file.
*/
pinctrl@C0010000 {
/*
* values for "pin-pull":
* pulldown resistor = 0
* pullup = 1
* no pullup/down = 2
*/
/* MMC */
mmc0_clk: mmc0-clk {
pins = "gpioa-29";
pin-function = <1>;
pin-pull = <2>;
pin-strength = <2>;
};
mmc0_cmd: mmc0-cmd {
pins = "gpioa-31";
pin-function = <1>;
pin-pull = <2>;
pin-strength = <1>;
};
mmc0_bus4: mmc0-bus-width4 {
pins = "gpiob-1, gpiob-3, gpiob-5, gpiob-7";
pin-function = <1>;
pin-pull = <2>;
pin-strength = <1>;
};
mmc1_clk: mmc1-clk {
pins = "gpiod-22";
pin-function = <1>;
pin-pull = <2>;
pin-strength = <2>;
};
mmc1_cmd: mmc1-cmd {
pins = "gpiod-23";
pin-function = <1>;
pin-pull = <2>;
pin-strength = <1>;
};
mmc1_bus4: mmc1-bus-width4 {
pins = "gpiod-24, gpiod-25, gpiod-26, gpiod-27";
pin-function = <1>;
pin-pull = <2>;
pin-strength = <1>;
};
mmc2_clk: mmc2-clk {
pins = "gpioc-18";
pin-function = <2>;
pin-pull = <2>;
pin-strength = <2>;
};
mmc2_cmd: mmc2-cmd {
pins = "gpioc-19";
pin-function = <2>;
pin-pull = <2>;
pin-strength = <1>;
};
mmc2_bus4: mmc2-bus-width4 {
pins = "gpioc-20, gpioc-21, gpioc-22, gpioc-23";
pin-function = <2>;
pin-pull = <2>;
pin-strength = <1>;
};
mmc2_bus8: mmc2-bus-width8 {
nexell,pins = "gpioe-21", "gpioe-22", "gpioe-23", "gpioe-24";
pin-function = <2>;
pin-pull = <2>;
pin-strength = <1>;
};
/* I2C */
i2c0_sda:i2c0-sda {
pins = "gpiod-3";
pin-function = <1>;
pin-pull = <2>;
pin-strength = <0>;
};
i2c0_scl:i2c0-scl {
pins = "gpiod-2";
pin-function = <1>;
pin-pull = <2>;
pin-strength = <0>;
};
i2c1_sda:i2c1-sda {
pins = "gpiod-5";
pin-function = <1>;
pin-pull = <2>;
pin-strength = <0>;
};
i2c1_scl:i2c1-scl {
pins = "gpiod-4";
pin-function = <1>;
pin-pull = <2>;
pin-strength = <0>;
};
i2c2_sda:i2c2-sda {
pins = "gpiod-7";
pin-function = <1>;
pin-pull = <2>;
pin-strength = <0>;
};
i2c2_scl:i2c2-scl {
pins = "gpiod-6";
pin-function = <1>;
pin-pull = <2>;
pin-strength = <0>;
};
};
|