phy3250.dts 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  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. num-cs = <1>;
  116. cs-gpios = <&gpio 3 5 0>;
  117. eeprom: at25@0 {
  118. pl022,interface = <0>;
  119. pl022,com-mode = <0>;
  120. pl022,rx-level-trig = <1>;
  121. pl022,tx-level-trig = <1>;
  122. pl022,ctrl-len = <11>;
  123. pl022,wait-state = <0>;
  124. pl022,duplex = <0>;
  125. at25,byte-len = <0x8000>;
  126. at25,addr-mode = <2>;
  127. at25,page-size = <64>;
  128. compatible = "atmel,at25";
  129. reg = <0>;
  130. spi-max-frequency = <5000000>;
  131. };
  132. };
  133. sd@20098000 {
  134. wp-gpios = <&gpio 3 0 0>;
  135. cd-gpios = <&gpio 3 1 0>;
  136. cd-inverted;
  137. bus-width = <4>;
  138. status = "okay";
  139. };
  140. };
  141. fab {
  142. uart2: serial@40018000 {
  143. status = "okay";
  144. };
  145. tsc@40048000 {
  146. status = "okay";
  147. };
  148. key@40050000 {
  149. status = "okay";
  150. keypad,num-rows = <1>;
  151. keypad,num-columns = <1>;
  152. nxp,debounce-delay-ms = <3>;
  153. nxp,scan-delay-ms = <34>;
  154. linux,keymap = <0x00000002>;
  155. };
  156. };
  157. };
  158. leds {
  159. compatible = "gpio-leds";
  160. led0 { /* red */
  161. gpios = <&gpio 5 1 0>; /* GPO_P3 1, GPIO 80, active high */
  162. default-state = "off";
  163. };
  164. led1 { /* green */
  165. gpios = <&gpio 5 14 0>; /* GPO_P3 14, GPIO 93, active high */
  166. linux,default-trigger = "heartbeat";
  167. };
  168. };
  169. };