mpc8572ds.dts 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518
  1. /*
  2. * MPC8572 DS Device Tree Source
  3. *
  4. * Copyright 2007 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. / {
  12. model = "fsl,MPC8572DS";
  13. compatible = "fsl,MPC8572DS";
  14. #address-cells = <1>;
  15. #size-cells = <1>;
  16. aliases {
  17. ethernet0 = &enet0;
  18. ethernet1 = &enet1;
  19. ethernet2 = &enet2;
  20. ethernet3 = &enet3;
  21. serial0 = &serial0;
  22. serial1 = &serial1;
  23. pci0 = &pci0;
  24. pci1 = &pci1;
  25. pci2 = &pci2;
  26. };
  27. cpus {
  28. #address-cells = <1>;
  29. #size-cells = <0>;
  30. PowerPC,8572@0 {
  31. device_type = "cpu";
  32. reg = <0>;
  33. d-cache-line-size = <20>; // 32 bytes
  34. i-cache-line-size = <20>; // 32 bytes
  35. d-cache-size = <8000>; // L1, 32K
  36. i-cache-size = <8000>; // L1, 32K
  37. timebase-frequency = <0>;
  38. bus-frequency = <0>;
  39. clock-frequency = <0>;
  40. };
  41. PowerPC,8572@1 {
  42. device_type = "cpu";
  43. reg = <1>;
  44. d-cache-line-size = <20>; // 32 bytes
  45. i-cache-line-size = <20>; // 32 bytes
  46. d-cache-size = <8000>; // L1, 32K
  47. i-cache-size = <8000>; // L1, 32K
  48. timebase-frequency = <0>;
  49. bus-frequency = <0>;
  50. clock-frequency = <0>;
  51. };
  52. };
  53. memory {
  54. device_type = "memory";
  55. reg = <00000000 00000000>; // Filled by U-Boot
  56. };
  57. soc8572@ffe00000 {
  58. #address-cells = <1>;
  59. #size-cells = <1>;
  60. device_type = "soc";
  61. ranges = <00000000 ffe00000 00100000>;
  62. reg = <ffe00000 00001000>; // CCSRBAR & soc regs, remove once parse code for immrbase fixed
  63. bus-frequency = <0>; // Filled out by uboot.
  64. memory-controller@2000 {
  65. compatible = "fsl,mpc8572-memory-controller";
  66. reg = <2000 1000>;
  67. interrupt-parent = <&mpic>;
  68. interrupts = <12 2>;
  69. };
  70. memory-controller@6000 {
  71. compatible = "fsl,mpc8572-memory-controller";
  72. reg = <6000 1000>;
  73. interrupt-parent = <&mpic>;
  74. interrupts = <12 2>;
  75. };
  76. l2-cache-controller@20000 {
  77. compatible = "fsl,mpc8572-l2-cache-controller";
  78. reg = <20000 1000>;
  79. cache-line-size = <20>; // 32 bytes
  80. cache-size = <80000>; // L2, 512K
  81. interrupt-parent = <&mpic>;
  82. interrupts = <10 2>;
  83. };
  84. i2c@3000 {
  85. #address-cells = <1>;
  86. #size-cells = <0>;
  87. cell-index = <0>;
  88. compatible = "fsl-i2c";
  89. reg = <3000 100>;
  90. interrupts = <2b 2>;
  91. interrupt-parent = <&mpic>;
  92. dfsrr;
  93. };
  94. i2c@3100 {
  95. #address-cells = <1>;
  96. #size-cells = <0>;
  97. cell-index = <1>;
  98. compatible = "fsl-i2c";
  99. reg = <3100 100>;
  100. interrupts = <2b 2>;
  101. interrupt-parent = <&mpic>;
  102. dfsrr;
  103. };
  104. mdio@24520 {
  105. #address-cells = <1>;
  106. #size-cells = <0>;
  107. compatible = "fsl,gianfar-mdio";
  108. reg = <24520 20>;
  109. phy0: ethernet-phy@0 {
  110. interrupt-parent = <&mpic>;
  111. interrupts = <a 1>;
  112. reg = <0>;
  113. };
  114. phy1: ethernet-phy@1 {
  115. interrupt-parent = <&mpic>;
  116. interrupts = <a 1>;
  117. reg = <1>;
  118. };
  119. phy2: ethernet-phy@2 {
  120. interrupt-parent = <&mpic>;
  121. interrupts = <a 1>;
  122. reg = <2>;
  123. };
  124. phy3: ethernet-phy@3 {
  125. interrupt-parent = <&mpic>;
  126. interrupts = <a 1>;
  127. reg = <3>;
  128. };
  129. };
  130. enet0: ethernet@24000 {
  131. cell-index = <0>;
  132. device_type = "network";
  133. model = "eTSEC";
  134. compatible = "gianfar";
  135. reg = <24000 1000>;
  136. local-mac-address = [ 00 00 00 00 00 00 ];
  137. interrupts = <1d 2 1e 2 22 2>;
  138. interrupt-parent = <&mpic>;
  139. phy-handle = <&phy0>;
  140. phy-connection-type = "rgmii-id";
  141. };
  142. enet1: ethernet@25000 {
  143. cell-index = <1>;
  144. device_type = "network";
  145. model = "eTSEC";
  146. compatible = "gianfar";
  147. reg = <25000 1000>;
  148. local-mac-address = [ 00 00 00 00 00 00 ];
  149. interrupts = <23 2 24 2 28 2>;
  150. interrupt-parent = <&mpic>;
  151. phy-handle = <&phy1>;
  152. phy-connection-type = "rgmii-id";
  153. };
  154. enet2: ethernet@26000 {
  155. cell-index = <2>;
  156. device_type = "network";
  157. model = "eTSEC";
  158. compatible = "gianfar";
  159. reg = <26000 1000>;
  160. local-mac-address = [ 00 00 00 00 00 00 ];
  161. interrupts = <1f 2 20 2 21 2>;
  162. interrupt-parent = <&mpic>;
  163. phy-handle = <&phy2>;
  164. phy-connection-type = "rgmii-id";
  165. };
  166. enet3: ethernet@27000 {
  167. cell-index = <3>;
  168. device_type = "network";
  169. model = "eTSEC";
  170. compatible = "gianfar";
  171. reg = <27000 1000>;
  172. local-mac-address = [ 00 00 00 00 00 00 ];
  173. interrupts = <25 2 26 2 27 2>;
  174. interrupt-parent = <&mpic>;
  175. phy-handle = <&phy3>;
  176. phy-connection-type = "rgmii-id";
  177. };
  178. serial0: serial@4500 {
  179. cell-index = <0>;
  180. device_type = "serial";
  181. compatible = "ns16550";
  182. reg = <4500 100>;
  183. clock-frequency = <0>;
  184. interrupts = <2a 2>;
  185. interrupt-parent = <&mpic>;
  186. };
  187. serial1: serial@4600 {
  188. cell-index = <1>;
  189. device_type = "serial";
  190. compatible = "ns16550";
  191. reg = <4600 100>;
  192. clock-frequency = <0>;
  193. interrupts = <2a 2>;
  194. interrupt-parent = <&mpic>;
  195. };
  196. global-utilities@e0000 { //global utilities block
  197. compatible = "fsl,mpc8572-guts";
  198. reg = <e0000 1000>;
  199. fsl,has-rstcr;
  200. };
  201. mpic: pic@40000 {
  202. clock-frequency = <0>;
  203. interrupt-controller;
  204. #address-cells = <0>;
  205. #interrupt-cells = <2>;
  206. reg = <40000 40000>;
  207. compatible = "chrp,open-pic";
  208. device_type = "open-pic";
  209. big-endian;
  210. };
  211. };
  212. pci0: pcie@ffe08000 {
  213. cell-index = <0>;
  214. compatible = "fsl,mpc8548-pcie";
  215. device_type = "pci";
  216. #interrupt-cells = <1>;
  217. #size-cells = <2>;
  218. #address-cells = <3>;
  219. reg = <ffe08000 1000>;
  220. bus-range = <0 ff>;
  221. ranges = <02000000 0 80000000 80000000 0 20000000
  222. 01000000 0 00000000 ffc00000 0 00010000>;
  223. clock-frequency = <1fca055>;
  224. interrupt-parent = <&mpic>;
  225. interrupts = <18 2>;
  226. interrupt-map-mask = <ff00 0 0 7>;
  227. interrupt-map = <
  228. /* IDSEL 0x11 func 0 - PCI slot 1 */
  229. 8800 0 0 1 &mpic 2 1
  230. 8800 0 0 2 &mpic 3 1
  231. 8800 0 0 3 &mpic 4 1
  232. 8800 0 0 4 &mpic 1 1
  233. /* IDSEL 0x11 func 1 - PCI slot 1 */
  234. 8900 0 0 1 &mpic 2 1
  235. 8900 0 0 2 &mpic 3 1
  236. 8900 0 0 3 &mpic 4 1
  237. 8900 0 0 4 &mpic 1 1
  238. /* IDSEL 0x11 func 2 - PCI slot 1 */
  239. 8a00 0 0 1 &mpic 2 1
  240. 8a00 0 0 2 &mpic 3 1
  241. 8a00 0 0 3 &mpic 4 1
  242. 8a00 0 0 4 &mpic 1 1
  243. /* IDSEL 0x11 func 3 - PCI slot 1 */
  244. 8b00 0 0 1 &mpic 2 1
  245. 8b00 0 0 2 &mpic 3 1
  246. 8b00 0 0 3 &mpic 4 1
  247. 8b00 0 0 4 &mpic 1 1
  248. /* IDSEL 0x11 func 4 - PCI slot 1 */
  249. 8c00 0 0 1 &mpic 2 1
  250. 8c00 0 0 2 &mpic 3 1
  251. 8c00 0 0 3 &mpic 4 1
  252. 8c00 0 0 4 &mpic 1 1
  253. /* IDSEL 0x11 func 5 - PCI slot 1 */
  254. 8d00 0 0 1 &mpic 2 1
  255. 8d00 0 0 2 &mpic 3 1
  256. 8d00 0 0 3 &mpic 4 1
  257. 8d00 0 0 4 &mpic 1 1
  258. /* IDSEL 0x11 func 6 - PCI slot 1 */
  259. 8e00 0 0 1 &mpic 2 1
  260. 8e00 0 0 2 &mpic 3 1
  261. 8e00 0 0 3 &mpic 4 1
  262. 8e00 0 0 4 &mpic 1 1
  263. /* IDSEL 0x11 func 7 - PCI slot 1 */
  264. 8f00 0 0 1 &mpic 2 1
  265. 8f00 0 0 2 &mpic 3 1
  266. 8f00 0 0 3 &mpic 4 1
  267. 8f00 0 0 4 &mpic 1 1
  268. /* IDSEL 0x12 func 0 - PCI slot 2 */
  269. 9000 0 0 1 &mpic 3 1
  270. 9000 0 0 2 &mpic 4 1
  271. 9000 0 0 3 &mpic 1 1
  272. 9000 0 0 4 &mpic 2 1
  273. /* IDSEL 0x12 func 1 - PCI slot 2 */
  274. 9100 0 0 1 &mpic 3 1
  275. 9100 0 0 2 &mpic 4 1
  276. 9100 0 0 3 &mpic 1 1
  277. 9100 0 0 4 &mpic 2 1
  278. /* IDSEL 0x12 func 2 - PCI slot 2 */
  279. 9200 0 0 1 &mpic 3 1
  280. 9200 0 0 2 &mpic 4 1
  281. 9200 0 0 3 &mpic 1 1
  282. 9200 0 0 4 &mpic 2 1
  283. /* IDSEL 0x12 func 3 - PCI slot 2 */
  284. 9300 0 0 1 &mpic 3 1
  285. 9300 0 0 2 &mpic 4 1
  286. 9300 0 0 3 &mpic 1 1
  287. 9300 0 0 4 &mpic 2 1
  288. /* IDSEL 0x12 func 4 - PCI slot 2 */
  289. 9400 0 0 1 &mpic 3 1
  290. 9400 0 0 2 &mpic 4 1
  291. 9400 0 0 3 &mpic 1 1
  292. 9400 0 0 4 &mpic 2 1
  293. /* IDSEL 0x12 func 5 - PCI slot 2 */
  294. 9500 0 0 1 &mpic 3 1
  295. 9500 0 0 2 &mpic 4 1
  296. 9500 0 0 3 &mpic 1 1
  297. 9500 0 0 4 &mpic 2 1
  298. /* IDSEL 0x12 func 6 - PCI slot 2 */
  299. 9600 0 0 1 &mpic 3 1
  300. 9600 0 0 2 &mpic 4 1
  301. 9600 0 0 3 &mpic 1 1
  302. 9600 0 0 4 &mpic 2 1
  303. /* IDSEL 0x12 func 7 - PCI slot 2 */
  304. 9700 0 0 1 &mpic 3 1
  305. 9700 0 0 2 &mpic 4 1
  306. 9700 0 0 3 &mpic 1 1
  307. 9700 0 0 4 &mpic 2 1
  308. // IDSEL 0x1c USB
  309. e000 0 0 1 &i8259 c 2
  310. e100 0 0 2 &i8259 9 2
  311. e200 0 0 3 &i8259 a 2
  312. e300 0 0 4 &i8259 b 2
  313. // IDSEL 0x1d Audio
  314. e800 0 0 1 &i8259 6 2
  315. // IDSEL 0x1e Legacy
  316. f000 0 0 1 &i8259 7 2
  317. f100 0 0 1 &i8259 7 2
  318. // IDSEL 0x1f IDE/SATA
  319. f800 0 0 1 &i8259 e 2
  320. f900 0 0 1 &i8259 5 2
  321. >;
  322. pcie@0 {
  323. reg = <0 0 0 0 0>;
  324. #size-cells = <2>;
  325. #address-cells = <3>;
  326. device_type = "pci";
  327. ranges = <02000000 0 80000000
  328. 02000000 0 80000000
  329. 0 20000000
  330. 01000000 0 00000000
  331. 01000000 0 00000000
  332. 0 00100000>;
  333. uli1575@0 {
  334. reg = <0 0 0 0 0>;
  335. #size-cells = <2>;
  336. #address-cells = <3>;
  337. ranges = <02000000 0 80000000
  338. 02000000 0 80000000
  339. 0 20000000
  340. 01000000 0 00000000
  341. 01000000 0 00000000
  342. 0 00100000>;
  343. isa@1e {
  344. device_type = "isa";
  345. #interrupt-cells = <2>;
  346. #size-cells = <1>;
  347. #address-cells = <2>;
  348. reg = <f000 0 0 0 0>;
  349. ranges = <1 0 01000000 0 0
  350. 00001000>;
  351. interrupt-parent = <&i8259>;
  352. i8259: interrupt-controller@20 {
  353. reg = <1 20 2
  354. 1 a0 2
  355. 1 4d0 2>;
  356. interrupt-controller;
  357. device_type = "interrupt-controller";
  358. #address-cells = <0>;
  359. #interrupt-cells = <2>;
  360. compatible = "chrp,iic";
  361. interrupts = <9 2>;
  362. interrupt-parent = <&mpic>;
  363. };
  364. i8042@60 {
  365. #size-cells = <0>;
  366. #address-cells = <1>;
  367. reg = <1 60 1 1 64 1>;
  368. interrupts = <1 3 c 3>;
  369. interrupt-parent =
  370. <&i8259>;
  371. keyboard@0 {
  372. reg = <0>;
  373. compatible = "pnpPNP,303";
  374. };
  375. mouse@1 {
  376. reg = <1>;
  377. compatible = "pnpPNP,f03";
  378. };
  379. };
  380. rtc@70 {
  381. compatible = "pnpPNP,b00";
  382. reg = <1 70 2>;
  383. };
  384. gpio@400 {
  385. reg = <1 400 80>;
  386. };
  387. };
  388. };
  389. };
  390. };
  391. pci1: pcie@ffe09000 {
  392. cell-index = <1>;
  393. compatible = "fsl,mpc8548-pcie";
  394. device_type = "pci";
  395. #interrupt-cells = <1>;
  396. #size-cells = <2>;
  397. #address-cells = <3>;
  398. reg = <ffe09000 1000>;
  399. bus-range = <0 ff>;
  400. ranges = <02000000 0 a0000000 a0000000 0 20000000
  401. 01000000 0 00000000 ffc10000 0 00010000>;
  402. clock-frequency = <1fca055>;
  403. interrupt-parent = <&mpic>;
  404. interrupts = <1a 2>;
  405. interrupt-map-mask = <f800 0 0 7>;
  406. interrupt-map = <
  407. /* IDSEL 0x0 */
  408. 0000 0 0 1 &mpic 4 1
  409. 0000 0 0 2 &mpic 5 1
  410. 0000 0 0 3 &mpic 6 1
  411. 0000 0 0 4 &mpic 7 1
  412. >;
  413. pcie@0 {
  414. reg = <0 0 0 0 0>;
  415. #size-cells = <2>;
  416. #address-cells = <3>;
  417. device_type = "pci";
  418. ranges = <02000000 0 a0000000
  419. 02000000 0 a0000000
  420. 0 20000000
  421. 01000000 0 00000000
  422. 01000000 0 00000000
  423. 0 00100000>;
  424. };
  425. };
  426. pci2: pcie@ffe0a000 {
  427. cell-index = <2>;
  428. compatible = "fsl,mpc8548-pcie";
  429. device_type = "pci";
  430. #interrupt-cells = <1>;
  431. #size-cells = <2>;
  432. #address-cells = <3>;
  433. reg = <ffe0a000 1000>;
  434. bus-range = <0 ff>;
  435. ranges = <02000000 0 c0000000 c0000000 0 20000000
  436. 01000000 0 00000000 ffc20000 0 00010000>;
  437. clock-frequency = <1fca055>;
  438. interrupt-parent = <&mpic>;
  439. interrupts = <1b 2>;
  440. interrupt-map-mask = <f800 0 0 7>;
  441. interrupt-map = <
  442. /* IDSEL 0x0 */
  443. 0000 0 0 1 &mpic 0 1
  444. 0000 0 0 2 &mpic 1 1
  445. 0000 0 0 3 &mpic 2 1
  446. 0000 0 0 4 &mpic 3 1
  447. >;
  448. pcie@0 {
  449. reg = <0 0 0 0 0>;
  450. #size-cells = <2>;
  451. #address-cells = <3>;
  452. device_type = "pci";
  453. ranges = <02000000 0 c0000000
  454. 02000000 0 c0000000
  455. 0 20000000
  456. 01000000 0 00000000
  457. 01000000 0 00000000
  458. 0 00100000>;
  459. };
  460. };
  461. };