imx53-smd.dts 4.0 KB

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