imx53-ard.dts 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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 Automotive Reference Design Board";
  16. compatible = "fsl,imx53-ard", "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 = <&gpio1 1 0>;
  25. wp-gpios = <&gpio1 9 0>;
  26. status = "okay";
  27. };
  28. };
  29. wdog@53f98000 { /* WDOG1 */
  30. status = "okay";
  31. };
  32. iomuxc@53fa8000 {
  33. compatible = "fsl,imx53-iomuxc-ard";
  34. reg = <0x53fa8000 0x4000>;
  35. };
  36. uart1: serial@53fbc000 {
  37. status = "okay";
  38. };
  39. };
  40. aips@60000000 { /* AIPS2 */
  41. sdma@63fb0000 {
  42. fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin";
  43. };
  44. };
  45. };
  46. eim-cs1@f4000000 {
  47. #address-cells = <1>;
  48. #size-cells = <1>;
  49. compatible = "fsl,eim-bus", "simple-bus";
  50. reg = <0xf4000000 0x3ff0000>;
  51. ranges;
  52. lan9220@f4000000 {
  53. compatible = "smsc,lan9220", "smsc,lan9115";
  54. reg = <0xf4000000 0x2000000>;
  55. phy-mode = "mii";
  56. interrupt-parent = <&gpio2>;
  57. interrupts = <31 0x8>;
  58. reg-io-width = <4>;
  59. /*
  60. * VDD33A and VDDVARIO of LAN9220 are supplied by
  61. * SW4_3V3 of LTC3589. Before the regulator driver
  62. * for this PMIC is available, we use a fixed dummy
  63. * 3V3 regulator to get LAN9220 driver probing work.
  64. */
  65. vdd33a-supply = <&reg_3p3v>;
  66. vddvario-supply = <&reg_3p3v>;
  67. smsc,irq-push-pull;
  68. };
  69. };
  70. regulators {
  71. compatible = "simple-bus";
  72. reg_3p3v: 3p3v {
  73. compatible = "regulator-fixed";
  74. regulator-name = "3P3V";
  75. regulator-min-microvolt = <3300000>;
  76. regulator-max-microvolt = <3300000>;
  77. regulator-always-on;
  78. };
  79. };
  80. gpio-keys {
  81. compatible = "gpio-keys";
  82. home {
  83. label = "Home";
  84. gpios = <&gpio5 10 0>;
  85. linux,code = <102>; /* KEY_HOME */
  86. gpio-key,wakeup;
  87. };
  88. back {
  89. label = "Back";
  90. gpios = <&gpio5 11 0>;
  91. linux,code = <158>; /* KEY_BACK */
  92. gpio-key,wakeup;
  93. };
  94. program {
  95. label = "Program";
  96. gpios = <&gpio5 12 0>;
  97. linux,code = <362>; /* KEY_PROGRAM */
  98. gpio-key,wakeup;
  99. };
  100. volume-up {
  101. label = "Volume Up";
  102. gpios = <&gpio5 13 0>;
  103. linux,code = <115>; /* KEY_VOLUMEUP */
  104. };
  105. volume-down {
  106. label = "Volume Down";
  107. gpios = <&gpio4 0 0>;
  108. linux,code = <114>; /* KEY_VOLUMEDOWN */
  109. };
  110. };
  111. };