imx51-babbage.dts 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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. mc13xxx-irq-gpios = <&gpio1 8 0>;
  51. fsl,mc13xxx-uses-regulator;
  52. };
  53. flash: at45db321d@1 {
  54. #address-cells = <1>;
  55. #size-cells = <1>;
  56. compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash";
  57. spi-max-frequency = <25000000>;
  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. };
  71. wdog@73f98000 { /* WDOG1 */
  72. status = "okay";
  73. };
  74. iomuxc@73fa8000 {
  75. compatible = "fsl,imx51-iomuxc-babbage";
  76. reg = <0x73fa8000 0x4000>;
  77. };
  78. uart1: uart@73fbc000 {
  79. fsl,uart-has-rtscts;
  80. status = "okay";
  81. };
  82. uart2: uart@73fc0000 {
  83. status = "okay";
  84. };
  85. };
  86. aips@80000000 { /* aips-2 */
  87. sdma@83fb0000 {
  88. fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin";
  89. };
  90. i2c@83fc4000 { /* I2C2 */
  91. status = "okay";
  92. codec: sgtl5000@0a {
  93. compatible = "fsl,sgtl5000";
  94. reg = <0x0a>;
  95. };
  96. };
  97. fec@83fec000 {
  98. phy-mode = "mii";
  99. status = "okay";
  100. };
  101. };
  102. };
  103. gpio-keys {
  104. compatible = "gpio-keys";
  105. power {
  106. label = "Power Button";
  107. gpios = <&gpio2 21 0>;
  108. linux,code = <116>; /* KEY_POWER */
  109. gpio-key,wakeup;
  110. };
  111. };
  112. };