aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/ste-hrefv60plus.dtsi
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-11-15 09:50:11 -0500
committerLinus Walleij <linus.walleij@linaro.org>2013-11-26 15:01:57 -0500
commit7ab05bd165873f8561c15fbcce5b1edc55314c83 (patch)
tree29feb38191b3fc102b556b48bcf9901c94d54306 /arch/arm/boot/dts/ste-hrefv60plus.dtsi
parent17afa716e63453f5ac7e24370dae38d1e8c7cac2 (diff)
ARM: ux500: move HREFv60plus pin configs to device tree
Move the few remaining HREFv60 pin configurations to the device tree, reference these as hogs to the pin controller until there are real devices that can make use of them. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/ste-hrefv60plus.dtsi')
-rw-r--r--arch/arm/boot/dts/ste-hrefv60plus.dtsi155
1 files changed, 153 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/ste-hrefv60plus.dtsi b/arch/arm/boot/dts/ste-hrefv60plus.dtsi
index 25b4848e9a6a..941bf9ad6f01 100644
--- a/arch/arm/boot/dts/ste-hrefv60plus.dtsi
+++ b/arch/arm/boot/dts/ste-hrefv60plus.dtsi
@@ -62,9 +62,23 @@
62 }; 62 };
63 63
64 pinctrl { 64 pinctrl {
65 /* Set this up using hogs */ 65 /*
66 * Set this up using hogs, as time goes by and as seems fit, these
67 * can be moved over to being controlled by respective device.
68 */
66 pinctrl-names = "default"; 69 pinctrl-names = "default";
67 pinctrl-0 = <&ipgpio_hrefv60_mode>; 70 pinctrl-0 = <&ipgpio_hrefv60_mode>,
71 <&accel_hrefv60_mode>,
72 <&magneto_hrefv60_mode>,
73 <&etm_hrefv60_mode>,
74 <&nahj_hrefv60_mode>,
75 <&nfc_hrefv60_mode>,
76 <&force_hrefv60_mode>,
77 <&dipro_hrefv60_mode>,
78 <&vaudio_hf_hrefv60_mode>,
79 <&gbf_hrefv60_mode>,
80 <&hdtv_hrefv60_mode>,
81 <&touch_hrefv60_mode>;
68 82
69 sdi0 { 83 sdi0 {
70 /* SD card detect GPIO pin, extend default state */ 84 /* SD card detect GPIO pin, extend default state */
@@ -100,8 +114,145 @@
100 ste,pins = "GPIO64_F3"; 114 ste,pins = "GPIO64_F3";
101 ste,config = <&out_lo>; 115 ste,config = <&out_lo>;
102 }; 116 };
117 };
118 };
119 accelerometer {
120 accel_hrefv60_mode: accel_hrefv60 {
121 /* Accelerometer interrupt lines 1 & 2 */
122 hrefv60_cfg1 {
123 ste,pins = "GPIO82_C1", "GPIO83_D3";
124 ste,config = <&gpio_in_pu>;
125 };
126 };
127 };
128 magnetometer {
129 magneto_hrefv60_mode: magneto_hrefv60 {
130 /* Magnetometer uses GPIO 31 and 32, pull these up/down respectively */
131 hrefv60_cfg1 {
132 ste,pins = "GPIO31_V3";
133 ste,config = <&gpio_in_pu>;
134 };
135 hrefv60_cfg2 {
136 ste,pins = "GPIO32_V2";
137 ste,config = <&gpio_in_pd>;
138 };
139 };
140 };
141 etm {
142 /*
143 * Drive D19-D23 for the ETM PTM trace interface low,
144 * (presumably pins are unconnected therefore grounded here,
145 * the "other alt C1" setting enables these pins)
146 */
147 etm_hrefv60_mode: etm_hrefv60 {
148 hrefv60_cfg1 {
149 ste,pins =
150 "GPIO70_G5",
151 "GPIO71_G4",
152 "GPIO72_H4",
153 "GPIO73_H3",
154 "GPIO74_J3";
155 ste,config = <&gpio_out_lo>;
156 };
103 }; 157 };
104 }; 158 };
159 nahj {
160 nahj_hrefv60_mode: nahj_hrefv60 {
161 /* NAHJ CTRL on GPIO76 to low, CTRL_INV on GPIO216 to high */
162 hrefv60_cfg1 {
163 ste,pins = "GPIO76_J2";
164 ste,config = <&gpio_out_lo>;
165 };
166 hrefv60_cfg2 {
167 ste,pins = "GPIO216_AG12";
168 ste,config = <&gpio_out_hi>;
169 };
170 };
171 };
172 nfc {
173 nfc_hrefv60_mode: nfc_hrefv60 {
174 /* NFC ENA and RESET to low, pulldown IRQ line */
175 hrefv60_cfg1 {
176 ste,pins =
177 "GPIO77_H1", /* NFC_ENA */
178 "GPIO142_C11"; /* NFC_RESET */
179 ste,config = <&gpio_out_lo>;
180 };
181 hrefv60_cfg2 {
182 ste,pins = "GPIO144_B13"; /* NFC_IRQ */
183 ste,config = <&gpio_in_pd>;
184 };
185 };
186 };
187 force {
188 force_hrefv60_mode: force_hrefv60 {
189 hrefv60_cfg1 {
190 ste,pins = "GPIO91_B6"; /* FORCE_SENSING_INT */
191 ste,config = <&gpio_in_pu>;
192 };
193 hrefv60_cfg2 {
194 ste,pins =
195 "GPIO92_D6", /* FORCE_SENSING_RST */
196 "GPIO97_D9"; /* FORCE_SENSING_WU */
197 ste,config = <&gpio_out_lo>;
198 };
199 };
200 };
201 dipro {
202 dipro_hrefv60_mode: dipro_hrefv60 {
203 hrefv60_cfg1 {
204 ste,pins = "GPIO139_C9"; /* DIPRO_INT */
205 ste,config = <&gpio_in_pu>;
206 };
207 };
208 };
209 vaudio_hf {
210 vaudio_hf_hrefv60_mode: vaudio_hf_hrefv60 {
211 /* Audio Amplifier HF enable GPIO */
212 hrefv60_cfg1 {
213 ste,pins = "GPIO149_B14"; /* VAUDIO_HF_EN, enable MAX8968 */
214 ste,config = <&gpio_out_hi>;
215 };
216 };
217 };
218 gbf {
219 gbf_hrefv60_mode: gbf_hrefv60 {
220 /*
221 * GBF (GPS, Bluetooth, FM-radio) interface,
222 * pull low to reset state
223 */
224 hrefv60_cfg1 {
225 ste,pins = "GPIO171_D23"; /* GBF_ENA_RESET */
226 ste,config = <&gpio_out_lo>;
227 };
228 };
229 };
230 hdtv {
231 hdtv_hrefv60_mode: hdtv_hrefv60 {
232 /* MSP : HDTV INTERFACE GPIO line */
233 hrefv60_cfg1 {
234 ste,pins = "GPIO192_AJ27";
235 ste,config = <&gpio_in_pd>;
236 };
237 };
238 };
239 touch {
240 touch_hrefv60_mode: touch_hrefv60 {
241 /*
242 * Touch screen uses GPIO 143 for RST1, GPIO 146 for RST2 and
243 * GPIO 67 for interrupts. Pull-up the IRQ line and drive both
244 * reset signals low.
245 */
246 hrefv60_cfg1 {
247 ste,pins = "GPIO143_D12", "GPIO146_D13";
248 ste,config = <&gpio_out_lo>;
249 };
250 hrefv60_cfg2 {
251 ste,pins = "GPIO67_G2";
252 ste,config = <&gpio_in_pu>;
253 };
254 };
255 };
105 mcde { 256 mcde {
106 lcd_hrefv60_mode: lcd_hrefv60 { 257 lcd_hrefv60_mode: lcd_hrefv60 {
107 /* 258 /*