diff options
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/omap4-panda-common.dtsi | 21 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap4-sdp.dts | 21 | ||||
-rw-r--r-- | arch/arm/boot/dts/twl6030_omap4.dtsi | 38 |
3 files changed, 40 insertions, 40 deletions
diff --git a/arch/arm/boot/dts/omap4-panda-common.dtsi b/arch/arm/boot/dts/omap4-panda-common.dtsi index 814ab67c8c29..43b7661cfe24 100644 --- a/arch/arm/boot/dts/omap4-panda-common.dtsi +++ b/arch/arm/boot/dts/omap4-panda-common.dtsi | |||
@@ -122,23 +122,9 @@ | |||
122 | }; | 122 | }; |
123 | }; | 123 | }; |
124 | 124 | ||
125 | &omap4_pmx_wkup { | ||
126 | pinctrl-names = "default"; | ||
127 | pinctrl-0 = < | ||
128 | &twl6030_wkup_pins | ||
129 | >; | ||
130 | |||
131 | twl6030_wkup_pins: pinmux_twl6030_wkup_pins { | ||
132 | pinctrl-single,pins = < | ||
133 | 0x14 (PIN_OUTPUT | MUX_MODE2) /* fref_clk0_out.sys_drm_msecure */ | ||
134 | >; | ||
135 | }; | ||
136 | }; | ||
137 | |||
138 | &omap4_pmx_core { | 125 | &omap4_pmx_core { |
139 | pinctrl-names = "default"; | 126 | pinctrl-names = "default"; |
140 | pinctrl-0 = < | 127 | pinctrl-0 = < |
141 | &twl6030_pins | ||
142 | &twl6040_pins | 128 | &twl6040_pins |
143 | &mcpdm_pins | 129 | &mcpdm_pins |
144 | &mcbsp1_pins | 130 | &mcbsp1_pins |
@@ -147,12 +133,6 @@ | |||
147 | &hsusbb1_pins | 133 | &hsusbb1_pins |
148 | >; | 134 | >; |
149 | 135 | ||
150 | twl6030_pins: pinmux_twl6030_pins { | ||
151 | pinctrl-single,pins = < | ||
152 | 0x15e (WAKEUP_EN | PIN_INPUT_PULLUP | MUX_MODE0) /* sys_nirq1.sys_nirq1 */ | ||
153 | >; | ||
154 | }; | ||
155 | |||
156 | twl6040_pins: pinmux_twl6040_pins { | 136 | twl6040_pins: pinmux_twl6040_pins { |
157 | pinctrl-single,pins = < | 137 | pinctrl-single,pins = < |
158 | 0xe0 (PIN_OUTPUT | MUX_MODE3) /* hdq_sio.gpio_127 */ | 138 | 0xe0 (PIN_OUTPUT | MUX_MODE3) /* hdq_sio.gpio_127 */ |
@@ -305,6 +285,7 @@ | |||
305 | }; | 285 | }; |
306 | 286 | ||
307 | #include "twl6030.dtsi" | 287 | #include "twl6030.dtsi" |
288 | #include "twl6030_omap4.dtsi" | ||
308 | 289 | ||
309 | &i2c2 { | 290 | &i2c2 { |
310 | pinctrl-names = "default"; | 291 | pinctrl-names = "default"; |
diff --git a/arch/arm/boot/dts/omap4-sdp.dts b/arch/arm/boot/dts/omap4-sdp.dts index 4f78380ecdb8..5fc3f43c5a81 100644 --- a/arch/arm/boot/dts/omap4-sdp.dts +++ b/arch/arm/boot/dts/omap4-sdp.dts | |||
@@ -155,23 +155,9 @@ | |||
155 | }; | 155 | }; |
156 | }; | 156 | }; |
157 | 157 | ||
158 | &omap4_pmx_wkup { | ||
159 | pinctrl-names = "default"; | ||
160 | pinctrl-0 = < | ||
161 | &twl6030_wkup_pins | ||
162 | >; | ||
163 | |||
164 | twl6030_wkup_pins: pinmux_twl6030_wkup_pins { | ||
165 | pinctrl-single,pins = < | ||
166 | 0x14 (PIN_OUTPUT | MUX_MODE2) /* fref_clk0_out.sys_drm_msecure */ | ||
167 | >; | ||
168 | }; | ||
169 | }; | ||
170 | |||
171 | &omap4_pmx_core { | 158 | &omap4_pmx_core { |
172 | pinctrl-names = "default"; | 159 | pinctrl-names = "default"; |
173 | pinctrl-0 = < | 160 | pinctrl-0 = < |
174 | &twl6030_pins | ||
175 | &twl6040_pins | 161 | &twl6040_pins |
176 | &mcpdm_pins | 162 | &mcpdm_pins |
177 | &dmic_pins | 163 | &dmic_pins |
@@ -206,12 +192,6 @@ | |||
206 | >; | 192 | >; |
207 | }; | 193 | }; |
208 | 194 | ||
209 | twl6030_pins: pinmux_twl6030_pins { | ||
210 | pinctrl-single,pins = < | ||
211 | 0x15e (WAKEUP_EN | PIN_INPUT_PULLUP | MUX_MODE0) /* sys_nirq1.sys_nirq1 */ | ||
212 | >; | ||
213 | }; | ||
214 | |||
215 | twl6040_pins: pinmux_twl6040_pins { | 195 | twl6040_pins: pinmux_twl6040_pins { |
216 | pinctrl-single,pins = < | 196 | pinctrl-single,pins = < |
217 | 0xe0 (PIN_OUTPUT | MUX_MODE3) /* hdq_sio.gpio_127 */ | 197 | 0xe0 (PIN_OUTPUT | MUX_MODE3) /* hdq_sio.gpio_127 */ |
@@ -370,6 +350,7 @@ | |||
370 | }; | 350 | }; |
371 | 351 | ||
372 | #include "twl6030.dtsi" | 352 | #include "twl6030.dtsi" |
353 | #include "twl6030_omap4.dtsi" | ||
373 | 354 | ||
374 | &i2c2 { | 355 | &i2c2 { |
375 | pinctrl-names = "default"; | 356 | pinctrl-names = "default"; |
diff --git a/arch/arm/boot/dts/twl6030_omap4.dtsi b/arch/arm/boot/dts/twl6030_omap4.dtsi new file mode 100644 index 000000000000..a4fa5703c42b --- /dev/null +++ b/arch/arm/boot/dts/twl6030_omap4.dtsi | |||
@@ -0,0 +1,38 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | */ | ||
8 | |||
9 | &twl { | ||
10 | /* | ||
11 | * On most OMAP4 platforms, the twl6030 IRQ line is connected | ||
12 | * to the SYS_NIRQ1 line on OMAP and the twl6030 MSECURE line is | ||
13 | * connected to the fref_clk0_out.sys_drm_msecure line. | ||
14 | * Therefore, configure the defaults for the SYS_NIRQ1 and | ||
15 | * fref_clk0_out.sys_drm_msecure pins here. | ||
16 | */ | ||
17 | pinctrl-names = "default"; | ||
18 | pinctrl-0 = < | ||
19 | &twl6030_pins | ||
20 | &twl6030_wkup_pins | ||
21 | >; | ||
22 | }; | ||
23 | |||
24 | &omap4_pmx_wkup { | ||
25 | twl6030_wkup_pins: pinmux_twl6030_wkup_pins { | ||
26 | pinctrl-single,pins = < | ||
27 | 0x14 (PIN_OUTPUT | MUX_MODE2) /* fref_clk0_out.sys_drm_msecure */ | ||
28 | >; | ||
29 | }; | ||
30 | }; | ||
31 | |||
32 | &omap4_pmx_core { | ||
33 | twl6030_pins: pinmux_twl6030_pins { | ||
34 | pinctrl-single,pins = < | ||
35 | 0x15e (WAKEUP_EN | PIN_INPUT_PULLUP | MUX_MODE0) /* sys_nirq1.sys_nirq1 */ | ||
36 | >; | ||
37 | }; | ||
38 | }; | ||