highbank.dts 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. /*
  2. * Copyright 2011-2012 Calxeda, Inc.
  3. *
  4. * This program is free software; you can redistribute it and/or modify it
  5. * under the terms and conditions of the GNU General Public License,
  6. * version 2, as published by the Free Software Foundation.
  7. *
  8. * This program is distributed in the hope it will be useful, but WITHOUT
  9. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  10. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  11. * more details.
  12. *
  13. * You should have received a copy of the GNU General Public License along with
  14. * this program. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. /dts-v1/;
  17. /* First 4KB has pen for secondary cores. */
  18. /memreserve/ 0x00000000 0x0001000;
  19. / {
  20. model = "Calxeda Highbank";
  21. compatible = "calxeda,highbank";
  22. #address-cells = <1>;
  23. #size-cells = <1>;
  24. clock-ranges;
  25. cpus {
  26. #address-cells = <1>;
  27. #size-cells = <0>;
  28. cpu@0 {
  29. compatible = "arm,cortex-a9";
  30. reg = <0>;
  31. next-level-cache = <&L2>;
  32. clocks = <&a9pll>;
  33. clock-names = "cpu";
  34. };
  35. cpu@1 {
  36. compatible = "arm,cortex-a9";
  37. reg = <1>;
  38. next-level-cache = <&L2>;
  39. clocks = <&a9pll>;
  40. clock-names = "cpu";
  41. };
  42. cpu@2 {
  43. compatible = "arm,cortex-a9";
  44. reg = <2>;
  45. next-level-cache = <&L2>;
  46. clocks = <&a9pll>;
  47. clock-names = "cpu";
  48. };
  49. cpu@3 {
  50. compatible = "arm,cortex-a9";
  51. reg = <3>;
  52. next-level-cache = <&L2>;
  53. clocks = <&a9pll>;
  54. clock-names = "cpu";
  55. };
  56. };
  57. memory {
  58. name = "memory";
  59. device_type = "memory";
  60. reg = <0x00000000 0xff900000>;
  61. };
  62. chosen {
  63. bootargs = "console=ttyAMA0";
  64. };
  65. soc {
  66. #address-cells = <1>;
  67. #size-cells = <1>;
  68. compatible = "simple-bus";
  69. interrupt-parent = <&intc>;
  70. ranges;
  71. timer@fff10600 {
  72. compatible = "arm,cortex-a9-twd-timer";
  73. reg = <0xfff10600 0x20>;
  74. interrupts = <1 13 0xf01>;
  75. clocks = <&a9periphclk>;
  76. };
  77. watchdog@fff10620 {
  78. compatible = "arm,cortex-a9-twd-wdt";
  79. reg = <0xfff10620 0x20>;
  80. interrupts = <1 14 0xf01>;
  81. clocks = <&a9periphclk>;
  82. };
  83. intc: interrupt-controller@fff11000 {
  84. compatible = "arm,cortex-a9-gic";
  85. #interrupt-cells = <3>;
  86. #size-cells = <0>;
  87. #address-cells = <1>;
  88. interrupt-controller;
  89. reg = <0xfff11000 0x1000>,
  90. <0xfff10100 0x100>;
  91. };
  92. L2: l2-cache {
  93. compatible = "arm,pl310-cache";
  94. reg = <0xfff12000 0x1000>;
  95. interrupts = <0 70 4>;
  96. cache-unified;
  97. cache-level = <2>;
  98. };
  99. pmu {
  100. compatible = "arm,cortex-a9-pmu";
  101. interrupts = <0 76 4 0 75 4 0 74 4 0 73 4>;
  102. };
  103. sata@ffe08000 {
  104. compatible = "calxeda,hb-ahci";
  105. reg = <0xffe08000 0x10000>;
  106. interrupts = <0 83 4>;
  107. dma-coherent;
  108. };
  109. sdhci@ffe0e000 {
  110. compatible = "calxeda,hb-sdhci";
  111. reg = <0xffe0e000 0x1000>;
  112. interrupts = <0 90 4>;
  113. clocks = <&eclk>;
  114. };
  115. memory-controller@fff00000 {
  116. compatible = "calxeda,hb-ddr-ctrl";
  117. reg = <0xfff00000 0x1000>;
  118. interrupts = <0 91 4>;
  119. };
  120. ipc@fff20000 {
  121. compatible = "arm,pl320", "arm,primecell";
  122. reg = <0xfff20000 0x1000>;
  123. interrupts = <0 7 4>;
  124. clocks = <&pclk>;
  125. clock-names = "apb_pclk";
  126. };
  127. gpioe: gpio@fff30000 {
  128. #gpio-cells = <2>;
  129. compatible = "arm,pl061", "arm,primecell";
  130. gpio-controller;
  131. reg = <0xfff30000 0x1000>;
  132. interrupts = <0 14 4>;
  133. clocks = <&pclk>;
  134. clock-names = "apb_pclk";
  135. };
  136. gpiof: gpio@fff31000 {
  137. #gpio-cells = <2>;
  138. compatible = "arm,pl061", "arm,primecell";
  139. gpio-controller;
  140. reg = <0xfff31000 0x1000>;
  141. interrupts = <0 15 4>;
  142. clocks = <&pclk>;
  143. clock-names = "apb_pclk";
  144. };
  145. gpiog: gpio@fff32000 {
  146. #gpio-cells = <2>;
  147. compatible = "arm,pl061", "arm,primecell";
  148. gpio-controller;
  149. reg = <0xfff32000 0x1000>;
  150. interrupts = <0 16 4>;
  151. clocks = <&pclk>;
  152. clock-names = "apb_pclk";
  153. };
  154. gpioh: gpio@fff33000 {
  155. #gpio-cells = <2>;
  156. compatible = "arm,pl061", "arm,primecell";
  157. gpio-controller;
  158. reg = <0xfff33000 0x1000>;
  159. interrupts = <0 17 4>;
  160. clocks = <&pclk>;
  161. clock-names = "apb_pclk";
  162. };
  163. timer {
  164. compatible = "arm,sp804", "arm,primecell";
  165. reg = <0xfff34000 0x1000>;
  166. interrupts = <0 18 4>;
  167. clocks = <&pclk>;
  168. clock-names = "apb_pclk";
  169. };
  170. rtc@fff35000 {
  171. compatible = "arm,pl031", "arm,primecell";
  172. reg = <0xfff35000 0x1000>;
  173. interrupts = <0 19 4>;
  174. clocks = <&pclk>;
  175. clock-names = "apb_pclk";
  176. };
  177. serial@fff36000 {
  178. compatible = "arm,pl011", "arm,primecell";
  179. reg = <0xfff36000 0x1000>;
  180. interrupts = <0 20 4>;
  181. clocks = <&pclk>;
  182. clock-names = "apb_pclk";
  183. };
  184. smic@fff3a000 {
  185. compatible = "ipmi-smic";
  186. device_type = "ipmi";
  187. reg = <0xfff3a000 0x1000>;
  188. interrupts = <0 24 4>;
  189. reg-size = <4>;
  190. reg-spacing = <4>;
  191. };
  192. sregs@fff3c000 {
  193. compatible = "calxeda,hb-sregs";
  194. reg = <0xfff3c000 0x1000>;
  195. clocks {
  196. #address-cells = <1>;
  197. #size-cells = <0>;
  198. osc: oscillator {
  199. #clock-cells = <0>;
  200. compatible = "fixed-clock";
  201. clock-frequency = <33333000>;
  202. };
  203. ddrpll: ddrpll {
  204. #clock-cells = <0>;
  205. compatible = "calxeda,hb-pll-clock";
  206. clocks = <&osc>;
  207. reg = <0x108>;
  208. };
  209. a9pll: a9pll {
  210. #clock-cells = <0>;
  211. compatible = "calxeda,hb-pll-clock";
  212. clocks = <&osc>;
  213. reg = <0x100>;
  214. };
  215. a9periphclk: a9periphclk {
  216. #clock-cells = <0>;
  217. compatible = "calxeda,hb-a9periph-clock";
  218. clocks = <&a9pll>;
  219. reg = <0x104>;
  220. };
  221. a9bclk: a9bclk {
  222. #clock-cells = <0>;
  223. compatible = "calxeda,hb-a9bus-clock";
  224. clocks = <&a9pll>;
  225. reg = <0x104>;
  226. };
  227. emmcpll: emmcpll {
  228. #clock-cells = <0>;
  229. compatible = "calxeda,hb-pll-clock";
  230. clocks = <&osc>;
  231. reg = <0x10C>;
  232. };
  233. eclk: eclk {
  234. #clock-cells = <0>;
  235. compatible = "calxeda,hb-emmc-clock";
  236. clocks = <&emmcpll>;
  237. reg = <0x114>;
  238. };
  239. pclk: pclk {
  240. #clock-cells = <0>;
  241. compatible = "fixed-clock";
  242. clock-frequency = <150000000>;
  243. };
  244. };
  245. };
  246. sregs@fff3c200 {
  247. compatible = "calxeda,hb-sregs-l2-ecc";
  248. reg = <0xfff3c200 0x100>;
  249. interrupts = <0 71 4 0 72 4>;
  250. };
  251. dma@fff3d000 {
  252. compatible = "arm,pl330", "arm,primecell";
  253. reg = <0xfff3d000 0x1000>;
  254. interrupts = <0 92 4>;
  255. clocks = <&pclk>;
  256. clock-names = "apb_pclk";
  257. };
  258. ethernet@fff50000 {
  259. compatible = "calxeda,hb-xgmac";
  260. reg = <0xfff50000 0x1000>;
  261. interrupts = <0 77 4 0 78 4 0 79 4>;
  262. };
  263. ethernet@fff51000 {
  264. compatible = "calxeda,hb-xgmac";
  265. reg = <0xfff51000 0x1000>;
  266. interrupts = <0 80 4 0 81 4 0 82 4>;
  267. };
  268. };
  269. };