keystone-k2e-evm.dts 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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,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. &usb {
  43. status = "okay";
  44. };
  45. &usb1_phy {
  46. status = "okay";
  47. };
  48. &usb1 {
  49. status = "okay";
  50. };
  51. &i2c0 {
  52. dtt@50 {
  53. compatible = "at,24c1024";
  54. reg = <0x50>;
  55. };
  56. };
  57. &aemif {
  58. cs0 {
  59. #address-cells = <2>;
  60. #size-cells = <1>;
  61. clock-ranges;
  62. ranges;
  63. ti,cs-chipselect = <0>;
  64. /* all timings in nanoseconds */
  65. ti,cs-min-turnaround-ns = <12>;
  66. ti,cs-read-hold-ns = <6>;
  67. ti,cs-read-strobe-ns = <23>;
  68. ti,cs-read-setup-ns = <9>;
  69. ti,cs-write-hold-ns = <8>;
  70. ti,cs-write-strobe-ns = <23>;
  71. ti,cs-write-setup-ns = <8>;
  72. nand@0,0 {
  73. compatible = "ti,keystone-nand","ti,davinci-nand";
  74. #address-cells = <1>;
  75. #size-cells = <1>;
  76. reg = <0 0 0x4000000
  77. 1 0 0x0000100>;
  78. ti,davinci-chipselect = <0>;
  79. ti,davinci-mask-ale = <0x2000>;
  80. ti,davinci-mask-cle = <0x4000>;
  81. ti,davinci-mask-chipsel = <0>;
  82. nand-ecc-mode = "hw";
  83. ti,davinci-ecc-bits = <4>;
  84. nand-on-flash-bbt;
  85. partition@0 {
  86. label = "u-boot";
  87. reg = <0x0 0x100000>;
  88. read-only;
  89. };
  90. partition@100000 {
  91. label = "params";
  92. reg = <0x100000 0x80000>;
  93. read-only;
  94. };
  95. partition@180000 {
  96. label = "ubifs";
  97. reg = <0x180000 0x1FE80000>;
  98. };
  99. };
  100. };
  101. };
  102. &spi0 {
  103. status = "okay";
  104. nor_flash: n25q128a11@0 {
  105. #address-cells = <1>;
  106. #size-cells = <1>;
  107. compatible = "Micron,n25q128a11", "spi-flash";
  108. spi-max-frequency = <54000000>;
  109. m25p,fast-read;
  110. reg = <0>;
  111. partition@0 {
  112. label = "u-boot-spl";
  113. reg = <0x0 0x80000>;
  114. read-only;
  115. };
  116. partition@1 {
  117. label = "misc";
  118. reg = <0x80000 0xf80000>;
  119. };
  120. };
  121. };
  122. &mdio {
  123. status = "ok";
  124. ethphy0: ethernet-phy@0 {
  125. compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
  126. reg = <0>;
  127. };
  128. ethphy1: ethernet-phy@1 {
  129. compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
  130. reg = <1>;
  131. };
  132. };