omap5-igep0050.dts 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright (C) 2013 ISEE 2007 SL - http://www.isee.biz/
  4. */
  5. /dts-v1/;
  6. #include <dt-bindings/input/input.h>
  7. #include "omap5-board-common.dtsi"
  8. / {
  9. model = "IGEPv5";
  10. compatible = "isee,omap5-igep0050", "ti,omap5";
  11. memory@80000000 {
  12. device_type = "memory";
  13. reg = <0x0 0x80000000 0 0x7f000000>; /* 2032 MB */
  14. };
  15. aliases {
  16. ethernet = &ethernet;
  17. };
  18. gpio_keys {
  19. compatible = "gpio-keys";
  20. pinctrl-0 = <&power_button_pin>;
  21. pinctrl-names = "default";
  22. power-button {
  23. label = "Power Button";
  24. linux,code = <KEY_POWER>;
  25. gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
  26. };
  27. };
  28. leds {
  29. compatible = "gpio-leds";
  30. led@1 {
  31. label = "board:green:usr0";
  32. gpios = <&tca6416 1 0>;
  33. default-state = "off";
  34. };
  35. led@2 {
  36. label = "board:red:usr1";
  37. gpios = <&tca6416 2 0>;
  38. default-state = "off";
  39. };
  40. led@3 {
  41. label = "board:blue:usr1";
  42. gpios = <&tca6416 3 0>;
  43. default-state = "off";
  44. };
  45. };
  46. };
  47. &hdmi {
  48. vdda-supply = <&ldo7_reg>;
  49. };
  50. &i2c4 {
  51. pinctrl-names = "default";
  52. pinctrl-0 = <&i2c4_pins>;
  53. tca6416: tca6416@21 {
  54. compatible = "ti,tca6416";
  55. reg = <0x21>;
  56. gpio-controller;
  57. #gpio-cells = <2>;
  58. };
  59. };
  60. /* LDO4 is VPP1 - ball AD9 */
  61. &ldo4_reg {
  62. regulator-min-microvolt = <2000000>;
  63. regulator-max-microvolt = <2000000>;
  64. };
  65. /*
  66. * LDO7 is used for HDMI: VDDA_DSIPORTA - ball AA33, VDDA_DSIPORTC - ball AE33,
  67. * VDDA_HDMI - ball AN25
  68. */
  69. &ldo7_reg {
  70. status = "okay";
  71. regulator-min-microvolt = <1800000>;
  72. regulator-max-microvolt = <1800000>;
  73. };
  74. &omap5_pmx_core {
  75. i2c4_pins: pinmux_i2c4_pins {
  76. pinctrl-single,pins = <
  77. OMAP5_IOPAD(0x0f8, PIN_INPUT | MUX_MODE0) /* i2c4_scl */
  78. OMAP5_IOPAD(0x0fa, PIN_INPUT | MUX_MODE0) /* i2c4_sda */
  79. >;
  80. };
  81. power_button_pin: pinctrl_power_button_pin {
  82. pinctrl-single,pins = <
  83. OMAP5_IOPAD(0x086, PIN_INPUT | MUX_MODE6) /* gpio4_118 */
  84. >;
  85. };
  86. };
  87. &tpd12s015 {
  88. gpios = <&tca6416 11 0>, /* TCA6416 P01, CT_CP_HDP */
  89. <&tca6416 12 0>, /* TCA6416 P00, LS_OE*/
  90. <&gpio7 1 0>, /* 193, HPD */
  91. <&gpio7 2 0>, /* 194, SCL */
  92. <&gpio7 3 0>; /* 195, SDA */
  93. };
  94. &twl6040 {
  95. ti,audpwron-gpio = <&gpio5 16 GPIO_ACTIVE_HIGH>; /* gpio line 144 */
  96. };
  97. &twl6040_pins {
  98. pinctrl-single,pins = <
  99. OMAP5_IOPAD(0x1c4, PIN_OUTPUT | MUX_MODE6) /* mcspi1_somi.gpio5_144 */
  100. OMAP5_IOPAD(0x1ca, PIN_OUTPUT | MUX_MODE6) /* perslimbus2_clock.gpio5_145 */
  101. >;
  102. };
  103. &usbhsehci {
  104. #address-cells = <1>;
  105. #size-cells = <0>;
  106. hub@2 {
  107. compatible = "usb424,3503";
  108. reg = <2>;
  109. #address-cells = <1>;
  110. #size-cells = <0>;
  111. ethernet: ethernet@3 {
  112. compatible = "usb424,7500";
  113. reg = <3>;
  114. };
  115. };
  116. };