imx53-smd.dts 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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. cd-gpios = <&gpio3 13 0>;
  25. wp-gpios = <&gpio4 11 0>;
  26. status = "okay";
  27. };
  28. esdhc@50008000 { /* ESDHC2 */
  29. non-removable;
  30. status = "okay";
  31. };
  32. uart3: serial@5000c000 {
  33. fsl,uart-has-rtscts;
  34. status = "okay";
  35. };
  36. ecspi@50010000 { /* ECSPI1 */
  37. fsl,spi-num-chipselects = <2>;
  38. cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>;
  39. status = "okay";
  40. zigbee: mc1323@0 {
  41. compatible = "fsl,mc1323";
  42. spi-max-frequency = <8000000>;
  43. reg = <0>;
  44. };
  45. flash: m25p32@1 {
  46. #address-cells = <1>;
  47. #size-cells = <1>;
  48. compatible = "st,m25p32", "st,m25p";
  49. spi-max-frequency = <20000000>;
  50. reg = <1>;
  51. partition@0 {
  52. label = "U-Boot";
  53. reg = <0x0 0x40000>;
  54. read-only;
  55. };
  56. partition@40000 {
  57. label = "Kernel";
  58. reg = <0x40000 0x3c0000>;
  59. };
  60. };
  61. };
  62. esdhc@50020000 { /* ESDHC3 */
  63. non-removable;
  64. status = "okay";
  65. };
  66. };
  67. wdog@53f98000 { /* WDOG1 */
  68. status = "okay";
  69. };
  70. iomuxc@53fa8000 {
  71. compatible = "fsl,imx53-iomuxc-smd";
  72. reg = <0x53fa8000 0x4000>;
  73. };
  74. uart1: serial@53fbc000 {
  75. status = "okay";
  76. };
  77. uart2: serial@53fc0000 {
  78. status = "okay";
  79. };
  80. };
  81. aips@60000000 { /* AIPS2 */
  82. sdma@63fb0000 {
  83. fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin";
  84. };
  85. i2c@63fc4000 { /* I2C2 */
  86. status = "okay";
  87. codec: sgtl5000@0a {
  88. compatible = "fsl,sgtl5000";
  89. reg = <0x0a>;
  90. };
  91. magnetometer: mag3110@0e {
  92. compatible = "fsl,mag3110";
  93. reg = <0x0e>;
  94. };
  95. touchkey: mpr121@5a {
  96. compatible = "fsl,mpr121";
  97. reg = <0x5a>;
  98. };
  99. };
  100. i2c@63fc8000 { /* I2C1 */
  101. status = "okay";
  102. accelerometer: mma8450@1c {
  103. compatible = "fsl,mma8450";
  104. reg = <0x1c>;
  105. };
  106. camera: ov5642@3c {
  107. compatible = "ovti,ov5642";
  108. reg = <0x3c>;
  109. };
  110. pmic: dialog@48 {
  111. compatible = "dialog,da9053", "dialog,da9052";
  112. reg = <0x48>;
  113. };
  114. };
  115. ethernet@63fec000 {
  116. phy-mode = "rmii";
  117. phy-reset-gpios = <&gpio7 6 0>;
  118. status = "okay";
  119. };
  120. };
  121. };
  122. gpio-keys {
  123. compatible = "gpio-keys";
  124. volume-up {
  125. label = "Volume Up";
  126. gpios = <&gpio2 14 0>;
  127. linux,code = <115>; /* KEY_VOLUMEUP */
  128. };
  129. volume-down {
  130. label = "Volume Down";
  131. gpios = <&gpio2 15 0>;
  132. linux,code = <114>; /* KEY_VOLUMEDOWN */
  133. };
  134. };
  135. };