imx53-m53evk.dts 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. /*
  2. * Copyright (C) 2013 Marek Vasut <marex@denx.de>
  3. *
  4. * The code contained herein is licensed under the GNU General Public
  5. * License. You may obtain a copy of the GNU General Public License
  6. * Version 2 or later at the following locations:
  7. *
  8. * http://www.opensource.org/licenses/gpl-license.html
  9. * http://www.gnu.org/copyleft/gpl.html
  10. */
  11. /dts-v1/;
  12. #include "imx53.dtsi"
  13. / {
  14. model = "DENX M53EVK";
  15. compatible = "denx,imx53-m53evk", "fsl,imx53";
  16. memory {
  17. reg = <0x70000000 0x20000000>;
  18. };
  19. soc {
  20. display@di1 {
  21. compatible = "fsl,imx-parallel-display";
  22. crtcs = <&ipu 1>;
  23. interface-pix-fmt = "bgr666";
  24. pinctrl-names = "default";
  25. pinctrl-0 = <&pinctrl_ipu_disp2_1>;
  26. display-timings {
  27. 800x480p60 {
  28. native-mode;
  29. clock-frequency = <31500000>;
  30. hactive = <800>;
  31. vactive = <480>;
  32. hfront-porch = <40>;
  33. hback-porch = <88>;
  34. hsync-len = <128>;
  35. vback-porch = <33>;
  36. vfront-porch = <9>;
  37. vsync-len = <3>;
  38. vsync-active = <1>;
  39. };
  40. };
  41. };
  42. };
  43. backlight {
  44. compatible = "pwm-backlight";
  45. pwms = <&pwm1 0 3000>;
  46. brightness-levels = <0 4 8 16 32 64 128 255>;
  47. default-brightness-level = <6>;
  48. };
  49. leds {
  50. compatible = "gpio-leds";
  51. pinctrl-names = "default";
  52. pinctrl-0 = <&led_pin_gpio>;
  53. user1 {
  54. label = "user1";
  55. gpios = <&gpio2 8 0>;
  56. linux,default-trigger = "heartbeat";
  57. };
  58. user2 {
  59. label = "user2";
  60. gpios = <&gpio2 9 0>;
  61. linux,default-trigger = "heartbeat";
  62. };
  63. };
  64. regulators {
  65. compatible = "simple-bus";
  66. reg_3p2v: 3p2v {
  67. compatible = "regulator-fixed";
  68. regulator-name = "3P2V";
  69. regulator-min-microvolt = <3200000>;
  70. regulator-max-microvolt = <3200000>;
  71. regulator-always-on;
  72. };
  73. };
  74. sound {
  75. compatible = "fsl,imx53-m53evk-sgtl5000",
  76. "fsl,imx-audio-sgtl5000";
  77. model = "imx53-m53evk-sgtl5000";
  78. ssi-controller = <&ssi2>;
  79. audio-codec = <&sgtl5000>;
  80. audio-routing =
  81. "MIC_IN", "Mic Jack",
  82. "Mic Jack", "Mic Bias",
  83. "LINE_IN", "Line In Jack",
  84. "Headphone Jack", "HP_OUT",
  85. "Ext Spk", "LINE_OUT";
  86. mux-int-port = <2>;
  87. mux-ext-port = <4>;
  88. };
  89. };
  90. &audmux {
  91. pinctrl-names = "default";
  92. pinctrl-0 = <&pinctrl_audmux_2>;
  93. status = "okay";
  94. };
  95. &can1 {
  96. pinctrl-names = "default";
  97. pinctrl-0 = <&pinctrl_can1_3>;
  98. status = "okay";
  99. };
  100. &can2 {
  101. pinctrl-names = "default";
  102. pinctrl-0 = <&pinctrl_can2_1>;
  103. status = "okay";
  104. };
  105. &esdhc1 {
  106. pinctrl-names = "default";
  107. pinctrl-0 = <&pinctrl_esdhc1_1>;
  108. cd-gpios = <&gpio1 1 0>;
  109. wp-gpios = <&gpio1 9 0>;
  110. status = "okay";
  111. };
  112. &fec {
  113. pinctrl-names = "default";
  114. pinctrl-0 = <&pinctrl_fec_1>;
  115. phy-mode = "rmii";
  116. status = "okay";
  117. };
  118. &i2c1 {
  119. pinctrl-names = "default";
  120. pinctrl-0 = <&pinctrl_i2c1_2>;
  121. status = "okay";
  122. sgtl5000: codec@0a {
  123. compatible = "fsl,sgtl5000";
  124. reg = <0x0a>;
  125. VDDA-supply = <&reg_3p2v>;
  126. VDDIO-supply = <&reg_3p2v>;
  127. clocks = <&clks 150>;
  128. };
  129. };
  130. &i2c2 {
  131. pinctrl-names = "default";
  132. pinctrl-0 = <&pinctrl_i2c2_2>;
  133. clock-frequency = <400000>;
  134. status = "okay";
  135. stmpe610@41 {
  136. compatible = "st,stmpe610";
  137. #address-cells = <1>;
  138. #size-cells = <0>;
  139. reg = <0x41>;
  140. id = <0>;
  141. blocks = <0x5>;
  142. interrupts = <6 0x0>;
  143. interrupt-parent = <&gpio7>;
  144. irq-trigger = <0x1>;
  145. stmpe_touchscreen {
  146. compatible = "stmpe,ts";
  147. reg = <0>;
  148. ts,sample-time = <4>;
  149. ts,mod-12b = <1>;
  150. ts,ref-sel = <0>;
  151. ts,adc-freq = <1>;
  152. ts,ave-ctrl = <3>;
  153. ts,touch-det-delay = <3>;
  154. ts,settling = <4>;
  155. ts,fraction-z = <7>;
  156. ts,i-drive = <1>;
  157. };
  158. };
  159. eeprom: eeprom@50 {
  160. compatible = "atmel,24c128";
  161. reg = <0x50>;
  162. pagesize = <32>;
  163. };
  164. rtc: rtc@68 {
  165. compatible = "stm,m41t62";
  166. reg = <0x68>;
  167. };
  168. };
  169. &i2c3 {
  170. pinctrl-names = "default";
  171. pinctrl-0 = <&pinctrl_i2c3_1>;
  172. status = "okay";
  173. };
  174. &iomuxc {
  175. pinctrl-names = "default";
  176. pinctrl-0 = <&pinctrl_hog>;
  177. hog {
  178. pinctrl_hog: hoggrp {
  179. fsl,pins = <
  180. MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK 0x80000000
  181. MX53_PAD_EIM_EB3__GPIO2_31 0x80000000
  182. MX53_PAD_PATA_DA_0__GPIO7_6 0x80000000
  183. MX53_PAD_DISP0_DAT8__PWM1_PWMO 0x5
  184. >;
  185. };
  186. led_pin_gpio: led_gpio@0 {
  187. fsl,pins = <
  188. MX53_PAD_PATA_DATA8__GPIO2_8 0x80000000
  189. MX53_PAD_PATA_DATA9__GPIO2_9 0x80000000
  190. >;
  191. };
  192. };
  193. };
  194. &nfc {
  195. pinctrl-names = "default";
  196. pinctrl-0 = <&pinctrl_nand_1>;
  197. nand-bus-width = <8>;
  198. nand-ecc-mode = "hw";
  199. status = "okay";
  200. };
  201. &pwm1 {
  202. pinctrl-names = "default";
  203. pinctrl-0 = <&pinctrl_pwm1_1>;
  204. status = "okay";
  205. };
  206. &ssi2 {
  207. fsl,mode = "i2s-slave";
  208. status = "okay";
  209. };
  210. &uart1 {
  211. pinctrl-names = "default";
  212. pinctrl-0 = <&pinctrl_uart1_2>;
  213. status = "okay";
  214. };
  215. &uart2 {
  216. pinctrl-names = "default";
  217. pinctrl-0 = <&pinctrl_uart2_1>;
  218. status = "okay";
  219. };
  220. &uart3 {
  221. pinctrl-names = "default";
  222. pinctrl-0 = <&pinctrl_uart3_1>;
  223. status = "okay";
  224. };