highbank.dts 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  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. };
  108. sdhci@ffe0e000 {
  109. compatible = "calxeda,hb-sdhci";
  110. reg = <0xffe0e000 0x1000>;
  111. interrupts = <0 90 4>;
  112. clocks = <&eclk>;
  113. };
  114. memory-controller@fff00000 {
  115. compatible = "calxeda,hb-ddr-ctrl";
  116. reg = <0xfff00000 0x1000>;
  117. interrupts = <0 91 4>;
  118. };
  119. ipc@fff20000 {
  120. compatible = "arm,pl320", "arm,primecell";
  121. reg = <0xfff20000 0x1000>;
  122. interrupts = <0 7 4>;
  123. clocks = <&pclk>;
  124. clock-names = "apb_pclk";
  125. };
  126. gpioe: gpio@fff30000 {
  127. #gpio-cells = <2>;
  128. compatible = "arm,pl061", "arm,primecell";
  129. gpio-controller;
  130. reg = <0xfff30000 0x1000>;
  131. interrupts = <0 14 4>;
  132. clocks = <&pclk>;
  133. clock-names = "apb_pclk";
  134. };
  135. gpiof: gpio@fff31000 {
  136. #gpio-cells = <2>;
  137. compatible = "arm,pl061", "arm,primecell";
  138. gpio-controller;
  139. reg = <0xfff31000 0x1000>;
  140. interrupts = <0 15 4>;
  141. clocks = <&pclk>;
  142. clock-names = "apb_pclk";
  143. };
  144. gpiog: gpio@fff32000 {
  145. #gpio-cells = <2>;
  146. compatible = "arm,pl061", "arm,primecell";
  147. gpio-controller;
  148. reg = <0xfff32000 0x1000>;
  149. interrupts = <0 16 4>;
  150. clocks = <&pclk>;
  151. clock-names = "apb_pclk";
  152. };
  153. gpioh: gpio@fff33000 {
  154. #gpio-cells = <2>;
  155. compatible = "arm,pl061", "arm,primecell";
  156. gpio-controller;
  157. reg = <0xfff33000 0x1000>;
  158. interrupts = <0 17 4>;
  159. clocks = <&pclk>;
  160. clock-names = "apb_pclk";
  161. };
  162. timer {
  163. compatible = "arm,sp804", "arm,primecell";
  164. reg = <0xfff34000 0x1000>;
  165. interrupts = <0 18 4>;
  166. clocks = <&pclk>;
  167. clock-names = "apb_pclk";
  168. };
  169. rtc@fff35000 {
  170. compatible = "arm,pl031", "arm,primecell";
  171. reg = <0xfff35000 0x1000>;
  172. interrupts = <0 19 4>;
  173. clocks = <&pclk>;
  174. clock-names = "apb_pclk";
  175. };
  176. serial@fff36000 {
  177. compatible = "arm,pl011", "arm,primecell";
  178. reg = <0xfff36000 0x1000>;
  179. interrupts = <0 20 4>;
  180. clocks = <&pclk>;
  181. clock-names = "apb_pclk";
  182. };
  183. smic@fff3a000 {
  184. compatible = "ipmi-smic";
  185. device_type = "ipmi";
  186. reg = <0xfff3a000 0x1000>;
  187. interrupts = <0 24 4>;
  188. reg-size = <4>;
  189. reg-spacing = <4>;
  190. };
  191. sregs@fff3c000 {
  192. compatible = "calxeda,hb-sregs";
  193. reg = <0xfff3c000 0x1000>;
  194. clocks {
  195. #address-cells = <1>;
  196. #size-cells = <0>;
  197. osc: oscillator {
  198. #clock-cells = <0>;
  199. compatible = "fixed-clock";
  200. clock-frequency = <33333000>;
  201. };
  202. ddrpll: ddrpll {
  203. #clock-cells = <0>;
  204. compatible = "calxeda,hb-pll-clock";
  205. clocks = <&osc>;
  206. reg = <0x108>;
  207. };
  208. a9pll: a9pll {
  209. #clock-cells = <0>;
  210. compatible = "calxeda,hb-pll-clock";
  211. clocks = <&osc>;
  212. reg = <0x100>;
  213. };
  214. a9periphclk: a9periphclk {
  215. #clock-cells = <0>;
  216. compatible = "calxeda,hb-a9periph-clock";
  217. clocks = <&a9pll>;
  218. reg = <0x104>;
  219. };
  220. a9bclk: a9bclk {
  221. #clock-cells = <0>;
  222. compatible = "calxeda,hb-a9bus-clock";
  223. clocks = <&a9pll>;
  224. reg = <0x104>;
  225. };
  226. emmcpll: emmcpll {
  227. #clock-cells = <0>;
  228. compatible = "calxeda,hb-pll-clock";
  229. clocks = <&osc>;
  230. reg = <0x10C>;
  231. };
  232. eclk: eclk {
  233. #clock-cells = <0>;
  234. compatible = "calxeda,hb-emmc-clock";
  235. clocks = <&emmcpll>;
  236. reg = <0x114>;
  237. };
  238. pclk: pclk {
  239. #clock-cells = <0>;
  240. compatible = "fixed-clock";
  241. clock-frequency = <150000000>;
  242. };
  243. };
  244. };
  245. sregs@fff3c200 {
  246. compatible = "calxeda,hb-sregs-l2-ecc";
  247. reg = <0xfff3c200 0x100>;
  248. interrupts = <0 71 4 0 72 4>;
  249. };
  250. dma@fff3d000 {
  251. compatible = "arm,pl330", "arm,primecell";
  252. reg = <0xfff3d000 0x1000>;
  253. interrupts = <0 92 4>;
  254. clocks = <&pclk>;
  255. clock-names = "apb_pclk";
  256. };
  257. ethernet@fff50000 {
  258. compatible = "calxeda,hb-xgmac";
  259. reg = <0xfff50000 0x1000>;
  260. interrupts = <0 77 4 0 78 4 0 79 4>;
  261. };
  262. ethernet@fff51000 {
  263. compatible = "calxeda,hb-xgmac";
  264. reg = <0xfff51000 0x1000>;
  265. interrupts = <0 80 4 0 81 4 0 82 4>;
  266. };
  267. };
  268. };