imx53-smd.dts 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  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/ "imx53.dtsi"
  14. / {
  15. model = "Freescale i.MX53 Smart Mobile Reference Design Board";
  16. compatible = "fsl,imx53-smd", "fsl,imx53";
  17. memory {
  18. reg = <0x70000000 0x40000000>;
  19. };
  20. gpio-keys {
  21. compatible = "gpio-keys";
  22. volume-up {
  23. label = "Volume Up";
  24. gpios = <&gpio2 14 0>;
  25. linux,code = <115>; /* KEY_VOLUMEUP */
  26. };
  27. volume-down {
  28. label = "Volume Down";
  29. gpios = <&gpio2 15 0>;
  30. linux,code = <114>; /* KEY_VOLUMEDOWN */
  31. };
  32. };
  33. };
  34. &esdhc1 {
  35. pinctrl-names = "default";
  36. pinctrl-0 = <&pinctrl_esdhc1_1>;
  37. cd-gpios = <&gpio3 13 0>;
  38. wp-gpios = <&gpio4 11 0>;
  39. status = "okay";
  40. };
  41. &esdhc2 {
  42. pinctrl-names = "default";
  43. pinctrl-0 = <&pinctrl_esdhc2_1>;
  44. non-removable;
  45. status = "okay";
  46. };
  47. &uart3 {
  48. pinctrl-names = "default";
  49. pinctrl-0 = <&pinctrl_uart3_1>;
  50. fsl,uart-has-rtscts;
  51. status = "okay";
  52. };
  53. &ecspi1 {
  54. pinctrl-names = "default";
  55. pinctrl-0 = <&pinctrl_ecspi1_1>;
  56. fsl,spi-num-chipselects = <2>;
  57. cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>;
  58. status = "okay";
  59. zigbee: mc1323@0 {
  60. compatible = "fsl,mc1323";
  61. spi-max-frequency = <8000000>;
  62. reg = <0>;
  63. };
  64. flash: m25p32@1 {
  65. #address-cells = <1>;
  66. #size-cells = <1>;
  67. compatible = "st,m25p32", "st,m25p";
  68. spi-max-frequency = <20000000>;
  69. reg = <1>;
  70. partition@0 {
  71. label = "U-Boot";
  72. reg = <0x0 0x40000>;
  73. read-only;
  74. };
  75. partition@40000 {
  76. label = "Kernel";
  77. reg = <0x40000 0x3c0000>;
  78. };
  79. };
  80. };
  81. &esdhc3 {
  82. pinctrl-names = "default";
  83. pinctrl-0 = <&pinctrl_esdhc3_1>;
  84. non-removable;
  85. status = "okay";
  86. };
  87. &iomuxc {
  88. pinctrl-names = "default";
  89. pinctrl-0 = <&pinctrl_hog>;
  90. hog {
  91. pinctrl_hog: hoggrp {
  92. fsl,pins = <
  93. 982 0x80000000 /* MX53_PAD_PATA_DATA14__GPIO2_14 */
  94. 989 0x80000000 /* MX53_PAD_PATA_DATA15__GPIO2_15 */
  95. 424 0x80000000 /* MX53_PAD_EIM_EB2__GPIO2_30 */
  96. 701 0x80000000 /* MX53_PAD_EIM_DA13__GPIO3_13 */
  97. 449 0x80000000 /* MX53_PAD_EIM_D19__GPIO3_19 */
  98. 43 0x80000000 /* MX53_PAD_KEY_ROW2__GPIO4_11 */
  99. 868 0x80000000 /* MX53_PAD_PATA_DA_0__GPIO7_6 */
  100. >;
  101. };
  102. };
  103. };
  104. &uart1 {
  105. pinctrl-names = "default";
  106. pinctrl-0 = <&pinctrl_uart1_1>;
  107. status = "okay";
  108. };
  109. &uart2 {
  110. pinctrl-names = "default";
  111. pinctrl-0 = <&pinctrl_uart2_1>;
  112. status = "okay";
  113. };
  114. &i2c2 {
  115. pinctrl-names = "default";
  116. pinctrl-0 = <&pinctrl_i2c2_1>;
  117. status = "okay";
  118. codec: sgtl5000@0a {
  119. compatible = "fsl,sgtl5000";
  120. reg = <0x0a>;
  121. };
  122. magnetometer: mag3110@0e {
  123. compatible = "fsl,mag3110";
  124. reg = <0x0e>;
  125. };
  126. touchkey: mpr121@5a {
  127. compatible = "fsl,mpr121";
  128. reg = <0x5a>;
  129. };
  130. };
  131. &i2c1 {
  132. pinctrl-names = "default";
  133. pinctrl-0 = <&pinctrl_i2c1_1>;
  134. status = "okay";
  135. accelerometer: mma8450@1c {
  136. compatible = "fsl,mma8450";
  137. reg = <0x1c>;
  138. };
  139. camera: ov5642@3c {
  140. compatible = "ovti,ov5642";
  141. reg = <0x3c>;
  142. };
  143. pmic: dialog@48 {
  144. compatible = "dialog,da9053", "dialog,da9052";
  145. reg = <0x48>;
  146. };
  147. };
  148. &fec {
  149. pinctrl-names = "default";
  150. pinctrl-0 = <&pinctrl_fec_1>;
  151. phy-mode = "rmii";
  152. phy-reset-gpios = <&gpio7 6 0>;
  153. status = "okay";
  154. };