Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
Ruslan Bilovol | 06a9ea5 | 2013-08-14 11:35:47 +0300 | [diff] [blame] | 2 | /* |
Alexander A. Klimov | 75f6681 | 2020-07-08 11:34:51 +0200 | [diff] [blame] | 3 | * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ |
Ruslan Bilovol | 06a9ea5 | 2013-08-14 11:35:47 +0300 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | &twl { |
| 7 | /* |
| 8 | * On most OMAP4 platforms, the twl6030 IRQ line is connected |
| 9 | * to the SYS_NIRQ1 line on OMAP and the twl6030 MSECURE line is |
| 10 | * connected to the fref_clk0_out.sys_drm_msecure line. |
| 11 | * Therefore, configure the defaults for the SYS_NIRQ1 and |
| 12 | * fref_clk0_out.sys_drm_msecure pins here. |
| 13 | */ |
| 14 | pinctrl-names = "default"; |
| 15 | pinctrl-0 = < |
| 16 | &twl6030_pins |
| 17 | &twl6030_wkup_pins |
| 18 | >; |
| 19 | }; |
| 20 | |
| 21 | &omap4_pmx_wkup { |
| 22 | twl6030_wkup_pins: pinmux_twl6030_wkup_pins { |
| 23 | pinctrl-single,pins = < |
Javier Martinez Canillas | 56ed566 | 2015-11-13 01:54:14 -0300 | [diff] [blame] | 24 | OMAP4_IOPAD(0x054, PIN_OUTPUT | MUX_MODE2) /* fref_clk0_out.sys_drm_msecure */ |
Ruslan Bilovol | 06a9ea5 | 2013-08-14 11:35:47 +0300 | [diff] [blame] | 25 | >; |
| 26 | }; |
| 27 | }; |
| 28 | |
| 29 | &omap4_pmx_core { |
| 30 | twl6030_pins: pinmux_twl6030_pins { |
| 31 | pinctrl-single,pins = < |
Javier Martinez Canillas | 56ed566 | 2015-11-13 01:54:14 -0300 | [diff] [blame] | 32 | OMAP4_IOPAD(0x19e, WAKEUP_EN | PIN_INPUT_PULLUP | MUX_MODE0) /* sys_nirq1.sys_nirq1 */ |
Ruslan Bilovol | 06a9ea5 | 2013-08-14 11:35:47 +0300 | [diff] [blame] | 33 | >; |
| 34 | }; |
| 35 | }; |