keystone-k2hk-evm.dts 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. /*
  2. * Copyright 2013-2014 Texas Instruments, Inc.
  3. *
  4. * Keystone 2 Kepler/Hawking 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-k2hk.dtsi"
  13. / {
  14. compatible = "ti,k2hk-evm","ti,keystone";
  15. model = "Texas Instruments Keystone 2 Kepler/Hawking EVM";
  16. soc {
  17. clocks {
  18. refclksys: refclksys {
  19. #clock-cells = <0>;
  20. compatible = "fixed-clock";
  21. clock-frequency = <122880000>;
  22. clock-output-names = "refclk-sys";
  23. };
  24. refclkpass: refclkpass {
  25. #clock-cells = <0>;
  26. compatible = "fixed-clock";
  27. clock-frequency = <122880000>;
  28. clock-output-names = "refclk-pass";
  29. };
  30. refclkarm: refclkarm {
  31. #clock-cells = <0>;
  32. compatible = "fixed-clock";
  33. clock-frequency = <125000000>;
  34. clock-output-names = "refclk-arm";
  35. };
  36. refclkddr3a: refclkddr3a {
  37. #clock-cells = <0>;
  38. compatible = "fixed-clock";
  39. clock-frequency = <100000000>;
  40. clock-output-names = "refclk-ddr3a";
  41. };
  42. refclkddr3b: refclkddr3b {
  43. #clock-cells = <0>;
  44. compatible = "fixed-clock";
  45. clock-frequency = <100000000>;
  46. clock-output-names = "refclk-ddr3b";
  47. };
  48. };
  49. };
  50. leds {
  51. compatible = "gpio-leds";
  52. debug1_1 {
  53. label = "keystone:green:debug1";
  54. gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; /* 12 */
  55. };
  56. debug1_2 {
  57. label = "keystone:red:debug1";
  58. gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; /* 13 */
  59. };
  60. debug2 {
  61. label = "keystone:blue:debug2";
  62. gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; /* 14 */
  63. };
  64. debug3 {
  65. label = "keystone:blue:debug3";
  66. gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; /* 15 */
  67. };
  68. };
  69. };
  70. &usb_phy {
  71. status = "okay";
  72. };
  73. &usb {
  74. status = "okay";
  75. };
  76. &aemif {
  77. cs0 {
  78. #address-cells = <2>;
  79. #size-cells = <1>;
  80. clock-ranges;
  81. ranges;
  82. ti,cs-chipselect = <0>;
  83. /* all timings in nanoseconds */
  84. ti,cs-min-turnaround-ns = <12>;
  85. ti,cs-read-hold-ns = <6>;
  86. ti,cs-read-strobe-ns = <23>;
  87. ti,cs-read-setup-ns = <9>;
  88. ti,cs-write-hold-ns = <8>;
  89. ti,cs-write-strobe-ns = <23>;
  90. ti,cs-write-setup-ns = <8>;
  91. nand@0,0 {
  92. compatible = "ti,keystone-nand","ti,davinci-nand";
  93. #address-cells = <1>;
  94. #size-cells = <1>;
  95. reg = <0 0 0x4000000
  96. 1 0 0x0000100>;
  97. ti,davinci-chipselect = <0>;
  98. ti,davinci-mask-ale = <0x2000>;
  99. ti,davinci-mask-cle = <0x4000>;
  100. ti,davinci-mask-chipsel = <0>;
  101. nand-ecc-mode = "hw";
  102. ti,davinci-ecc-bits = <4>;
  103. nand-on-flash-bbt;
  104. partition@0 {
  105. label = "u-boot";
  106. reg = <0x0 0x100000>;
  107. read-only;
  108. };
  109. partition@100000 {
  110. label = "params";
  111. reg = <0x100000 0x80000>;
  112. read-only;
  113. };
  114. partition@180000 {
  115. label = "ubifs";
  116. reg = <0x180000 0x1fe80000>;
  117. };
  118. };
  119. };
  120. };
  121. &i2c0 {
  122. dtt@50 {
  123. compatible = "at,24c1024";
  124. reg = <0x50>;
  125. };
  126. };
  127. &spi0 {
  128. status = "okay";
  129. nor_flash: n25q128a11@0 {
  130. #address-cells = <1>;
  131. #size-cells = <1>;
  132. compatible = "Micron,n25q128a11", "spi-flash";
  133. spi-max-frequency = <54000000>;
  134. m25p,fast-read;
  135. reg = <0>;
  136. partition@0 {
  137. label = "u-boot-spl";
  138. reg = <0x0 0x80000>;
  139. read-only;
  140. };
  141. partition@1 {
  142. label = "misc";
  143. reg = <0x80000 0xf80000>;
  144. };
  145. };
  146. };
  147. &mdio {
  148. status = "ok";
  149. ethphy0: ethernet-phy@0 {
  150. compatible = "marvell,88E1111", "ethernet-phy-ieee802.3-c22";
  151. reg = <0>;
  152. };
  153. ethphy1: ethernet-phy@1 {
  154. compatible = "marvell,88E1111", "ethernet-phy-ieee802.3-c22";
  155. reg = <1>;
  156. };
  157. };