omap3-ha-common.dtsi 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. /*
  2. * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
  3. * Copyright (C) 2014 Stefan Roese <sr@denx.de>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. */
  9. #include "omap3-tao3530.dtsi"
  10. / {
  11. gpio_poweroff {
  12. pinctrl-names = "default";
  13. pinctrl-0 = <&poweroff_pins>;
  14. compatible = "gpio-poweroff";
  15. gpios = <&gpio6 8 GPIO_ACTIVE_LOW>; /* GPIO 168 */
  16. };
  17. };
  18. &omap3_pmx_core {
  19. sound2_pins: pinmux_sound2_pins {
  20. pinctrl-single,pins = <
  21. OMAP3_CORE1_IOPAD(0x209e, PIN_OUTPUT | MUX_MODE4) /* gpmc_d8 gpio_44 */
  22. >;
  23. };
  24. led_blue_pins: pinmux_led_blue_pins {
  25. pinctrl-single,pins = <
  26. OMAP3_CORE1_IOPAD(0x2110, PIN_OUTPUT | MUX_MODE4) /* cam_xclka gpio_96, LED blue */
  27. >;
  28. };
  29. led_green_pins: pinmux_led_green_pins {
  30. pinctrl-single,pins = <
  31. OMAP3_CORE1_IOPAD(0x2126, PIN_OUTPUT | MUX_MODE4) /* cam_d8 gpio_107, LED green */
  32. >;
  33. };
  34. led_red_pins: pinmux_led_red_pins {
  35. pinctrl-single,pins = <
  36. OMAP3_CORE1_IOPAD(0x212e, PIN_OUTPUT_PULLUP | MUX_MODE4) /* cam_xclkb gpio_111, LED red */
  37. >;
  38. };
  39. poweroff_pins: pinmux_poweroff_pins {
  40. pinctrl-single,pins = <
  41. OMAP3_CORE1_IOPAD(0x21be, PIN_OUTPUT_PULLUP | MUX_MODE4) /* i2c2_scl gpio_168 */
  42. >;
  43. };
  44. powerdown_input_pins: pinmux_powerdown_input_pins {
  45. pinctrl-single,pins = <
  46. OMAP3_CORE1_IOPAD(0x21c0, PIN_INPUT_PULLUP | MUX_MODE4) /* i2c2_sda gpio_183 */
  47. >;
  48. };
  49. fpga_boot0_pins: fpga_boot0_pins {
  50. pinctrl-single,pins = <
  51. OMAP3_CORE1_IOPAD(0x211a, PIN_INPUT | MUX_MODE4) /* cam_d2 gpio_101 */
  52. OMAP3_CORE1_IOPAD(0x211c, PIN_OUTPUT | MUX_MODE4) /* cam_d3 gpio_102 */
  53. OMAP3_CORE1_IOPAD(0x211e, PIN_OUTPUT | MUX_MODE4) /* cam_d4 gpio_103 */
  54. OMAP3_CORE1_IOPAD(0x2120, PIN_INPUT_PULLUP | MUX_MODE4) /* cam_d5 gpio_104 */
  55. >;
  56. };
  57. fpga_boot1_pins: fpga_boot1_pins {
  58. pinctrl-single,pins = <
  59. OMAP3_CORE1_IOPAD(0x20a2, PIN_INPUT | MUX_MODE4) /* gpmc_d10 gpio_46 */
  60. OMAP3_CORE1_IOPAD(0x20a4, PIN_OUTPUT | MUX_MODE4) /* gpmc_d11 gpio_47 */
  61. OMAP3_CORE1_IOPAD(0x20a6, PIN_OUTPUT | MUX_MODE4) /* gpmc_d12 gpio_48 */
  62. OMAP3_CORE1_IOPAD(0x20a8, PIN_INPUT_PULLUP | MUX_MODE4) /* gpmc_d13 gpio_49 */
  63. >;
  64. };
  65. };
  66. /* I2C2: mux'ed with GPIO168 which is connected to nKILL_POWER */
  67. &i2c2 {
  68. status = "disabled";
  69. };
  70. &i2c3 {
  71. clock-frequency = <100000>;
  72. pinctrl-names = "default";
  73. pinctrl-0 = <&i2c3_pins>;
  74. };