]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - arch/arm/boot/dts/ste-ccu8540-pinctrl.dtsi
ARM: dts: bcm283x: Add VEC node in bcm283x.dtsi
[mirror_ubuntu-zesty-kernel.git] / arch / arm / boot / dts / ste-ccu8540-pinctrl.dtsi
CommitLineData
3d0899e8
GF
1/*
2 * Copyright 2012 ST-Ericsson
3 *
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
7 *
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
10 */
11#include "ste-nomadik-pinctrl.dtsi"
12
13/ {
14 soc {
15 pinctrl {
16 uart0 {
17 uart0_default_mux: uart0_mux {
18 default_mux {
68d41f23
LW
19 function = "u0";
20 groups = "u0_a_1";
3d0899e8
GF
21 };
22 };
23
24 uart0_default_mode: uart0_default {
25 default_cfg1 {
1637d480 26 pins = "GPIO0", "GPIO2";
3d0899e8
GF
27 ste,config = <&in_pu>;
28 };
29
30 default_cfg2 {
1637d480 31 pins = "GPIO1", "GPIO3";
3d0899e8
GF
32 ste,config = <&out_hi>;
33 };
34 };
35
36 uart0_sleep_mode: uart0_sleep {
37 sleep_cfg1 {
1637d480 38 pins = "GPIO0", "GPIO2";
3d0899e8
GF
39 ste,config = <&slpm_in_pu>;
40 };
41
42 sleep_cfg2 {
1637d480 43 pins = "GPIO1", "GPIO3";
3d0899e8
GF
44 ste,config = <&slpm_out_hi>;
45 };
46 };
47 };
48
49 uart2 {
50 uart2_default_mode: uart2_default {
51 default_mux {
68d41f23
LW
52 function = "u2";
53 groups = "u2txrx_a_1";
3d0899e8
GF
54 };
55
56 default_cfg1 {
1637d480 57 pins = "GPIO120";
3d0899e8
GF
58 ste,config = <&in_pu>;
59 };
60
61 default_cfg2 {
1637d480 62 pins = "GPIO121";
3d0899e8
GF
63 ste,config = <&out_hi>;
64 };
65 };
66
67 uart2_sleep_mode: uart2_sleep {
68 sleep_cfg1 {
1637d480 69 pins = "GPIO120";
3d0899e8
GF
70 ste,config = <&slpm_in_pu>;
71 };
72
73 sleep_cfg2 {
1637d480 74 pins = "GPIO121";
3d0899e8
GF
75 ste,config = <&slpm_out_hi>;
76 };
77 };
78 };
e0dfe89d
GF
79
80 i2c0 {
81 i2c0_default_mux: i2c_mux {
82 default_mux {
68d41f23
LW
83 function = "i2c0";
84 groups = "i2c0_a_1";
e0dfe89d
GF
85 };
86 };
87
88 i2c0_default_mode: i2c_default {
89 default_cfg1 {
1637d480 90 pins = "GPIO147", "GPIO148";
e0dfe89d
GF
91 ste,config = <&in_pu>;
92 };
93 };
94
95 i2c0_sleep_mode: i2c_sleep {
96 sleep_cfg1 {
1637d480 97 pins = "GPIO147", "GPIO148";
e0dfe89d
GF
98 ste,config = <&slpm_in_pu>;
99 };
100 };
101 };
102
103 i2c1 {
104 i2c1_default_mux: i2c_mux {
105 default_mux {
68d41f23
LW
106 function = "i2c1";
107 groups = "i2c1_b_2";
e0dfe89d
GF
108 };
109 };
110
111 i2c1_default_mode: i2c_default {
112 default_cfg1 {
1637d480 113 pins = "GPIO16", "GPIO17";
e0dfe89d
GF
114 ste,config = <&in_pu>;
115 };
116 };
117
118 i2c1_sleep_mode: i2c_sleep {
119 sleep_cfg1 {
1637d480 120 pins = "GPIO16", "GPIO17";
e0dfe89d
GF
121 ste,config = <&slpm_in_pu>;
122 };
123 };
124 };
125
126 i2c2 {
127 i2c2_default_mux: i2c_mux {
128 default_mux {
68d41f23
LW
129 function = "i2c2";
130 groups = "i2c2_b_2";
e0dfe89d
GF
131 };
132 };
133
134 i2c2_default_mode: i2c_default {
135 default_cfg1 {
1637d480 136 pins = "GPIO10", "GPIO11";
e0dfe89d
GF
137 ste,config = <&in_pu>;
138 };
139 };
140
141 i2c2_sleep_mode: i2c_sleep {
142 sleep_cfg1 {
1637d480 143 pins = "GPIO11", "GPIO11";
e0dfe89d
GF
144 ste,config = <&slpm_in_pu>;
145 };
146 };
147 };
148
149 i2c4 {
150 i2c4_default_mux: i2c_mux {
151 default_mux {
68d41f23
LW
152 function = "i2c4";
153 groups = "i2c4_b_2";
e0dfe89d
GF
154 };
155 };
156
157 i2c4_default_mode: i2c_default {
158 default_cfg1 {
1637d480 159 pins = "GPIO122", "GPIO123";
e0dfe89d
GF
160 ste,config = <&in_pu>;
161 };
162 };
163
164 i2c4_sleep_mode: i2c_sleep {
165 sleep_cfg1 {
1637d480 166 pins = "GPIO122", "GPIO123";
e0dfe89d
GF
167 ste,config = <&slpm_in_pu>;
168 };
169 };
170 };
171
172 i2c5 {
173 i2c5_default_mux: i2c_mux {
174 default_mux {
68d41f23
LW
175 function = "i2c5";
176 groups = "i2c5_c_2";
e0dfe89d
GF
177 };
178 };
179
180 i2c5_default_mode: i2c_default {
181 default_cfg1 {
1637d480 182 pins = "GPIO118", "GPIO119";
e0dfe89d
GF
183 ste,config = <&in_pu>;
184 };
185 };
186
187 i2c5_sleep_mode: i2c_sleep {
188 sleep_cfg1 {
1637d480 189 pins = "GPIO118", "GPIO119";
e0dfe89d
GF
190 ste,config = <&slpm_in_pu>;
191 };
192 };
193 };
3d0899e8
GF
194 };
195 };
196};