ea3250.dts 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. /*
  2. * Embedded Artists LPC3250 board
  3. *
  4. * Copyright 2012 Roland Stigge <stigge@antcom.de>
  5. *
  6. * The code contained herein is licensed under the GNU General Public
  7. * License. You may obtain a copy of the GNU General Public License
  8. * Version 2 or later at the following locations:
  9. *
  10. * http://www.opensource.org/licenses/gpl-license.html
  11. * http://www.gnu.org/copyleft/gpl.html
  12. */
  13. /dts-v1/;
  14. /include/ "lpc32xx.dtsi"
  15. / {
  16. model = "Embedded Artists LPC3250 board based on NXP LPC3250";
  17. compatible = "ea,ea3250", "nxp,lpc3250";
  18. #address-cells = <1>;
  19. #size-cells = <1>;
  20. memory {
  21. device_type = "memory";
  22. reg = <0 0x4000000>;
  23. };
  24. ahb {
  25. mac: ethernet@31060000 {
  26. phy-mode = "rmii";
  27. use-iram;
  28. };
  29. /* Here, choose exactly one from: ohci, usbd */
  30. ohci@31020000 {
  31. transceiver = <&isp1301>;
  32. status = "okay";
  33. };
  34. /*
  35. usbd@31020000 {
  36. transceiver = <&isp1301>;
  37. status = "okay";
  38. };
  39. */
  40. /* 128MB Flash via SLC NAND controller */
  41. slc: flash@20020000 {
  42. status = "okay";
  43. #address-cells = <1>;
  44. #size-cells = <1>;
  45. nxp,wdr-clks = <14>;
  46. nxp,wwidth = <260000000>;
  47. nxp,whold = <104000000>;
  48. nxp,wsetup = <200000000>;
  49. nxp,rdr-clks = <14>;
  50. nxp,rwidth = <34666666>;
  51. nxp,rhold = <104000000>;
  52. nxp,rsetup = <200000000>;
  53. nand-on-flash-bbt;
  54. gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
  55. mtd0@00000000 {
  56. label = "ea3250-boot";
  57. reg = <0x00000000 0x00080000>;
  58. read-only;
  59. };
  60. mtd1@00080000 {
  61. label = "ea3250-uboot";
  62. reg = <0x00080000 0x000c0000>;
  63. read-only;
  64. };
  65. mtd2@00140000 {
  66. label = "ea3250-kernel";
  67. reg = <0x00140000 0x00400000>;
  68. };
  69. mtd3@00540000 {
  70. label = "ea3250-rootfs";
  71. reg = <0x00540000 0x07ac0000>;
  72. };
  73. };
  74. apb {
  75. uart5: serial@40090000 {
  76. status = "okay";
  77. };
  78. uart3: serial@40080000 {
  79. status = "okay";
  80. };
  81. uart6: serial@40098000 {
  82. status = "okay";
  83. };
  84. i2c1: i2c@400A0000 {
  85. clock-frequency = <100000>;
  86. eeprom@50 {
  87. compatible = "at,24c256";
  88. reg = <0x50>;
  89. };
  90. eeprom@57 {
  91. compatible = "at,24c64";
  92. reg = <0x57>;
  93. };
  94. uda1380: uda1380@18 {
  95. compatible = "nxp,uda1380";
  96. reg = <0x18>;
  97. power-gpio = <&gpio 0x59 0>;
  98. reset-gpio = <&gpio 0x51 0>;
  99. dac-clk = "wspll";
  100. };
  101. pca9532: pca9532@60 {
  102. compatible = "nxp,pca9532";
  103. gpio-controller;
  104. #gpio-cells = <2>;
  105. reg = <0x60>;
  106. };
  107. };
  108. i2c2: i2c@400A8000 {
  109. clock-frequency = <100000>;
  110. };
  111. i2cusb: i2c@31020300 {
  112. clock-frequency = <100000>;
  113. isp1301: usb-transceiver@2d {
  114. compatible = "nxp,isp1301";
  115. reg = <0x2d>;
  116. };
  117. };
  118. sd@20098000 {
  119. wp-gpios = <&pca9532 5 0>;
  120. cd-gpios = <&pca9532 4 0>;
  121. cd-inverted;
  122. bus-width = <4>;
  123. status = "okay";
  124. };
  125. };
  126. fab {
  127. uart1: serial@40014000 {
  128. status = "okay";
  129. };
  130. /* 3-axis accelerometer X,Y,Z (or AD-IN instead of Z) */
  131. adc@40048000 {
  132. status = "okay";
  133. };
  134. };
  135. };
  136. gpio_keys {
  137. compatible = "gpio-keys";
  138. #address-cells = <1>;
  139. #size-cells = <0>;
  140. autorepeat;
  141. button@21 {
  142. label = "GPIO Key UP";
  143. linux,code = <103>;
  144. gpios = <&gpio 4 1 0>; /* GPI_P3 1 */
  145. };
  146. };
  147. };