blob: 5730e46b00677aff88dc7065d708e110e42c72d2 [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001// SPDX-License-Identifier: GPL-2.0-only
Ruslan Bilovol06a9ea52013-08-14 11:35:47 +03002/*
Alexander A. Klimov75f66812020-07-08 11:34:51 +02003 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
Ruslan Bilovol06a9ea52013-08-14 11:35:47 +03004 */
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 Canillas56ed5662015-11-13 01:54:14 -030024 OMAP4_IOPAD(0x054, PIN_OUTPUT | MUX_MODE2) /* fref_clk0_out.sys_drm_msecure */
Ruslan Bilovol06a9ea52013-08-14 11:35:47 +030025 >;
26 };
27};
28
29&omap4_pmx_core {
30 twl6030_pins: pinmux_twl6030_pins {
31 pinctrl-single,pins = <
Javier Martinez Canillas56ed5662015-11-13 01:54:14 -030032 OMAP4_IOPAD(0x19e, WAKEUP_EN | PIN_INPUT_PULLUP | MUX_MODE0) /* sys_nirq1.sys_nirq1 */
Ruslan Bilovol06a9ea52013-08-14 11:35:47 +030033 >;
34 };
35};