mpc8572ds.dts 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519
  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. mpic: pic@40000 {
  203. clock-frequency = <0>;
  204. interrupt-controller;
  205. #address-cells = <0>;
  206. #interrupt-cells = <2>;
  207. reg = <0x40000 0x40000>;
  208. compatible = "chrp,open-pic";
  209. device_type = "open-pic";
  210. big-endian;
  211. };
  212. };
  213. pci0: pcie@ffe08000 {
  214. cell-index = <0>;
  215. compatible = "fsl,mpc8548-pcie";
  216. device_type = "pci";
  217. #interrupt-cells = <1>;
  218. #size-cells = <2>;
  219. #address-cells = <3>;
  220. reg = <0xffe08000 0x1000>;
  221. bus-range = <0 255>;
  222. ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
  223. 0x1000000 0x0 0x0 0xffc00000 0x0 0x10000>;
  224. clock-frequency = <33333333>;
  225. interrupt-parent = <&mpic>;
  226. interrupts = <24 2>;
  227. interrupt-map-mask = <0xff00 0x0 0x0 0x7>;
  228. interrupt-map = <
  229. /* IDSEL 0x11 func 0 - PCI slot 1 */
  230. 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1
  231. 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1
  232. 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1
  233. 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1
  234. /* IDSEL 0x11 func 1 - PCI slot 1 */
  235. 0x8900 0x0 0x0 0x1 &mpic 0x2 0x1
  236. 0x8900 0x0 0x0 0x2 &mpic 0x3 0x1
  237. 0x8900 0x0 0x0 0x3 &mpic 0x4 0x1
  238. 0x8900 0x0 0x0 0x4 &mpic 0x1 0x1
  239. /* IDSEL 0x11 func 2 - PCI slot 1 */
  240. 0x8a00 0x0 0x0 0x1 &mpic 0x2 0x1
  241. 0x8a00 0x0 0x0 0x2 &mpic 0x3 0x1
  242. 0x8a00 0x0 0x0 0x3 &mpic 0x4 0x1
  243. 0x8a00 0x0 0x0 0x4 &mpic 0x1 0x1
  244. /* IDSEL 0x11 func 3 - PCI slot 1 */
  245. 0x8b00 0x0 0x0 0x1 &mpic 0x2 0x1
  246. 0x8b00 0x0 0x0 0x2 &mpic 0x3 0x1
  247. 0x8b00 0x0 0x0 0x3 &mpic 0x4 0x1
  248. 0x8b00 0x0 0x0 0x4 &mpic 0x1 0x1
  249. /* IDSEL 0x11 func 4 - PCI slot 1 */
  250. 0x8c00 0x0 0x0 0x1 &mpic 0x2 0x1
  251. 0x8c00 0x0 0x0 0x2 &mpic 0x3 0x1
  252. 0x8c00 0x0 0x0 0x3 &mpic 0x4 0x1
  253. 0x8c00 0x0 0x0 0x4 &mpic 0x1 0x1
  254. /* IDSEL 0x11 func 5 - PCI slot 1 */
  255. 0x8d00 0x0 0x0 0x1 &mpic 0x2 0x1
  256. 0x8d00 0x0 0x0 0x2 &mpic 0x3 0x1
  257. 0x8d00 0x0 0x0 0x3 &mpic 0x4 0x1
  258. 0x8d00 0x0 0x0 0x4 &mpic 0x1 0x1
  259. /* IDSEL 0x11 func 6 - PCI slot 1 */
  260. 0x8e00 0x0 0x0 0x1 &mpic 0x2 0x1
  261. 0x8e00 0x0 0x0 0x2 &mpic 0x3 0x1
  262. 0x8e00 0x0 0x0 0x3 &mpic 0x4 0x1
  263. 0x8e00 0x0 0x0 0x4 &mpic 0x1 0x1
  264. /* IDSEL 0x11 func 7 - PCI slot 1 */
  265. 0x8f00 0x0 0x0 0x1 &mpic 0x2 0x1
  266. 0x8f00 0x0 0x0 0x2 &mpic 0x3 0x1
  267. 0x8f00 0x0 0x0 0x3 &mpic 0x4 0x1
  268. 0x8f00 0x0 0x0 0x4 &mpic 0x1 0x1
  269. /* IDSEL 0x12 func 0 - PCI slot 2 */
  270. 0x9000 0x0 0x0 0x1 &mpic 0x3 0x1
  271. 0x9000 0x0 0x0 0x2 &mpic 0x4 0x1
  272. 0x9000 0x0 0x0 0x3 &mpic 0x1 0x1
  273. 0x9000 0x0 0x0 0x4 &mpic 0x2 0x1
  274. /* IDSEL 0x12 func 1 - PCI slot 2 */
  275. 0x9100 0x0 0x0 0x1 &mpic 0x3 0x1
  276. 0x9100 0x0 0x0 0x2 &mpic 0x4 0x1
  277. 0x9100 0x0 0x0 0x3 &mpic 0x1 0x1
  278. 0x9100 0x0 0x0 0x4 &mpic 0x2 0x1
  279. /* IDSEL 0x12 func 2 - PCI slot 2 */
  280. 0x9200 0x0 0x0 0x1 &mpic 0x3 0x1
  281. 0x9200 0x0 0x0 0x2 &mpic 0x4 0x1
  282. 0x9200 0x0 0x0 0x3 &mpic 0x1 0x1
  283. 0x9200 0x0 0x0 0x4 &mpic 0x2 0x1
  284. /* IDSEL 0x12 func 3 - PCI slot 2 */
  285. 0x9300 0x0 0x0 0x1 &mpic 0x3 0x1
  286. 0x9300 0x0 0x0 0x2 &mpic 0x4 0x1
  287. 0x9300 0x0 0x0 0x3 &mpic 0x1 0x1
  288. 0x9300 0x0 0x0 0x4 &mpic 0x2 0x1
  289. /* IDSEL 0x12 func 4 - PCI slot 2 */
  290. 0x9400 0x0 0x0 0x1 &mpic 0x3 0x1
  291. 0x9400 0x0 0x0 0x2 &mpic 0x4 0x1
  292. 0x9400 0x0 0x0 0x3 &mpic 0x1 0x1
  293. 0x9400 0x0 0x0 0x4 &mpic 0x2 0x1
  294. /* IDSEL 0x12 func 5 - PCI slot 2 */
  295. 0x9500 0x0 0x0 0x1 &mpic 0x3 0x1
  296. 0x9500 0x0 0x0 0x2 &mpic 0x4 0x1
  297. 0x9500 0x0 0x0 0x3 &mpic 0x1 0x1
  298. 0x9500 0x0 0x0 0x4 &mpic 0x2 0x1
  299. /* IDSEL 0x12 func 6 - PCI slot 2 */
  300. 0x9600 0x0 0x0 0x1 &mpic 0x3 0x1
  301. 0x9600 0x0 0x0 0x2 &mpic 0x4 0x1
  302. 0x9600 0x0 0x0 0x3 &mpic 0x1 0x1
  303. 0x9600 0x0 0x0 0x4 &mpic 0x2 0x1
  304. /* IDSEL 0x12 func 7 - PCI slot 2 */
  305. 0x9700 0x0 0x0 0x1 &mpic 0x3 0x1
  306. 0x9700 0x0 0x0 0x2 &mpic 0x4 0x1
  307. 0x9700 0x0 0x0 0x3 &mpic 0x1 0x1
  308. 0x9700 0x0 0x0 0x4 &mpic 0x2 0x1
  309. // IDSEL 0x1c USB
  310. 0xe000 0x0 0x0 0x1 &i8259 0xc 0x2
  311. 0xe100 0x0 0x0 0x2 &i8259 0x9 0x2
  312. 0xe200 0x0 0x0 0x3 &i8259 0xa 0x2
  313. 0xe300 0x0 0x0 0x4 &i8259 0xb 0x2
  314. // IDSEL 0x1d Audio
  315. 0xe800 0x0 0x0 0x1 &i8259 0x6 0x2
  316. // IDSEL 0x1e Legacy
  317. 0xf000 0x0 0x0 0x1 &i8259 0x7 0x2
  318. 0xf100 0x0 0x0 0x1 &i8259 0x7 0x2
  319. // IDSEL 0x1f IDE/SATA
  320. 0xf800 0x0 0x0 0x1 &i8259 0xe 0x2
  321. 0xf900 0x0 0x0 0x1 &i8259 0x5 0x2
  322. >;
  323. pcie@0 {
  324. reg = <0x0 0x0 0x0 0x0 0x0>;
  325. #size-cells = <2>;
  326. #address-cells = <3>;
  327. device_type = "pci";
  328. ranges = <0x2000000 0x0 0x80000000
  329. 0x2000000 0x0 0x80000000
  330. 0x0 0x20000000
  331. 0x1000000 0x0 0x0
  332. 0x1000000 0x0 0x0
  333. 0x0 0x100000>;
  334. uli1575@0 {
  335. reg = <0x0 0x0 0x0 0x0 0x0>;
  336. #size-cells = <2>;
  337. #address-cells = <3>;
  338. ranges = <0x2000000 0x0 0x80000000
  339. 0x2000000 0x0 0x80000000
  340. 0x0 0x20000000
  341. 0x1000000 0x0 0x0
  342. 0x1000000 0x0 0x0
  343. 0x0 0x100000>;
  344. isa@1e {
  345. device_type = "isa";
  346. #interrupt-cells = <2>;
  347. #size-cells = <1>;
  348. #address-cells = <2>;
  349. reg = <0xf000 0x0 0x0 0x0 0x0>;
  350. ranges = <0x1 0x0 0x1000000 0x0 0x0
  351. 0x1000>;
  352. interrupt-parent = <&i8259>;
  353. i8259: interrupt-controller@20 {
  354. reg = <0x1 0x20 0x2
  355. 0x1 0xa0 0x2
  356. 0x1 0x4d0 0x2>;
  357. interrupt-controller;
  358. device_type = "interrupt-controller";
  359. #address-cells = <0>;
  360. #interrupt-cells = <2>;
  361. compatible = "chrp,iic";
  362. interrupts = <9 2>;
  363. interrupt-parent = <&mpic>;
  364. };
  365. i8042@60 {
  366. #size-cells = <0>;
  367. #address-cells = <1>;
  368. reg = <0x1 0x60 0x1 0x1 0x64 0x1>;
  369. interrupts = <1 3 12 3>;
  370. interrupt-parent =
  371. <&i8259>;
  372. keyboard@0 {
  373. reg = <0x0>;
  374. compatible = "pnpPNP,303";
  375. };
  376. mouse@1 {
  377. reg = <0x1>;
  378. compatible = "pnpPNP,f03";
  379. };
  380. };
  381. rtc@70 {
  382. compatible = "pnpPNP,b00";
  383. reg = <0x1 0x70 0x2>;
  384. };
  385. gpio@400 {
  386. reg = <0x1 0x400 0x80>;
  387. };
  388. };
  389. };
  390. };
  391. };
  392. pci1: pcie@ffe09000 {
  393. cell-index = <1>;
  394. compatible = "fsl,mpc8548-pcie";
  395. device_type = "pci";
  396. #interrupt-cells = <1>;
  397. #size-cells = <2>;
  398. #address-cells = <3>;
  399. reg = <0xffe09000 0x1000>;
  400. bus-range = <0 255>;
  401. ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
  402. 0x1000000 0x0 0x0 0xffc10000 0x0 0x10000>;
  403. clock-frequency = <33333333>;
  404. interrupt-parent = <&mpic>;
  405. interrupts = <26 2>;
  406. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  407. interrupt-map = <
  408. /* IDSEL 0x0 */
  409. 0000 0x0 0x0 0x1 &mpic 0x4 0x1
  410. 0000 0x0 0x0 0x2 &mpic 0x5 0x1
  411. 0000 0x0 0x0 0x3 &mpic 0x6 0x1
  412. 0000 0x0 0x0 0x4 &mpic 0x7 0x1
  413. >;
  414. pcie@0 {
  415. reg = <0x0 0x0 0x0 0x0 0x0>;
  416. #size-cells = <2>;
  417. #address-cells = <3>;
  418. device_type = "pci";
  419. ranges = <0x2000000 0x0 0xa0000000
  420. 0x2000000 0x0 0xa0000000
  421. 0x0 0x20000000
  422. 0x1000000 0x0 0x0
  423. 0x1000000 0x0 0x0
  424. 0x0 0x100000>;
  425. };
  426. };
  427. pci2: pcie@ffe0a000 {
  428. cell-index = <2>;
  429. compatible = "fsl,mpc8548-pcie";
  430. device_type = "pci";
  431. #interrupt-cells = <1>;
  432. #size-cells = <2>;
  433. #address-cells = <3>;
  434. reg = <0xffe0a000 0x1000>;
  435. bus-range = <0 255>;
  436. ranges = <0x2000000 0x0 0xc0000000 0xc0000000 0x0 0x20000000
  437. 0x1000000 0x0 0x0 0xffc20000 0x0 0x10000>;
  438. clock-frequency = <33333333>;
  439. interrupt-parent = <&mpic>;
  440. interrupts = <27 2>;
  441. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  442. interrupt-map = <
  443. /* IDSEL 0x0 */
  444. 0000 0x0 0x0 0x1 &mpic 0x0 0x1
  445. 0000 0x0 0x0 0x2 &mpic 0x1 0x1
  446. 0000 0x0 0x0 0x3 &mpic 0x2 0x1
  447. 0000 0x0 0x0 0x4 &mpic 0x3 0x1
  448. >;
  449. pcie@0 {
  450. reg = <0x0 0x0 0x0 0x0 0x0>;
  451. #size-cells = <2>;
  452. #address-cells = <3>;
  453. device_type = "pci";
  454. ranges = <0x2000000 0x0 0xc0000000
  455. 0x2000000 0x0 0xc0000000
  456. 0x0 0x20000000
  457. 0x1000000 0x0 0x0
  458. 0x1000000 0x0 0x0
  459. 0x0 0x100000>;
  460. };
  461. };
  462. };