highbank.dts 6.8 KB

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