keystone.dts 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. /*
  2. * Copyright 2013 Texas Instruments, Inc.
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. /dts-v1/;
  9. #include <dt-bindings/interrupt-controller/arm-gic.h>
  10. #include "skeleton.dtsi"
  11. / {
  12. model = "Texas Instruments Keystone 2 SoC";
  13. compatible = "ti,keystone-evm";
  14. #address-cells = <2>;
  15. #size-cells = <2>;
  16. interrupt-parent = <&gic>;
  17. aliases {
  18. serial0 = &uart0;
  19. };
  20. memory {
  21. reg = <0x00000000 0x80000000 0x00000000 0x40000000>;
  22. };
  23. cpus {
  24. #address-cells = <1>;
  25. #size-cells = <0>;
  26. interrupt-parent = <&gic>;
  27. cpu@0 {
  28. compatible = "arm,cortex-a15";
  29. device_type = "cpu";
  30. reg = <0>;
  31. };
  32. cpu@1 {
  33. compatible = "arm,cortex-a15";
  34. device_type = "cpu";
  35. reg = <1>;
  36. };
  37. cpu@2 {
  38. compatible = "arm,cortex-a15";
  39. device_type = "cpu";
  40. reg = <2>;
  41. };
  42. cpu@3 {
  43. compatible = "arm,cortex-a15";
  44. device_type = "cpu";
  45. reg = <3>;
  46. };
  47. };
  48. gic: interrupt-controller {
  49. compatible = "arm,cortex-a15-gic";
  50. #interrupt-cells = <3>;
  51. #size-cells = <0>;
  52. #address-cells = <1>;
  53. interrupt-controller;
  54. reg = <0x0 0x02561000 0x0 0x1000>,
  55. <0x0 0x02562000 0x0 0x2000>;
  56. };
  57. timer {
  58. compatible = "arm,armv7-timer";
  59. interrupts =
  60. <GIC_PPI 13
  61. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
  62. <GIC_PPI 14
  63. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
  64. <GIC_PPI 11
  65. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
  66. <GIC_PPI 10
  67. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
  68. };
  69. pmu {
  70. compatible = "arm,cortex-a15-pmu";
  71. interrupts = <GIC_SPI 20 IRQ_TYPE_EDGE_RISING>,
  72. <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
  73. <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>,
  74. <GIC_SPI 23 IRQ_TYPE_EDGE_RISING>;
  75. };
  76. soc {
  77. #address-cells = <1>;
  78. #size-cells = <1>;
  79. compatible = "ti,keystone","simple-bus";
  80. interrupt-parent = <&gic>;
  81. ranges = <0x0 0x0 0x0 0xc0000000>;
  82. rstctrl: reset-controller {
  83. compatible = "ti,keystone-reset";
  84. reg = <0x023100e8 4>; /* pll reset control reg */
  85. };
  86. /include/ "keystone-clocks.dtsi"
  87. uart0: serial@02530c00 {
  88. compatible = "ns16550a";
  89. current-speed = <115200>;
  90. reg-shift = <2>;
  91. reg-io-width = <4>;
  92. reg = <0x02530c00 0x100>;
  93. clocks = <&clkuart0>;
  94. interrupts = <GIC_SPI 277 IRQ_TYPE_EDGE_RISING>;
  95. };
  96. uart1: serial@02531000 {
  97. compatible = "ns16550a";
  98. current-speed = <115200>;
  99. reg-shift = <2>;
  100. reg-io-width = <4>;
  101. reg = <0x02531000 0x100>;
  102. clocks = <&clkuart1>;
  103. interrupts = <GIC_SPI 280 IRQ_TYPE_EDGE_RISING>;
  104. };
  105. i2c0: i2c@2530000 {
  106. compatible = "ti,davinci-i2c";
  107. reg = <0x02530000 0x400>;
  108. clock-frequency = <100000>;
  109. clocks = <&clki2c>;
  110. interrupts = <GIC_SPI 283 IRQ_TYPE_EDGE_RISING>;
  111. #address-cells = <1>;
  112. #size-cells = <0>;
  113. dtt@50 {
  114. compatible = "at,24c1024";
  115. reg = <0x50>;
  116. };
  117. };
  118. i2c1: i2c@2530400 {
  119. compatible = "ti,davinci-i2c";
  120. reg = <0x02530400 0x400>;
  121. clock-frequency = <100000>;
  122. clocks = <&clki2c>;
  123. interrupts = <GIC_SPI 286 IRQ_TYPE_EDGE_RISING>;
  124. };
  125. i2c2: i2c@2530800 {
  126. compatible = "ti,davinci-i2c";
  127. reg = <0x02530800 0x400>;
  128. clock-frequency = <100000>;
  129. clocks = <&clki2c>;
  130. interrupts = <GIC_SPI 289 IRQ_TYPE_EDGE_RISING>;
  131. };
  132. spi0: spi@21000400 {
  133. compatible = "ti,dm6441-spi";
  134. reg = <0x21000400 0x200>;
  135. num-cs = <4>;
  136. ti,davinci-spi-intr-line = <0>;
  137. interrupts = <GIC_SPI 292 IRQ_TYPE_EDGE_RISING>;
  138. clocks = <&clkspi>;
  139. };
  140. spi1: spi@21000600 {
  141. compatible = "ti,dm6441-spi";
  142. reg = <0x21000600 0x200>;
  143. num-cs = <4>;
  144. ti,davinci-spi-intr-line = <0>;
  145. interrupts = <GIC_SPI 296 IRQ_TYPE_EDGE_RISING>;
  146. clocks = <&clkspi>;
  147. };
  148. spi2: spi@21000800 {
  149. compatible = "ti,dm6441-spi";
  150. reg = <0x21000800 0x200>;
  151. num-cs = <4>;
  152. ti,davinci-spi-intr-line = <0>;
  153. interrupts = <GIC_SPI 300 IRQ_TYPE_EDGE_RISING>;
  154. clocks = <&clkspi>;
  155. };
  156. };
  157. };