omap3-lilly-dbb056.dts 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. /*
  2. * Copyright (C) 2014 Christoph Fritz <chf.fritzc@googlemail.com>
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation; either version 2 of the License, or
  7. * (at your option) any later version.
  8. */
  9. /dts-v1/;
  10. #include "omap3-lilly-a83x.dtsi"
  11. / {
  12. model = "INCOstartec LILLY-DBB056 (DM3730)";
  13. compatible = "incostartec,omap3-lilly-dbb056", "incostartec,omap3-lilly-a83x", "ti,omap36xx", "ti,omap3";
  14. };
  15. &twl {
  16. vaux2: regulator-vaux2 {
  17. compatible = "ti,twl4030-vaux2";
  18. regulator-min-microvolt = <2800000>;
  19. regulator-max-microvolt = <2800000>;
  20. regulator-always-on;
  21. };
  22. };
  23. &omap3_pmx_core {
  24. pinctrl-names = "default";
  25. pinctrl-0 = <&lcd_pins>;
  26. lan9117_pins: pinmux_lan9117_pins {
  27. pinctrl-single,pins = <
  28. OMAP3_CORE1_IOPAD(0x2114, PIN_INPUT | MUX_MODE4) /* cam_fld.gpio_98 */
  29. >;
  30. };
  31. gpio4_pins: pinmux_gpio4_pins {
  32. pinctrl-single,pins = <
  33. OMAP3_CORE1_IOPAD(0x212e, PIN_INPUT | MUX_MODE4) /* cam_xclkb.gpio_111 -> sja1000 IRQ */
  34. >;
  35. };
  36. gpio5_pins: pinmux_gpio5_pins {
  37. pinctrl-single,pins = <
  38. OMAP3_CORE1_IOPAD(0x218c, PIN_OUTPUT | PIN_OFF_OUTPUT_HIGH | MUX_MODE4) /* mcbsp1_clk.gpio_156 -> enable DSS */
  39. >;
  40. };
  41. lcd_pins: pinmux_lcd_pins {
  42. pinctrl-single,pins = <
  43. OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */
  44. OMAP3_CORE1_IOPAD(0x20d6, PIN_OUTPUT | MUX_MODE0) /* dss_hsync.dss_hsync */
  45. OMAP3_CORE1_IOPAD(0x20d8, PIN_OUTPUT | MUX_MODE0) /* dss_vsync.dss_vsync */
  46. OMAP3_CORE1_IOPAD(0x20da, PIN_OUTPUT | MUX_MODE0) /* dss_acbias.dss_acbias */
  47. OMAP3_CORE1_IOPAD(0x20dc, PIN_OUTPUT | MUX_MODE0) /* dss_data0.dss_data0 */
  48. OMAP3_CORE1_IOPAD(0x20de, PIN_OUTPUT | MUX_MODE0) /* dss_data1.dss_data1 */
  49. OMAP3_CORE1_IOPAD(0x20e0, PIN_OUTPUT | MUX_MODE0) /* dss_data2.dss_data2 */
  50. OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE0) /* dss_data3.dss_data3 */
  51. OMAP3_CORE1_IOPAD(0x20e4, PIN_OUTPUT | MUX_MODE0) /* dss_data4.dss_data4 */
  52. OMAP3_CORE1_IOPAD(0x20e6, PIN_OUTPUT | MUX_MODE0) /* dss_data5.dss_data5 */
  53. OMAP3_CORE1_IOPAD(0x20e8, PIN_OUTPUT | MUX_MODE0) /* dss_data6.dss_data6 */
  54. OMAP3_CORE1_IOPAD(0x20ea, PIN_OUTPUT | MUX_MODE0) /* dss_data7.dss_data7 */
  55. OMAP3_CORE1_IOPAD(0x20ec, PIN_OUTPUT | MUX_MODE0) /* dss_data8.dss_data8 */
  56. OMAP3_CORE1_IOPAD(0x20ee, PIN_OUTPUT | MUX_MODE0) /* dss_data9.dss_data9 */
  57. OMAP3_CORE1_IOPAD(0x20f0, PIN_OUTPUT | MUX_MODE0) /* dss_data10.dss_data10 */
  58. OMAP3_CORE1_IOPAD(0x20f2, PIN_OUTPUT | MUX_MODE0) /* dss_data11.dss_data11 */
  59. OMAP3_CORE1_IOPAD(0x20f4, PIN_OUTPUT | MUX_MODE0) /* dss_data12.dss_data12 */
  60. OMAP3_CORE1_IOPAD(0x20f6, PIN_OUTPUT | MUX_MODE0) /* dss_data13.dss_data13 */
  61. OMAP3_CORE1_IOPAD(0x20f8, PIN_OUTPUT | MUX_MODE0) /* dss_data14.dss_data14 */
  62. OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT | MUX_MODE0) /* dss_data15.dss_data15 */
  63. OMAP3_CORE1_IOPAD(0x20fc, PIN_OUTPUT | MUX_MODE0) /* dss_data16.dss_data16 */
  64. OMAP3_CORE1_IOPAD(0x20fe, PIN_OUTPUT | MUX_MODE0) /* dss_data17.dss_data17 */
  65. >;
  66. };
  67. mmc2_pins: pinmux_mmc2_pins {
  68. pinctrl-single,pins = <
  69. OMAP3_CORE1_IOPAD(0x2158, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_clk.sdmmc2_clk */
  70. OMAP3_CORE1_IOPAD(0x215a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_cmd.sdmmc2_cmd */
  71. OMAP3_CORE1_IOPAD(0x215c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat0.sdmmc2_dat0 */
  72. OMAP3_CORE1_IOPAD(0x215e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat1.sdmmc2_dat1 */
  73. OMAP3_CORE1_IOPAD(0x2160, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat2.sdmmc2_dat2 */
  74. OMAP3_CORE1_IOPAD(0x2162, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat3.sdmmc2_dat3 */
  75. OMAP3_CORE1_IOPAD(0x2164, PIN_OUTPUT | MUX_MODE1) /* sdmmc2_dat4.sdmmc2_dir_dat0 */
  76. OMAP3_CORE1_IOPAD(0x2166, PIN_OUTPUT | MUX_MODE1) /* sdmmc2_dat5.sdmmc2_dir_dat1 */
  77. OMAP3_CORE1_IOPAD(0x2168, PIN_OUTPUT | MUX_MODE1) /* sdmmc2_dat6.sdmmc2_dir_cmd */
  78. OMAP3_CORE1_IOPAD(0x216a, PIN_INPUT | MUX_MODE1) /* sdmmc2_dat7.sdmmc2_clkin */
  79. OMAP3_CORE1_IOPAD(0x219a, PIN_INPUT_PULLUP | MUX_MODE4) /* uart3_cts_rctx.gpio_163 -> wp */
  80. OMAP3_CORE1_IOPAD(0x219c, PIN_INPUT_PULLUP | MUX_MODE4) /* uart3_rts_sd.gpio_164 -> cd */
  81. >;
  82. };
  83. spi1_pins: pinmux_spi1_pins {
  84. pinctrl-single,pins = <
  85. OMAP3_CORE1_IOPAD(0x21c8, PIN_INPUT | MUX_MODE0) /* mcspi1_clk.mcspi1_clk */
  86. OMAP3_CORE1_IOPAD(0x21ca, PIN_INPUT | MUX_MODE0) /* mcspi1_simo.mcspi1_simo */
  87. OMAP3_CORE1_IOPAD(0x21cc, PIN_INPUT | MUX_MODE0) /* mcspi1_somi.mcspi1_somi */
  88. OMAP3_CORE1_IOPAD(0x21ce, PIN_INPUT_PULLDOWN | MUX_MODE0) /* mcspi1_cs0.mcspi1_cs0 */
  89. >;
  90. };
  91. };
  92. &gpio4 {
  93. pinctrl-names = "default";
  94. pinctrl-0 = <&gpio4_pins>;
  95. };
  96. &gpio5 {
  97. pinctrl-names = "default";
  98. pinctrl-0 = <&gpio5_pins>;
  99. };
  100. &mmc2 {
  101. status = "okay";
  102. bus-width = <4>;
  103. vmmc-supply = <&vmmc1>;
  104. cd-gpios = <&gpio6 4 0>; /* gpio_164 */
  105. wp-gpios = <&gpio6 3 0>; /* gpio_163 */
  106. pinctrl-names = "default";
  107. pinctrl-0 = <&mmc2_pins>;
  108. ti,dual-volt;
  109. };
  110. &mcspi1 {
  111. status = "okay";
  112. pinctrl-names = "default";
  113. pinctrl-0 = <&spi1_pins>;
  114. };
  115. &gpmc {
  116. ranges = <0 0 0x30000000 0x1000000>, /* nand assigned by COM a83x */
  117. <4 0 0x20000000 0x01000000>,
  118. <7 0 0x15000000 0x01000000>; /* eth assigend by COM a83x */
  119. ethernet@4,0 {
  120. compatible = "smsc,lan9117", "smsc,lan9115";
  121. bank-width = <2>;
  122. gpmc,mux-add-data = <2>;
  123. gpmc,cs-on-ns = <10>;
  124. gpmc,cs-rd-off-ns = <65>;
  125. gpmc,cs-wr-off-ns = <65>;
  126. gpmc,adv-on-ns = <0>;
  127. gpmc,adv-rd-off-ns = <10>;
  128. gpmc,adv-wr-off-ns = <10>;
  129. gpmc,oe-on-ns = <10>;
  130. gpmc,oe-off-ns = <65>;
  131. gpmc,we-on-ns = <10>;
  132. gpmc,we-off-ns = <65>;
  133. gpmc,rd-cycle-ns = <100>;
  134. gpmc,wr-cycle-ns = <100>;
  135. gpmc,access-ns = <60>;
  136. gpmc,page-burst-access-ns = <5>;
  137. gpmc,bus-turnaround-ns = <0>;
  138. gpmc,cycle2cycle-delay-ns = <75>;
  139. gpmc,wr-data-mux-bus-ns = <15>;
  140. gpmc,wr-access-ns = <75>;
  141. gpmc,cycle2cycle-samecsen;
  142. gpmc,cycle2cycle-diffcsen;
  143. vddvario-supply = <&reg_vcc3>;
  144. vdd33a-supply = <&reg_vcc3>;
  145. reg-io-width = <4>;
  146. interrupt-parent = <&gpio4>;
  147. interrupts = <2 0x2>;
  148. reg = <4 0 0xff>;
  149. pinctrl-names = "default";
  150. pinctrl-0 = <&lan9117_pins>;
  151. phy-mode = "mii";
  152. smsc,force-internal-phy;
  153. };
  154. };