imx28-m28evk.dts 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. /*
  2. * Copyright (C) 2012 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/ "imx28.dtsi"
  13. / {
  14. model = "DENX M28EVK";
  15. compatible = "denx,m28evk", "fsl,imx28";
  16. memory {
  17. reg = <0x40000000 0x08000000>;
  18. };
  19. apb@80000000 {
  20. apbh@80000000 {
  21. gpmi-nand@8000c000 {
  22. pinctrl-names = "default";
  23. pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg>;
  24. status = "okay";
  25. partition@0 {
  26. label = "bootloader";
  27. reg = <0x00000000 0x00300000>;
  28. read-only;
  29. };
  30. partition@1 {
  31. label = "environment";
  32. reg = <0x00300000 0x00080000>;
  33. };
  34. partition@2 {
  35. label = "redundant-environment";
  36. reg = <0x00380000 0x00080000>;
  37. };
  38. partition@3 {
  39. label = "kernel";
  40. reg = <0x00400000 0x00400000>;
  41. };
  42. partition@4 {
  43. label = "filesystem";
  44. reg = <0x00800000 0x0f800000>;
  45. };
  46. };
  47. ssp0: ssp@80010000 {
  48. compatible = "fsl,imx28-mmc";
  49. pinctrl-names = "default";
  50. pinctrl-0 = <&mmc0_8bit_pins_a
  51. &mmc0_cd_cfg
  52. &mmc0_sck_cfg>;
  53. bus-width = <8>;
  54. wp-gpios = <&gpio3 10 1>;
  55. status = "okay";
  56. };
  57. pinctrl@80018000 {
  58. pinctrl-names = "default";
  59. pinctrl-0 = <&hog_pins_a>;
  60. hog_pins_a: hog-gpios@0 {
  61. reg = <0>;
  62. fsl,pinmux-ids = <
  63. 0x30a3 /* MX28_PAD_AUART2_CTS__GPIO_3_10 */
  64. 0x30b3 /* MX28_PAD_AUART2_RTS__GPIO_3_11 */
  65. >;
  66. fsl,drive-strength = <0>;
  67. fsl,voltage = <1>;
  68. fsl,pull-up = <0>;
  69. };
  70. lcdif_pins_m28: lcdif-m28@0 {
  71. reg = <0>;
  72. fsl,pinmux-ids = <
  73. 0x11e0 /* MX28_PAD_LCD_DOTCLK__LCD_DOTCLK */
  74. 0x11f0 /* MX28_PAD_LCD_ENABLE__LCD_ENABLE */
  75. >;
  76. fsl,drive-strength = <0>;
  77. fsl,voltage = <1>;
  78. fsl,pull-up = <0>;
  79. };
  80. };
  81. lcdif@80030000 {
  82. pinctrl-names = "default";
  83. pinctrl-0 = <&lcdif_24bit_pins_a
  84. &lcdif_pins_m28>;
  85. status = "okay";
  86. };
  87. can0: can@80032000 {
  88. pinctrl-names = "default";
  89. pinctrl-0 = <&can0_pins_a>;
  90. status = "okay";
  91. };
  92. can1: can@80034000 {
  93. pinctrl-names = "default";
  94. pinctrl-0 = <&can1_pins_a>;
  95. status = "okay";
  96. };
  97. };
  98. apbx@80040000 {
  99. saif0: saif@80042000 {
  100. pinctrl-names = "default";
  101. pinctrl-0 = <&saif0_pins_a>;
  102. status = "okay";
  103. };
  104. saif1: saif@80046000 {
  105. pinctrl-names = "default";
  106. pinctrl-0 = <&saif1_pins_a>;
  107. fsl,saif-master = <&saif0>;
  108. status = "okay";
  109. };
  110. i2c0: i2c@80058000 {
  111. pinctrl-names = "default";
  112. pinctrl-0 = <&i2c0_pins_a>;
  113. status = "okay";
  114. sgtl5000: codec@0a {
  115. compatible = "fsl,sgtl5000";
  116. reg = <0x0a>;
  117. VDDA-supply = <&reg_3p3v>;
  118. VDDIO-supply = <&reg_3p3v>;
  119. };
  120. eeprom: eeprom@51 {
  121. compatible = "atmel,24c128";
  122. reg = <0x51>;
  123. pagesize = <32>;
  124. };
  125. rtc: rtc@68 {
  126. compatible = "stm,mt41t62";
  127. reg = <0x68>;
  128. };
  129. };
  130. duart: serial@80074000 {
  131. pinctrl-names = "default";
  132. pinctrl-0 = <&duart_pins_a>;
  133. status = "okay";
  134. };
  135. auart0: serial@8006a000 {
  136. pinctrl-names = "default";
  137. pinctrl-0 = <&auart0_2pins_a>;
  138. status = "okay";
  139. };
  140. auart3: serial@80070000 {
  141. pinctrl-names = "default";
  142. pinctrl-0 = <&auart3_pins_a>;
  143. status = "okay";
  144. };
  145. };
  146. };
  147. ahb@80080000 {
  148. mac0: ethernet@800f0000 {
  149. phy-mode = "rmii";
  150. pinctrl-names = "default";
  151. pinctrl-0 = <&mac0_pins_a>;
  152. phy-reset-gpios = <&gpio3 11 0>;
  153. status = "okay";
  154. };
  155. mac1: ethernet@800f4000 {
  156. phy-mode = "rmii";
  157. pinctrl-names = "default";
  158. pinctrl-0 = <&mac1_pins_a>;
  159. status = "okay";
  160. };
  161. };
  162. regulators {
  163. compatible = "simple-bus";
  164. reg_3p3v: 3p3v {
  165. compatible = "regulator-fixed";
  166. regulator-name = "3P3V";
  167. regulator-min-microvolt = <3300000>;
  168. regulator-max-microvolt = <3300000>;
  169. regulator-always-on;
  170. };
  171. };
  172. sound {
  173. compatible = "denx,m28evk-sgtl5000",
  174. "fsl,mxs-audio-sgtl5000";
  175. model = "m28evk-sgtl5000";
  176. saif-controllers = <&saif0 &saif1>;
  177. audio-codec = <&sgtl5000>;
  178. };
  179. };