xref: /freebsd-src/sys/contrib/device-tree/src/arm/ti/omap/twl6030_omap4.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
4*f126890aSEmmanuel Vadot */
5*f126890aSEmmanuel Vadot
6*f126890aSEmmanuel Vadot&twl {
7*f126890aSEmmanuel Vadot	/*
8*f126890aSEmmanuel Vadot	 * On most OMAP4 platforms, the twl6030 IRQ line is connected
9*f126890aSEmmanuel Vadot	 * to the SYS_NIRQ1 line on OMAP and the twl6030 MSECURE line is
10*f126890aSEmmanuel Vadot	 * connected to the fref_clk0_out.sys_drm_msecure line.
11*f126890aSEmmanuel Vadot	 * Therefore, configure the defaults for the SYS_NIRQ1 and
12*f126890aSEmmanuel Vadot	 * fref_clk0_out.sys_drm_msecure pins here.
13*f126890aSEmmanuel Vadot	 */
14*f126890aSEmmanuel Vadot	pinctrl-names = "default";
15*f126890aSEmmanuel Vadot	pinctrl-0 = <
16*f126890aSEmmanuel Vadot		&twl6030_pins
17*f126890aSEmmanuel Vadot		&twl6030_wkup_pins
18*f126890aSEmmanuel Vadot	>;
19*f126890aSEmmanuel Vadot};
20*f126890aSEmmanuel Vadot
21*f126890aSEmmanuel Vadot&omap4_pmx_wkup {
22*f126890aSEmmanuel Vadot	twl6030_wkup_pins: twl6030-wkup-pins {
23*f126890aSEmmanuel Vadot		pinctrl-single,pins = <
24*f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x054, PIN_OUTPUT | MUX_MODE2)		/* fref_clk0_out.sys_drm_msecure */
25*f126890aSEmmanuel Vadot		>;
26*f126890aSEmmanuel Vadot	};
27*f126890aSEmmanuel Vadot};
28*f126890aSEmmanuel Vadot
29*f126890aSEmmanuel Vadot&omap4_pmx_core {
30*f126890aSEmmanuel Vadot	twl6030_pins: twl6030-pins {
31*f126890aSEmmanuel Vadot		pinctrl-single,pins = <
32*f126890aSEmmanuel Vadot			OMAP4_IOPAD(0x19e, WAKEUP_EN | PIN_INPUT_PULLUP | MUX_MODE0)	/* sys_nirq1.sys_nirq1 */
33*f126890aSEmmanuel Vadot		>;
34*f126890aSEmmanuel Vadot	};
35*f126890aSEmmanuel Vadot};
36