keystone-k2hk.dtsi 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. /*
  2. * Copyright 2013-2014 Texas Instruments, Inc.
  3. *
  4. * Keystone 2 Kepler/Hawking soc specific 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. / {
  11. cpus {
  12. #address-cells = <1>;
  13. #size-cells = <0>;
  14. interrupt-parent = <&gic>;
  15. cpu@0 {
  16. compatible = "arm,cortex-a15";
  17. device_type = "cpu";
  18. reg = <0>;
  19. };
  20. cpu@1 {
  21. compatible = "arm,cortex-a15";
  22. device_type = "cpu";
  23. reg = <1>;
  24. };
  25. cpu@2 {
  26. compatible = "arm,cortex-a15";
  27. device_type = "cpu";
  28. reg = <2>;
  29. };
  30. cpu@3 {
  31. compatible = "arm,cortex-a15";
  32. device_type = "cpu";
  33. reg = <3>;
  34. };
  35. };
  36. soc {
  37. /include/ "keystone-k2hk-clocks.dtsi"
  38. dspgpio0: keystone_dsp_gpio@02620240 {
  39. compatible = "ti,keystone-dsp-gpio";
  40. gpio-controller;
  41. #gpio-cells = <2>;
  42. gpio,syscon-dev = <&devctrl 0x240>;
  43. };
  44. dspgpio1: keystone_dsp_gpio@2620244 {
  45. compatible = "ti,keystone-dsp-gpio";
  46. gpio-controller;
  47. #gpio-cells = <2>;
  48. gpio,syscon-dev = <&devctrl 0x244>;
  49. };
  50. dspgpio2: keystone_dsp_gpio@2620248 {
  51. compatible = "ti,keystone-dsp-gpio";
  52. gpio-controller;
  53. #gpio-cells = <2>;
  54. gpio,syscon-dev = <&devctrl 0x248>;
  55. };
  56. dspgpio3: keystone_dsp_gpio@262024c {
  57. compatible = "ti,keystone-dsp-gpio";
  58. gpio-controller;
  59. #gpio-cells = <2>;
  60. gpio,syscon-dev = <&devctrl 0x24c>;
  61. };
  62. dspgpio4: keystone_dsp_gpio@2620250 {
  63. compatible = "ti,keystone-dsp-gpio";
  64. gpio-controller;
  65. #gpio-cells = <2>;
  66. gpio,syscon-dev = <&devctrl 0x250>;
  67. };
  68. dspgpio5: keystone_dsp_gpio@2620254 {
  69. compatible = "ti,keystone-dsp-gpio";
  70. gpio-controller;
  71. #gpio-cells = <2>;
  72. gpio,syscon-dev = <&devctrl 0x254>;
  73. };
  74. dspgpio6: keystone_dsp_gpio@2620258 {
  75. compatible = "ti,keystone-dsp-gpio";
  76. gpio-controller;
  77. #gpio-cells = <2>;
  78. gpio,syscon-dev = <&devctrl 0x258>;
  79. };
  80. dspgpio7: keystone_dsp_gpio@262025c {
  81. compatible = "ti,keystone-dsp-gpio";
  82. gpio-controller;
  83. #gpio-cells = <2>;
  84. gpio,syscon-dev = <&devctrl 0x25c>;
  85. };
  86. mdio: mdio@02090300 {
  87. compatible = "ti,keystone_mdio", "ti,davinci_mdio";
  88. #address-cells = <1>;
  89. #size-cells = <0>;
  90. reg = <0x02090300 0x100>;
  91. status = "disabled";
  92. clocks = <&clkcpgmac>;
  93. clock-names = "fck";
  94. bus_freq = <2500000>;
  95. };
  96. rapidio: rapidio@2900000 {
  97. compatible = "ti,keystone-rapidio";
  98. #address-cells = <1>;
  99. #size-cells = <1>;
  100. reg = <0x2900000 0x40000>, /* rio regs */
  101. <0x2620000 0x1000>, /* boot config regs */
  102. <0x232c000 0x2000>; /* serdes config regs */
  103. reg-names = "rio", "boot_config", "serdes";
  104. clocks = <&clksrio>;
  105. clock-names = "clk_srio";
  106. dma-coherent;
  107. ti,navigator-dmas = <&dma_srio 18>,
  108. <&dma_srio 19>,
  109. <&dma_srio 0>,
  110. <&dma_srio 1>;
  111. ti,navigator-dma-names = "riorx0", "riorx1",
  112. "riotx0", "riotx1";
  113. keystone2-serdes;
  114. baudrate = <3>; /* 5 Gbps */
  115. path-mode = <4>; /* 1 port in 4x */
  116. port-register-timeout = <30>; /* 30 seconds */
  117. lsu = <0 0>; /* available LSU range (start end) */
  118. num-dio-channels = <8>; /* number of DIO DMA channels */
  119. ports = <0x1>; /* bitfield of port(s) to probe */
  120. dev-id-size = <0>; /* RapidIO common transport system
  121. * size.
  122. * 0 - Small size. 8-bit deviceID
  123. * fields. 256 devices.
  124. * 1 - Large size, 16-bit deviceID
  125. * fields. 65536 devices.
  126. */
  127. interrupts = <0 152 0xf01
  128. 0 153 0xf01>; /* RIO and LSU IRQs */
  129. num-mboxes = <2>;
  130. mbox-0 {
  131. rx-channel = "riorx0";
  132. rx-pool = <128 15>; /* size region_id */
  133. rx-queue-depth = <256 0 0 0>;
  134. rx-buffer-size = <4096 0 0 0>;
  135. /*rx-queue = <8714>;*/
  136. /*stream-id = <0>;*/
  137. tx-channel = "riotx0";
  138. tx-pool = <128 15>;
  139. tx-queue-depth = <256>;
  140. tx-queue = <672>; /* for channel 0 */
  141. /*tx-completion-queue = <8716>;*/
  142. /*tx-garbage-queue = <8717>;*/
  143. };
  144. mbox-1 {
  145. rx-channel = "riorx1";
  146. rx-pool = <128 15>;
  147. rx-queue-depth = <256 0 0 0>;
  148. rx-buffer-size = <4096 0 0 0>;
  149. /*rx-queue = <8715>;*/
  150. /*stream-id = <1>;*/
  151. tx-channel = "riotx1";
  152. tx-pool = <128 15>;
  153. tx-queue-depth = <256>;
  154. tx-queue = <673>; /* for channel 1 */
  155. /*tx-completion-queue = <8718>;*/
  156. /*tx-garbage-queue = <8719>;*/
  157. };
  158. };
  159. /include/ "keystone-k2hk-netcp.dtsi"
  160. };
  161. };