mpc8572ds.dts 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535
  1. /*
  2. * MPC8572 DS Device Tree Source
  3. *
  4. * Copyright 2007, 2008 Freescale Semiconductor Inc.
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License as published by the
  8. * Free Software Foundation; either version 2 of the License, or (at your
  9. * option) any later version.
  10. */
  11. /dts-v1/;
  12. / {
  13. model = "fsl,MPC8572DS";
  14. compatible = "fsl,MPC8572DS";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. aliases {
  18. ethernet0 = &enet0;
  19. ethernet1 = &enet1;
  20. ethernet2 = &enet2;
  21. ethernet3 = &enet3;
  22. serial0 = &serial0;
  23. serial1 = &serial1;
  24. pci0 = &pci0;
  25. pci1 = &pci1;
  26. pci2 = &pci2;
  27. };
  28. cpus {
  29. #address-cells = <1>;
  30. #size-cells = <0>;
  31. PowerPC,8572@0 {
  32. device_type = "cpu";
  33. reg = <0x0>;
  34. d-cache-line-size = <32>; // 32 bytes
  35. i-cache-line-size = <32>; // 32 bytes
  36. d-cache-size = <0x8000>; // L1, 32K
  37. i-cache-size = <0x8000>; // L1, 32K
  38. timebase-frequency = <0>;
  39. bus-frequency = <0>;
  40. clock-frequency = <0>;
  41. };
  42. PowerPC,8572@1 {
  43. device_type = "cpu";
  44. reg = <0x1>;
  45. d-cache-line-size = <32>; // 32 bytes
  46. i-cache-line-size = <32>; // 32 bytes
  47. d-cache-size = <0x8000>; // L1, 32K
  48. i-cache-size = <0x8000>; // L1, 32K
  49. timebase-frequency = <0>;
  50. bus-frequency = <0>;
  51. clock-frequency = <0>;
  52. };
  53. };
  54. memory {
  55. device_type = "memory";
  56. reg = <0x0 0x0>; // Filled by U-Boot
  57. };
  58. soc8572@ffe00000 {
  59. #address-cells = <1>;
  60. #size-cells = <1>;
  61. device_type = "soc";
  62. ranges = <0x0 0xffe00000 0x100000>;
  63. reg = <0xffe00000 0x1000>; // CCSRBAR & soc regs, remove once parse code for immrbase fixed
  64. bus-frequency = <0>; // Filled out by uboot.
  65. memory-controller@2000 {
  66. compatible = "fsl,mpc8572-memory-controller";
  67. reg = <0x2000 0x1000>;
  68. interrupt-parent = <&mpic>;
  69. interrupts = <18 2>;
  70. };
  71. memory-controller@6000 {
  72. compatible = "fsl,mpc8572-memory-controller";
  73. reg = <0x6000 0x1000>;
  74. interrupt-parent = <&mpic>;
  75. interrupts = <18 2>;
  76. };
  77. l2-cache-controller@20000 {
  78. compatible = "fsl,mpc8572-l2-cache-controller";
  79. reg = <0x20000 0x1000>;
  80. cache-line-size = <32>; // 32 bytes
  81. cache-size = <0x80000>; // L2, 512K
  82. interrupt-parent = <&mpic>;
  83. interrupts = <16 2>;
  84. };
  85. i2c@3000 {
  86. #address-cells = <1>;
  87. #size-cells = <0>;
  88. cell-index = <0>;
  89. compatible = "fsl-i2c";
  90. reg = <0x3000 0x100>;
  91. interrupts = <43 2>;
  92. interrupt-parent = <&mpic>;
  93. dfsrr;
  94. };
  95. i2c@3100 {
  96. #address-cells = <1>;
  97. #size-cells = <0>;
  98. cell-index = <1>;
  99. compatible = "fsl-i2c";
  100. reg = <0x3100 0x100>;
  101. interrupts = <43 2>;
  102. interrupt-parent = <&mpic>;
  103. dfsrr;
  104. };
  105. mdio@24520 {
  106. #address-cells = <1>;
  107. #size-cells = <0>;
  108. compatible = "fsl,gianfar-mdio";
  109. reg = <0x24520 0x20>;
  110. phy0: ethernet-phy@0 {
  111. interrupt-parent = <&mpic>;
  112. interrupts = <10 1>;
  113. reg = <0x0>;
  114. };
  115. phy1: ethernet-phy@1 {
  116. interrupt-parent = <&mpic>;
  117. interrupts = <10 1>;
  118. reg = <0x1>;
  119. };
  120. phy2: ethernet-phy@2 {
  121. interrupt-parent = <&mpic>;
  122. interrupts = <10 1>;
  123. reg = <0x2>;
  124. };
  125. phy3: ethernet-phy@3 {
  126. interrupt-parent = <&mpic>;
  127. interrupts = <10 1>;
  128. reg = <0x3>;
  129. };
  130. };
  131. enet0: ethernet@24000 {
  132. cell-index = <0>;
  133. device_type = "network";
  134. model = "eTSEC";
  135. compatible = "gianfar";
  136. reg = <0x24000 0x1000>;
  137. local-mac-address = [ 00 00 00 00 00 00 ];
  138. interrupts = <29 2 30 2 34 2>;
  139. interrupt-parent = <&mpic>;
  140. phy-handle = <&phy0>;
  141. phy-connection-type = "rgmii-id";
  142. };
  143. enet1: ethernet@25000 {
  144. cell-index = <1>;
  145. device_type = "network";
  146. model = "eTSEC";
  147. compatible = "gianfar";
  148. reg = <0x25000 0x1000>;
  149. local-mac-address = [ 00 00 00 00 00 00 ];
  150. interrupts = <35 2 36 2 40 2>;
  151. interrupt-parent = <&mpic>;
  152. phy-handle = <&phy1>;
  153. phy-connection-type = "rgmii-id";
  154. };
  155. enet2: ethernet@26000 {
  156. cell-index = <2>;
  157. device_type = "network";
  158. model = "eTSEC";
  159. compatible = "gianfar";
  160. reg = <0x26000 0x1000>;
  161. local-mac-address = [ 00 00 00 00 00 00 ];
  162. interrupts = <31 2 32 2 33 2>;
  163. interrupt-parent = <&mpic>;
  164. phy-handle = <&phy2>;
  165. phy-connection-type = "rgmii-id";
  166. };
  167. enet3: ethernet@27000 {
  168. cell-index = <3>;
  169. device_type = "network";
  170. model = "eTSEC";
  171. compatible = "gianfar";
  172. reg = <0x27000 0x1000>;
  173. local-mac-address = [ 00 00 00 00 00 00 ];
  174. interrupts = <37 2 38 2 39 2>;
  175. interrupt-parent = <&mpic>;
  176. phy-handle = <&phy3>;
  177. phy-connection-type = "rgmii-id";
  178. };
  179. serial0: serial@4500 {
  180. cell-index = <0>;
  181. device_type = "serial";
  182. compatible = "ns16550";
  183. reg = <0x4500 0x100>;
  184. clock-frequency = <0>;
  185. interrupts = <42 2>;
  186. interrupt-parent = <&mpic>;
  187. };
  188. serial1: serial@4600 {
  189. cell-index = <1>;
  190. device_type = "serial";
  191. compatible = "ns16550";
  192. reg = <0x4600 0x100>;
  193. clock-frequency = <0>;
  194. interrupts = <42 2>;
  195. interrupt-parent = <&mpic>;
  196. };
  197. global-utilities@e0000 { //global utilities block
  198. compatible = "fsl,mpc8572-guts";
  199. reg = <0xe0000 0x1000>;
  200. fsl,has-rstcr;
  201. };
  202. msi@41600 {
  203. compatible = "fsl,mpc8572-msi", "fsl,mpic-msi";
  204. reg = <0x41600 0x80>;
  205. msi-available-ranges = <0 0x100>;
  206. interrupts = <
  207. 0xe0 0
  208. 0xe1 0
  209. 0xe2 0
  210. 0xe3 0
  211. 0xe4 0
  212. 0xe5 0
  213. 0xe6 0
  214. 0xe7 0>;
  215. interrupt-parent = <&mpic>;
  216. };
  217. mpic: pic@40000 {
  218. clock-frequency = <0>;
  219. interrupt-controller;
  220. #address-cells = <0>;
  221. #interrupt-cells = <2>;
  222. reg = <0x40000 0x40000>;
  223. compatible = "chrp,open-pic";
  224. device_type = "open-pic";
  225. big-endian;
  226. };
  227. };
  228. pci0: pcie@ffe08000 {
  229. cell-index = <0>;
  230. compatible = "fsl,mpc8548-pcie";
  231. device_type = "pci";
  232. #interrupt-cells = <1>;
  233. #size-cells = <2>;
  234. #address-cells = <3>;
  235. reg = <0xffe08000 0x1000>;
  236. bus-range = <0 255>;
  237. ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
  238. 0x1000000 0x0 0x0 0xffc00000 0x0 0x10000>;
  239. clock-frequency = <33333333>;
  240. interrupt-parent = <&mpic>;
  241. interrupts = <24 2>;
  242. interrupt-map-mask = <0xff00 0x0 0x0 0x7>;
  243. interrupt-map = <
  244. /* IDSEL 0x11 func 0 - PCI slot 1 */
  245. 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1
  246. 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1
  247. 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1
  248. 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1
  249. /* IDSEL 0x11 func 1 - PCI slot 1 */
  250. 0x8900 0x0 0x0 0x1 &mpic 0x2 0x1
  251. 0x8900 0x0 0x0 0x2 &mpic 0x3 0x1
  252. 0x8900 0x0 0x0 0x3 &mpic 0x4 0x1
  253. 0x8900 0x0 0x0 0x4 &mpic 0x1 0x1
  254. /* IDSEL 0x11 func 2 - PCI slot 1 */
  255. 0x8a00 0x0 0x0 0x1 &mpic 0x2 0x1
  256. 0x8a00 0x0 0x0 0x2 &mpic 0x3 0x1
  257. 0x8a00 0x0 0x0 0x3 &mpic 0x4 0x1
  258. 0x8a00 0x0 0x0 0x4 &mpic 0x1 0x1
  259. /* IDSEL 0x11 func 3 - PCI slot 1 */
  260. 0x8b00 0x0 0x0 0x1 &mpic 0x2 0x1
  261. 0x8b00 0x0 0x0 0x2 &mpic 0x3 0x1
  262. 0x8b00 0x0 0x0 0x3 &mpic 0x4 0x1
  263. 0x8b00 0x0 0x0 0x4 &mpic 0x1 0x1
  264. /* IDSEL 0x11 func 4 - PCI slot 1 */
  265. 0x8c00 0x0 0x0 0x1 &mpic 0x2 0x1
  266. 0x8c00 0x0 0x0 0x2 &mpic 0x3 0x1
  267. 0x8c00 0x0 0x0 0x3 &mpic 0x4 0x1
  268. 0x8c00 0x0 0x0 0x4 &mpic 0x1 0x1
  269. /* IDSEL 0x11 func 5 - PCI slot 1 */
  270. 0x8d00 0x0 0x0 0x1 &mpic 0x2 0x1
  271. 0x8d00 0x0 0x0 0x2 &mpic 0x3 0x1
  272. 0x8d00 0x0 0x0 0x3 &mpic 0x4 0x1
  273. 0x8d00 0x0 0x0 0x4 &mpic 0x1 0x1
  274. /* IDSEL 0x11 func 6 - PCI slot 1 */
  275. 0x8e00 0x0 0x0 0x1 &mpic 0x2 0x1
  276. 0x8e00 0x0 0x0 0x2 &mpic 0x3 0x1
  277. 0x8e00 0x0 0x0 0x3 &mpic 0x4 0x1
  278. 0x8e00 0x0 0x0 0x4 &mpic 0x1 0x1
  279. /* IDSEL 0x11 func 7 - PCI slot 1 */
  280. 0x8f00 0x0 0x0 0x1 &mpic 0x2 0x1
  281. 0x8f00 0x0 0x0 0x2 &mpic 0x3 0x1
  282. 0x8f00 0x0 0x0 0x3 &mpic 0x4 0x1
  283. 0x8f00 0x0 0x0 0x4 &mpic 0x1 0x1
  284. /* IDSEL 0x12 func 0 - PCI slot 2 */
  285. 0x9000 0x0 0x0 0x1 &mpic 0x3 0x1
  286. 0x9000 0x0 0x0 0x2 &mpic 0x4 0x1
  287. 0x9000 0x0 0x0 0x3 &mpic 0x1 0x1
  288. 0x9000 0x0 0x0 0x4 &mpic 0x2 0x1
  289. /* IDSEL 0x12 func 1 - PCI slot 2 */
  290. 0x9100 0x0 0x0 0x1 &mpic 0x3 0x1
  291. 0x9100 0x0 0x0 0x2 &mpic 0x4 0x1
  292. 0x9100 0x0 0x0 0x3 &mpic 0x1 0x1
  293. 0x9100 0x0 0x0 0x4 &mpic 0x2 0x1
  294. /* IDSEL 0x12 func 2 - PCI slot 2 */
  295. 0x9200 0x0 0x0 0x1 &mpic 0x3 0x1
  296. 0x9200 0x0 0x0 0x2 &mpic 0x4 0x1
  297. 0x9200 0x0 0x0 0x3 &mpic 0x1 0x1
  298. 0x9200 0x0 0x0 0x4 &mpic 0x2 0x1
  299. /* IDSEL 0x12 func 3 - PCI slot 2 */
  300. 0x9300 0x0 0x0 0x1 &mpic 0x3 0x1
  301. 0x9300 0x0 0x0 0x2 &mpic 0x4 0x1
  302. 0x9300 0x0 0x0 0x3 &mpic 0x1 0x1
  303. 0x9300 0x0 0x0 0x4 &mpic 0x2 0x1
  304. /* IDSEL 0x12 func 4 - PCI slot 2 */
  305. 0x9400 0x0 0x0 0x1 &mpic 0x3 0x1
  306. 0x9400 0x0 0x0 0x2 &mpic 0x4 0x1
  307. 0x9400 0x0 0x0 0x3 &mpic 0x1 0x1
  308. 0x9400 0x0 0x0 0x4 &mpic 0x2 0x1
  309. /* IDSEL 0x12 func 5 - PCI slot 2 */
  310. 0x9500 0x0 0x0 0x1 &mpic 0x3 0x1
  311. 0x9500 0x0 0x0 0x2 &mpic 0x4 0x1
  312. 0x9500 0x0 0x0 0x3 &mpic 0x1 0x1
  313. 0x9500 0x0 0x0 0x4 &mpic 0x2 0x1
  314. /* IDSEL 0x12 func 6 - PCI slot 2 */
  315. 0x9600 0x0 0x0 0x1 &mpic 0x3 0x1
  316. 0x9600 0x0 0x0 0x2 &mpic 0x4 0x1
  317. 0x9600 0x0 0x0 0x3 &mpic 0x1 0x1
  318. 0x9600 0x0 0x0 0x4 &mpic 0x2 0x1
  319. /* IDSEL 0x12 func 7 - PCI slot 2 */
  320. 0x9700 0x0 0x0 0x1 &mpic 0x3 0x1
  321. 0x9700 0x0 0x0 0x2 &mpic 0x4 0x1
  322. 0x9700 0x0 0x0 0x3 &mpic 0x1 0x1
  323. 0x9700 0x0 0x0 0x4 &mpic 0x2 0x1
  324. // IDSEL 0x1c USB
  325. 0xe000 0x0 0x0 0x1 &i8259 0xc 0x2
  326. 0xe100 0x0 0x0 0x2 &i8259 0x9 0x2
  327. 0xe200 0x0 0x0 0x3 &i8259 0xa 0x2
  328. 0xe300 0x0 0x0 0x4 &i8259 0xb 0x2
  329. // IDSEL 0x1d Audio
  330. 0xe800 0x0 0x0 0x1 &i8259 0x6 0x2
  331. // IDSEL 0x1e Legacy
  332. 0xf000 0x0 0x0 0x1 &i8259 0x7 0x2
  333. 0xf100 0x0 0x0 0x1 &i8259 0x7 0x2
  334. // IDSEL 0x1f IDE/SATA
  335. 0xf800 0x0 0x0 0x1 &i8259 0xe 0x2
  336. 0xf900 0x0 0x0 0x1 &i8259 0x5 0x2
  337. >;
  338. pcie@0 {
  339. reg = <0x0 0x0 0x0 0x0 0x0>;
  340. #size-cells = <2>;
  341. #address-cells = <3>;
  342. device_type = "pci";
  343. ranges = <0x2000000 0x0 0x80000000
  344. 0x2000000 0x0 0x80000000
  345. 0x0 0x20000000
  346. 0x1000000 0x0 0x0
  347. 0x1000000 0x0 0x0
  348. 0x0 0x100000>;
  349. uli1575@0 {
  350. reg = <0x0 0x0 0x0 0x0 0x0>;
  351. #size-cells = <2>;
  352. #address-cells = <3>;
  353. ranges = <0x2000000 0x0 0x80000000
  354. 0x2000000 0x0 0x80000000
  355. 0x0 0x20000000
  356. 0x1000000 0x0 0x0
  357. 0x1000000 0x0 0x0
  358. 0x0 0x100000>;
  359. isa@1e {
  360. device_type = "isa";
  361. #interrupt-cells = <2>;
  362. #size-cells = <1>;
  363. #address-cells = <2>;
  364. reg = <0xf000 0x0 0x0 0x0 0x0>;
  365. ranges = <0x1 0x0 0x1000000 0x0 0x0
  366. 0x1000>;
  367. interrupt-parent = <&i8259>;
  368. i8259: interrupt-controller@20 {
  369. reg = <0x1 0x20 0x2
  370. 0x1 0xa0 0x2
  371. 0x1 0x4d0 0x2>;
  372. interrupt-controller;
  373. device_type = "interrupt-controller";
  374. #address-cells = <0>;
  375. #interrupt-cells = <2>;
  376. compatible = "chrp,iic";
  377. interrupts = <9 2>;
  378. interrupt-parent = <&mpic>;
  379. };
  380. i8042@60 {
  381. #size-cells = <0>;
  382. #address-cells = <1>;
  383. reg = <0x1 0x60 0x1 0x1 0x64 0x1>;
  384. interrupts = <1 3 12 3>;
  385. interrupt-parent =
  386. <&i8259>;
  387. keyboard@0 {
  388. reg = <0x0>;
  389. compatible = "pnpPNP,303";
  390. };
  391. mouse@1 {
  392. reg = <0x1>;
  393. compatible = "pnpPNP,f03";
  394. };
  395. };
  396. rtc@70 {
  397. compatible = "pnpPNP,b00";
  398. reg = <0x1 0x70 0x2>;
  399. };
  400. gpio@400 {
  401. reg = <0x1 0x400 0x80>;
  402. };
  403. };
  404. };
  405. };
  406. };
  407. pci1: pcie@ffe09000 {
  408. cell-index = <1>;
  409. compatible = "fsl,mpc8548-pcie";
  410. device_type = "pci";
  411. #interrupt-cells = <1>;
  412. #size-cells = <2>;
  413. #address-cells = <3>;
  414. reg = <0xffe09000 0x1000>;
  415. bus-range = <0 255>;
  416. ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
  417. 0x1000000 0x0 0x0 0xffc10000 0x0 0x10000>;
  418. clock-frequency = <33333333>;
  419. interrupt-parent = <&mpic>;
  420. interrupts = <26 2>;
  421. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  422. interrupt-map = <
  423. /* IDSEL 0x0 */
  424. 0000 0x0 0x0 0x1 &mpic 0x4 0x1
  425. 0000 0x0 0x0 0x2 &mpic 0x5 0x1
  426. 0000 0x0 0x0 0x3 &mpic 0x6 0x1
  427. 0000 0x0 0x0 0x4 &mpic 0x7 0x1
  428. >;
  429. pcie@0 {
  430. reg = <0x0 0x0 0x0 0x0 0x0>;
  431. #size-cells = <2>;
  432. #address-cells = <3>;
  433. device_type = "pci";
  434. ranges = <0x2000000 0x0 0xa0000000
  435. 0x2000000 0x0 0xa0000000
  436. 0x0 0x20000000
  437. 0x1000000 0x0 0x0
  438. 0x1000000 0x0 0x0
  439. 0x0 0x100000>;
  440. };
  441. };
  442. pci2: pcie@ffe0a000 {
  443. cell-index = <2>;
  444. compatible = "fsl,mpc8548-pcie";
  445. device_type = "pci";
  446. #interrupt-cells = <1>;
  447. #size-cells = <2>;
  448. #address-cells = <3>;
  449. reg = <0xffe0a000 0x1000>;
  450. bus-range = <0 255>;
  451. ranges = <0x2000000 0x0 0xc0000000 0xc0000000 0x0 0x20000000
  452. 0x1000000 0x0 0x0 0xffc20000 0x0 0x10000>;
  453. clock-frequency = <33333333>;
  454. interrupt-parent = <&mpic>;
  455. interrupts = <27 2>;
  456. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  457. interrupt-map = <
  458. /* IDSEL 0x0 */
  459. 0000 0x0 0x0 0x1 &mpic 0x0 0x1
  460. 0000 0x0 0x0 0x2 &mpic 0x1 0x1
  461. 0000 0x0 0x0 0x3 &mpic 0x2 0x1
  462. 0000 0x0 0x0 0x4 &mpic 0x3 0x1
  463. >;
  464. pcie@0 {
  465. reg = <0x0 0x0 0x0 0x0 0x0>;
  466. #size-cells = <2>;
  467. #address-cells = <3>;
  468. device_type = "pci";
  469. ranges = <0x2000000 0x0 0xc0000000
  470. 0x2000000 0x0 0xc0000000
  471. 0x0 0x20000000
  472. 0x1000000 0x0 0x0
  473. 0x1000000 0x0 0x0
  474. 0x0 0x100000>;
  475. };
  476. };
  477. };