omap3-sb-t35.dtsi 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Common support for CompuLab SB-T35 used on SBC-T3530, SBC-T3517 and SBC-T3730
  4. */
  5. / {
  6. tfp410: encoder {
  7. compatible = "ti,tfp410";
  8. powerdown-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>; /* gpio_54 */
  9. pinctrl-names = "default";
  10. pinctrl-0 = <&tfp410_pins>;
  11. ports {
  12. #address-cells = <1>;
  13. #size-cells = <0>;
  14. port@0 {
  15. reg = <0>;
  16. tfp410_in: endpoint {
  17. remote-endpoint = <&dpi_out>;
  18. };
  19. };
  20. port@1 {
  21. reg = <1>;
  22. tfp410_out: endpoint {
  23. remote-endpoint = <&dvi_connector_in>;
  24. };
  25. };
  26. };
  27. };
  28. dvi0: dvi-connector {
  29. compatible = "dvi-connector";
  30. label = "dvi";
  31. port {
  32. dvi_connector_in: endpoint {
  33. remote-endpoint = <&tfp410_out>;
  34. };
  35. };
  36. };
  37. audio_amp: audio_amp {
  38. compatible = "regulator-fixed";
  39. regulator-name = "audio_amp";
  40. pinctrl-names = "default";
  41. pinctrl-0 = <&sb_t35_audio_amp>;
  42. gpio = <&gpio2 29 GPIO_ACTIVE_LOW>; /* gpio_61 */
  43. regulator-always-on;
  44. };
  45. };
  46. &omap3_pmx_core {
  47. smsc2_pins: pinmux_smsc2_pins {
  48. pinctrl-single,pins = <
  49. OMAP3_CORE1_IOPAD(0x20b6, PIN_OUTPUT | MUX_MODE0) /* gpmc_ncs4.gpmc_ncs4 */
  50. OMAP3_CORE1_IOPAD(0x20d2, PIN_INPUT_PULLUP | MUX_MODE4) /* gpmc_wait3.gpio_65 */
  51. >;
  52. };
  53. tfp410_pins: pinmux_tfp410_pins {
  54. pinctrl-single,pins = <
  55. OMAP3_CORE1_IOPAD(0x20b4, PIN_OUTPUT | MUX_MODE4) /* gpmc_ncs3.gpio_54 */
  56. >;
  57. };
  58. i2c3_pins: pinmux_i2c3_pins {
  59. pinctrl-single,pins = <
  60. OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_scl */
  61. OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda */
  62. >;
  63. };
  64. sb_t35_audio_amp: pinmux_sb_t35_audio_amp {
  65. pinctrl-single,pins = <
  66. OMAP3_CORE1_IOPAD(0x20c8, PIN_OUTPUT | MUX_MODE4) /* gpmc_nbe1.gpio_61 */
  67. >;
  68. };
  69. };
  70. &i2c3 {
  71. pinctrl-names = "default";
  72. pinctrl-0 = <&i2c3_pins>;
  73. clock-frequency = <400000>;
  74. at24@50 {
  75. compatible = "atmel,24c02";
  76. pagesize = <16>;
  77. reg = <0x50>;
  78. };
  79. };
  80. &gpmc {
  81. ranges = <4 0 0x2d000000 0x01000000>;
  82. smsc2: ethernet@4,0 {
  83. compatible = "smsc,lan9221", "smsc,lan9115";
  84. pinctrl-names = "default";
  85. pinctrl-0 = <&smsc2_pins>;
  86. interrupt-parent = <&gpio3>;
  87. interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
  88. reg = <4 0 0xff>;
  89. bank-width = <2>;
  90. gpmc,device-width = <1>;
  91. gpmc,cycle2cycle-samecsen;
  92. gpmc,cycle2cycle-diffcsen;
  93. gpmc,cs-on-ns = <5>;
  94. gpmc,cs-rd-off-ns = <150>;
  95. gpmc,cs-wr-off-ns = <150>;
  96. gpmc,adv-on-ns = <0>;
  97. gpmc,adv-rd-off-ns = <15>;
  98. gpmc,adv-wr-off-ns = <40>;
  99. gpmc,oe-on-ns = <45>;
  100. gpmc,oe-off-ns = <140>;
  101. gpmc,we-on-ns = <45>;
  102. gpmc,we-off-ns = <140>;
  103. gpmc,rd-cycle-ns = <155>;
  104. gpmc,wr-cycle-ns = <155>;
  105. gpmc,access-ns = <120>;
  106. gpmc,page-burst-access-ns = <20>;
  107. gpmc,bus-turnaround-ns = <75>;
  108. gpmc,cycle2cycle-delay-ns = <75>;
  109. gpmc,wait-monitoring-ns = <0>;
  110. gpmc,clk-activation-ns = <0>;
  111. gpmc,wr-data-mux-bus-ns = <0>;
  112. gpmc,wr-access-ns = <0>;
  113. vddvario-supply = <&vddvario>;
  114. vdd33a-supply = <&vdd33a>;
  115. reg-io-width = <4>;
  116. smsc,save-mac-address;
  117. };
  118. };