mpc8572ds.dts 11 KB

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