keystone-k2e-evm.dts 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. /*
  2. * Copyright 2013-2014 Texas Instruments, Inc.
  3. *
  4. * Keystone 2 Edison EVM device tree
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. /dts-v1/;
  11. #include "keystone.dtsi"
  12. #include "keystone-k2e.dtsi"
  13. / {
  14. compatible = "ti,k2e-evm", "ti,k2e", "ti,keystone";
  15. model = "Texas Instruments Keystone 2 Edison EVM";
  16. soc {
  17. clocks {
  18. refclksys: refclksys {
  19. #clock-cells = <0>;
  20. compatible = "fixed-clock";
  21. clock-frequency = <100000000>;
  22. clock-output-names = "refclk-sys";
  23. };
  24. refclkpass: refclkpass {
  25. #clock-cells = <0>;
  26. compatible = "fixed-clock";
  27. clock-frequency = <100000000>;
  28. clock-output-names = "refclk-pass";
  29. };
  30. refclkddr3a: refclkddr3a {
  31. #clock-cells = <0>;
  32. compatible = "fixed-clock";
  33. clock-frequency = <100000000>;
  34. clock-output-names = "refclk-ddr3a";
  35. };
  36. };
  37. };
  38. };
  39. &usb_phy {
  40. status = "okay";
  41. };
  42. &keystone_usb0 {
  43. status = "okay";
  44. };
  45. &usb0 {
  46. dr_mode = "host";
  47. };
  48. &usb1_phy {
  49. status = "okay";
  50. };
  51. &keystone_usb1 {
  52. status = "okay";
  53. };
  54. &usb1 {
  55. dr_mode = "peripheral";
  56. };
  57. &i2c0 {
  58. dtt@50 {
  59. compatible = "at,24c1024";
  60. reg = <0x50>;
  61. };
  62. };
  63. &aemif {
  64. cs0 {
  65. #address-cells = <2>;
  66. #size-cells = <1>;
  67. clock-ranges;
  68. ranges;
  69. ti,cs-chipselect = <0>;
  70. /* all timings in nanoseconds */
  71. ti,cs-min-turnaround-ns = <12>;
  72. ti,cs-read-hold-ns = <6>;
  73. ti,cs-read-strobe-ns = <23>;
  74. ti,cs-read-setup-ns = <9>;
  75. ti,cs-write-hold-ns = <8>;
  76. ti,cs-write-strobe-ns = <23>;
  77. ti,cs-write-setup-ns = <8>;
  78. nand@0,0 {
  79. compatible = "ti,keystone-nand","ti,davinci-nand";
  80. #address-cells = <1>;
  81. #size-cells = <1>;
  82. reg = <0 0 0x4000000
  83. 1 0 0x0000100>;
  84. ti,davinci-chipselect = <0>;
  85. ti,davinci-mask-ale = <0x2000>;
  86. ti,davinci-mask-cle = <0x4000>;
  87. ti,davinci-mask-chipsel = <0>;
  88. nand-ecc-mode = "hw";
  89. ti,davinci-ecc-bits = <4>;
  90. nand-on-flash-bbt;
  91. partition@0 {
  92. label = "u-boot";
  93. reg = <0x0 0x100000>;
  94. read-only;
  95. };
  96. partition@100000 {
  97. label = "params";
  98. reg = <0x100000 0x80000>;
  99. read-only;
  100. };
  101. partition@180000 {
  102. label = "ubifs";
  103. reg = <0x180000 0x1FE80000>;
  104. };
  105. };
  106. };
  107. };
  108. &spi0 {
  109. nor_flash: n25q128a11@0 {
  110. #address-cells = <1>;
  111. #size-cells = <1>;
  112. compatible = "Micron,n25q128a11";
  113. spi-max-frequency = <54000000>;
  114. m25p,fast-read;
  115. reg = <0>;
  116. partition@0 {
  117. label = "u-boot-spl";
  118. reg = <0x0 0x80000>;
  119. read-only;
  120. };
  121. partition@1 {
  122. label = "misc";
  123. reg = <0x80000 0xf80000>;
  124. };
  125. };
  126. };
  127. &mdio {
  128. status = "ok";
  129. ethphy0: ethernet-phy@0 {
  130. compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
  131. reg = <0>;
  132. };
  133. ethphy1: ethernet-phy@1 {
  134. compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
  135. reg = <1>;
  136. };
  137. };