twl4030_omap3.dtsi 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright (C) 2013 Linaro, Ltd.
  4. */
  5. &twl {
  6. pinctrl-names = "default";
  7. pinctrl-0 = <&twl4030_pins &twl4030_vpins>;
  8. };
  9. &omap3_pmx_core {
  10. /*
  11. * On most OMAP3 platforms, the twl4030 IRQ line is connected
  12. * to the SYS_NIRQ line on OMAP. Therefore, configure the
  13. * defaults for the SYS_NIRQ pin here.
  14. */
  15. twl4030_pins: pinmux_twl4030_pins {
  16. pinctrl-single,pins = <
  17. OMAP3_CORE1_IOPAD(0x21e0, PIN_INPUT_PULLUP | PIN_OFF_WAKEUPENABLE | MUX_MODE0) /* sys_nirq.sys_nirq */
  18. >;
  19. };
  20. };
  21. /*
  22. * If your board is not using the I2C4 pins with twl4030, then don't include
  23. * this file. For proper idle mode signaling with sys_clkreq and sys_off_mode
  24. * pins we need to configure I2C4, or else use the legacy sys_nvmode1 and
  25. * sys_nvmode2 signaling.
  26. */
  27. &omap3_pmx_wkup {
  28. twl4030_vpins: pinmux_twl4030_vpins {
  29. pinctrl-single,pins = <
  30. OMAP3_WKUP_IOPAD(0x2a00, PIN_INPUT | MUX_MODE0) /* i2c4_scl.i2c4_scl */
  31. OMAP3_WKUP_IOPAD(0x2a02, PIN_INPUT | MUX_MODE0) /* i2c4_sda.i2c4_sda */
  32. OMAP3_WKUP_IOPAD(0x2a06, PIN_OUTPUT | MUX_MODE0) /* sys_clkreq.sys_clkreq */
  33. OMAP3_WKUP_IOPAD(0x2a18, PIN_OUTPUT | MUX_MODE0) /* sys_off_mode.sys_off_mode */
  34. >;
  35. };
  36. };