diff options
author | Tero Kristo <t-kristo@ti.com> | 2020-06-16 11:03:05 +0300 |
---|---|---|
committer | Lokesh Vutla <lokeshvutla@ti.com> | 2020-06-16 17:00:12 +0530 |
commit | 00fde6b873207d4d1415bc46560633d6c925f3f3 (patch) | |
tree | 0be1e7dd60c96f8448e17b9b8015ab0de3b56c1a /arch/arm/dts/twl6030_omap4.dtsi | |
parent | 83a0e9ddaa2cdefc307f11ceaa09a58ae6916764 (diff) |
omap4: Copy device tree from Linux 5.7.y
Copy all device tree files required for omap4 panda support from
mainline Linux.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'arch/arm/dts/twl6030_omap4.dtsi')
-rw-r--r-- | arch/arm/dts/twl6030_omap4.dtsi | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/arch/arm/dts/twl6030_omap4.dtsi b/arch/arm/dts/twl6030_omap4.dtsi new file mode 100644 index 0000000000..fc498d0bde --- /dev/null +++ b/arch/arm/dts/twl6030_omap4.dtsi @@ -0,0 +1,35 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ + */ + +&twl { + /* + * On most OMAP4 platforms, the twl6030 IRQ line is connected + * to the SYS_NIRQ1 line on OMAP and the twl6030 MSECURE line is + * connected to the fref_clk0_out.sys_drm_msecure line. + * Therefore, configure the defaults for the SYS_NIRQ1 and + * fref_clk0_out.sys_drm_msecure pins here. + */ + pinctrl-names = "default"; + pinctrl-0 = < + &twl6030_pins + &twl6030_wkup_pins + >; +}; + +&omap4_pmx_wkup { + twl6030_wkup_pins: pinmux_twl6030_wkup_pins { + pinctrl-single,pins = < + OMAP4_IOPAD(0x054, PIN_OUTPUT | MUX_MODE2) /* fref_clk0_out.sys_drm_msecure */ + >; + }; +}; + +&omap4_pmx_core { + twl6030_pins: pinmux_twl6030_pins { + pinctrl-single,pins = < + OMAP4_IOPAD(0x19e, WAKEUP_EN | PIN_INPUT_PULLUP | MUX_MODE0) /* sys_nirq1.sys_nirq1 */ + >; + }; +}; |