highbank.dts 6.8 KB

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