0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003 * Copyright (C) 2013 Linaro, Ltd.
0004 */
0005
0006 &twl {
0007 pinctrl-names = "default";
0008 pinctrl-0 = <&twl4030_pins &twl4030_vpins>;
0009 };
0010
0011 &omap3_pmx_core {
0012 /*
0013 * On most OMAP3 platforms, the twl4030 IRQ line is connected
0014 * to the SYS_NIRQ line on OMAP. Therefore, configure the
0015 * defaults for the SYS_NIRQ pin here.
0016 */
0017 twl4030_pins: pinmux_twl4030_pins {
0018 pinctrl-single,pins = <
0019 OMAP3_CORE1_IOPAD(0x21e0, PIN_INPUT_PULLUP | PIN_OFF_WAKEUPENABLE | MUX_MODE0) /* sys_nirq.sys_nirq */
0020 >;
0021 };
0022 };
0023
0024 /*
0025 * If your board is not using the I2C4 pins with twl4030, then don't include
0026 * this file. For proper idle mode signaling with sys_clkreq and sys_off_mode
0027 * pins we need to configure I2C4, or else use the legacy sys_nvmode1 and
0028 * sys_nvmode2 signaling.
0029 */
0030 &omap3_pmx_wkup {
0031 twl4030_vpins: pinmux_twl4030_vpins {
0032 pinctrl-single,pins = <
0033 OMAP3_WKUP_IOPAD(0x2a00, PIN_INPUT | MUX_MODE0) /* i2c4_scl.i2c4_scl */
0034 OMAP3_WKUP_IOPAD(0x2a02, PIN_INPUT | MUX_MODE0) /* i2c4_sda.i2c4_sda */
0035 OMAP3_WKUP_IOPAD(0x2a06, PIN_OUTPUT | MUX_MODE0) /* sys_clkreq.sys_clkreq */
0036 OMAP3_WKUP_IOPAD(0x2a18, PIN_OUTPUT | MUX_MODE0) /* sys_off_mode.sys_off_mode */
0037 >;
0038 };
0039 };