phy3250.dts 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. /*
  2. * PHYTEC phyCORE-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 = "PHYTEC phyCORE-LPC3250 board based on NXP LPC3250";
  17. compatible = "phytec,phy3250", "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. clcd@31040000 {
  41. status = "okay";
  42. };
  43. /* 64MB Flash via SLC NAND controller */
  44. slc: flash@20020000 {
  45. status = "okay";
  46. #address-cells = <1>;
  47. #size-cells = <1>;
  48. nxp,wdr-clks = <14>;
  49. nxp,wwidth = <40000000>;
  50. nxp,whold = <100000000>;
  51. nxp,wsetup = <100000000>;
  52. nxp,rdr-clks = <14>;
  53. nxp,rwidth = <40000000>;
  54. nxp,rhold = <66666666>;
  55. nxp,rsetup = <100000000>;
  56. nand-on-flash-bbt;
  57. gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
  58. mtd0@00000000 {
  59. label = "phy3250-boot";
  60. reg = <0x00000000 0x00064000>;
  61. read-only;
  62. };
  63. mtd1@00064000 {
  64. label = "phy3250-uboot";
  65. reg = <0x00064000 0x00190000>;
  66. read-only;
  67. };
  68. mtd2@001f4000 {
  69. label = "phy3250-ubt-prms";
  70. reg = <0x001f4000 0x00010000>;
  71. };
  72. mtd3@00204000 {
  73. label = "phy3250-kernel";
  74. reg = <0x00204000 0x00400000>;
  75. };
  76. mtd4@00604000 {
  77. label = "phy3250-rootfs";
  78. reg = <0x00604000 0x039fc000>;
  79. };
  80. };
  81. apb {
  82. uart5: serial@40090000 {
  83. status = "okay";
  84. };
  85. uart3: serial@40080000 {
  86. status = "okay";
  87. };
  88. i2c1: i2c@400A0000 {
  89. clock-frequency = <100000>;
  90. pcf8563: rtc@51 {
  91. compatible = "nxp,pcf8563";
  92. reg = <0x51>;
  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. };
  102. i2c2: i2c@400A8000 {
  103. clock-frequency = <100000>;
  104. };
  105. i2cusb: i2c@31020300 {
  106. clock-frequency = <100000>;
  107. isp1301: usb-transceiver@2c {
  108. compatible = "nxp,isp1301";
  109. reg = <0x2c>;
  110. };
  111. };
  112. ssp0: ssp@20084000 {
  113. #address-cells = <1>;
  114. #size-cells = <0>;
  115. pl022,num-chipselects = <1>;
  116. cs-gpios = <&gpio 3 5 0>;
  117. eeprom: at25@0 {
  118. pl022,hierarchy = <0>;
  119. pl022,interface = <0>;
  120. pl022,slave-tx-disable = <0>;
  121. pl022,com-mode = <0>;
  122. pl022,rx-level-trig = <1>;
  123. pl022,tx-level-trig = <1>;
  124. pl022,ctrl-len = <11>;
  125. pl022,wait-state = <0>;
  126. pl022,duplex = <0>;
  127. at25,byte-len = <0x8000>;
  128. at25,addr-mode = <2>;
  129. at25,page-size = <64>;
  130. compatible = "atmel,at25";
  131. reg = <0>;
  132. spi-max-frequency = <5000000>;
  133. };
  134. };
  135. sd@20098000 {
  136. wp-gpios = <&gpio 3 0 0>;
  137. cd-gpios = <&gpio 3 1 0>;
  138. cd-inverted;
  139. bus-width = <4>;
  140. status = "okay";
  141. };
  142. };
  143. fab {
  144. uart2: serial@40018000 {
  145. status = "okay";
  146. };
  147. tsc@40048000 {
  148. status = "okay";
  149. };
  150. key@40050000 {
  151. status = "okay";
  152. keypad,num-rows = <1>;
  153. keypad,num-columns = <1>;
  154. nxp,debounce-delay-ms = <3>;
  155. nxp,scan-delay-ms = <34>;
  156. linux,keymap = <0x00000002>;
  157. };
  158. };
  159. };
  160. leds {
  161. compatible = "gpio-leds";
  162. led0 {
  163. gpios = <&gpio 5 1 1>; /* GPO_P3 1, GPIO 80, active low */
  164. linux,default-trigger = "heartbeat";
  165. default-state = "off";
  166. };
  167. led1 {
  168. gpios = <&gpio 5 14 1>; /* GPO_P3 14, GPIO 93, active low */
  169. linux,default-trigger = "timer";
  170. default-state = "off";
  171. };
  172. };
  173. };