imx51-babbage.dts 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. /*
  2. * Copyright 2011 Freescale Semiconductor, Inc.
  3. * Copyright 2011 Linaro Ltd.
  4. *
  5. * The code contained herein is licensed under the GNU General Public
  6. * License. You may obtain a copy of the GNU General Public License
  7. * Version 2 or later at the following locations:
  8. *
  9. * http://www.opensource.org/licenses/gpl-license.html
  10. * http://www.gnu.org/copyleft/gpl.html
  11. */
  12. /dts-v1/;
  13. /include/ "imx51.dtsi"
  14. / {
  15. model = "Freescale i.MX51 Babbage Board";
  16. compatible = "fsl,imx51-babbage", "fsl,imx51";
  17. chosen {
  18. bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait";
  19. };
  20. memory {
  21. reg = <0x90000000 0x20000000>;
  22. };
  23. soc {
  24. aips@70000000 { /* aips-1 */
  25. spba@70000000 {
  26. esdhc@70004000 { /* ESDHC1 */
  27. fsl,cd-internal;
  28. fsl,wp-internal;
  29. status = "okay";
  30. };
  31. esdhc@70008000 { /* ESDHC2 */
  32. cd-gpios = <&gpio1 6 0>;
  33. wp-gpios = <&gpio1 5 0>;
  34. status = "okay";
  35. };
  36. uart3: uart@7000c000 {
  37. fsl,uart-has-rtscts;
  38. status = "okay";
  39. };
  40. ecspi@70010000 { /* ECSPI1 */
  41. fsl,spi-num-chipselects = <2>;
  42. cs-gpios = <&gpio4 24 0>, <&gpio4 25 0>;
  43. status = "okay";
  44. pmic: mc13892@0 {
  45. #address-cells = <1>;
  46. #size-cells = <0>;
  47. compatible = "fsl,mc13892";
  48. spi-max-frequency = <6000000>;
  49. reg = <0>;
  50. interrupt-parent = <&gpio1>;
  51. interrupts = <8>;
  52. regulators {
  53. sw1_reg: sw1 {
  54. regulator-min-microvolt = <600000>;
  55. regulator-max-microvolt = <1375000>;
  56. regulator-boot-on;
  57. regulator-always-on;
  58. };
  59. sw2_reg: sw2 {
  60. regulator-min-microvolt = <900000>;
  61. regulator-max-microvolt = <1850000>;
  62. regulator-boot-on;
  63. regulator-always-on;
  64. };
  65. sw3_reg: sw3 {
  66. regulator-min-microvolt = <1100000>;
  67. regulator-max-microvolt = <1850000>;
  68. regulator-boot-on;
  69. regulator-always-on;
  70. };
  71. sw4_reg: sw4 {
  72. regulator-min-microvolt = <1100000>;
  73. regulator-max-microvolt = <1850000>;
  74. regulator-boot-on;
  75. regulator-always-on;
  76. };
  77. vpll_reg: vpll {
  78. regulator-min-microvolt = <1050000>;
  79. regulator-max-microvolt = <1800000>;
  80. regulator-boot-on;
  81. regulator-always-on;
  82. };
  83. vdig_reg: vdig {
  84. regulator-min-microvolt = <1650000>;
  85. regulator-max-microvolt = <1650000>;
  86. regulator-boot-on;
  87. };
  88. vsd_reg: vsd {
  89. regulator-min-microvolt = <1800000>;
  90. regulator-max-microvolt = <3150000>;
  91. };
  92. vusb2_reg: vusb2 {
  93. regulator-min-microvolt = <2400000>;
  94. regulator-max-microvolt = <2775000>;
  95. regulator-boot-on;
  96. regulator-always-on;
  97. };
  98. vvideo_reg: vvideo {
  99. regulator-min-microvolt = <2775000>;
  100. regulator-max-microvolt = <2775000>;
  101. };
  102. vaudio_reg: vaudio {
  103. regulator-min-microvolt = <2300000>;
  104. regulator-max-microvolt = <3000000>;
  105. };
  106. vcam_reg: vcam {
  107. regulator-min-microvolt = <2500000>;
  108. regulator-max-microvolt = <3000000>;
  109. };
  110. vgen1_reg: vgen1 {
  111. regulator-min-microvolt = <1200000>;
  112. regulator-max-microvolt = <1200000>;
  113. };
  114. vgen2_reg: vgen2 {
  115. regulator-min-microvolt = <1200000>;
  116. regulator-max-microvolt = <3150000>;
  117. regulator-always-on;
  118. };
  119. vgen3_reg: vgen3 {
  120. regulator-min-microvolt = <1800000>;
  121. regulator-max-microvolt = <2900000>;
  122. regulator-always-on;
  123. };
  124. };
  125. };
  126. flash: at45db321d@1 {
  127. #address-cells = <1>;
  128. #size-cells = <1>;
  129. compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash";
  130. spi-max-frequency = <25000000>;
  131. reg = <1>;
  132. partition@0 {
  133. label = "U-Boot";
  134. reg = <0x0 0x40000>;
  135. read-only;
  136. };
  137. partition@40000 {
  138. label = "Kernel";
  139. reg = <0x40000 0x3c0000>;
  140. };
  141. };
  142. };
  143. };
  144. wdog@73f98000 { /* WDOG1 */
  145. status = "okay";
  146. };
  147. iomuxc@73fa8000 {
  148. compatible = "fsl,imx51-iomuxc-babbage";
  149. reg = <0x73fa8000 0x4000>;
  150. };
  151. uart1: uart@73fbc000 {
  152. fsl,uart-has-rtscts;
  153. status = "okay";
  154. };
  155. uart2: uart@73fc0000 {
  156. status = "okay";
  157. };
  158. };
  159. aips@80000000 { /* aips-2 */
  160. sdma@83fb0000 {
  161. fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin";
  162. };
  163. i2c@83fc4000 { /* I2C2 */
  164. status = "okay";
  165. codec: sgtl5000@0a {
  166. compatible = "fsl,sgtl5000";
  167. reg = <0x0a>;
  168. };
  169. };
  170. fec@83fec000 {
  171. phy-mode = "mii";
  172. status = "okay";
  173. };
  174. };
  175. };
  176. gpio-keys {
  177. compatible = "gpio-keys";
  178. power {
  179. label = "Power Button";
  180. gpios = <&gpio2 21 0>;
  181. linux,code = <116>; /* KEY_POWER */
  182. gpio-key,wakeup;
  183. };
  184. };
  185. };