mpc8641_hpcn.dts 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515
  1. /*
  2. * MPC8641 HPCN Device Tree Source
  3. *
  4. * Copyright 2006 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 = "MPC8641HPCN";
  14. compatible = "fsl,mpc8641hpcn";
  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. rapidio0 = &rapidio0;
  27. };
  28. cpus {
  29. #address-cells = <1>;
  30. #size-cells = <0>;
  31. PowerPC,8641@0 {
  32. device_type = "cpu";
  33. reg = <0>;
  34. d-cache-line-size = <32>;
  35. i-cache-line-size = <32>;
  36. d-cache-size = <32768>; // L1
  37. i-cache-size = <32768>; // L1
  38. timebase-frequency = <0>; // From uboot
  39. bus-frequency = <0>; // From uboot
  40. clock-frequency = <0>; // From uboot
  41. };
  42. PowerPC,8641@1 {
  43. device_type = "cpu";
  44. reg = <1>;
  45. d-cache-line-size = <32>;
  46. i-cache-line-size = <32>;
  47. d-cache-size = <32768>;
  48. i-cache-size = <32768>;
  49. timebase-frequency = <0>; // From uboot
  50. bus-frequency = <0>; // From uboot
  51. clock-frequency = <0>; // From uboot
  52. };
  53. };
  54. memory {
  55. device_type = "memory";
  56. reg = <0x00000000 0x40000000>; // 1G at 0x0
  57. };
  58. localbus@f8005000 {
  59. #address-cells = <2>;
  60. #size-cells = <1>;
  61. compatible = "fsl,mpc8641-localbus", "simple-bus";
  62. reg = <0xf8005000 0x1000>;
  63. interrupts = <19 2>;
  64. interrupt-parent = <&mpic>;
  65. ranges = <0 0 0xff800000 0x00800000
  66. 1 0 0xfe000000 0x01000000
  67. 2 0 0xf8200000 0x00100000
  68. 3 0 0xf8100000 0x00100000>;
  69. flash@0,0 {
  70. compatible = "cfi-flash";
  71. reg = <0 0 0x00800000>;
  72. bank-width = <2>;
  73. device-width = <2>;
  74. #address-cells = <1>;
  75. #size-cells = <1>;
  76. partition@0 {
  77. label = "kernel";
  78. reg = <0x00000000 0x00300000>;
  79. };
  80. partition@300000 {
  81. label = "firmware b";
  82. reg = <0x00300000 0x00100000>;
  83. read-only;
  84. };
  85. partition@400000 {
  86. label = "fs";
  87. reg = <0x00400000 0x00300000>;
  88. };
  89. partition@700000 {
  90. label = "firmware a";
  91. reg = <0x00700000 0x00100000>;
  92. read-only;
  93. };
  94. };
  95. };
  96. soc8641@f8000000 {
  97. #address-cells = <1>;
  98. #size-cells = <1>;
  99. device_type = "soc";
  100. compatible = "simple-bus";
  101. ranges = <0x00000000 0xf8000000 0x00100000>;
  102. reg = <0xf8000000 0x00001000>; // CCSRBAR
  103. bus-frequency = <0>;
  104. i2c@3000 {
  105. #address-cells = <1>;
  106. #size-cells = <0>;
  107. cell-index = <0>;
  108. compatible = "fsl-i2c";
  109. reg = <0x3000 0x100>;
  110. interrupts = <43 2>;
  111. interrupt-parent = <&mpic>;
  112. dfsrr;
  113. };
  114. i2c@3100 {
  115. #address-cells = <1>;
  116. #size-cells = <0>;
  117. cell-index = <1>;
  118. compatible = "fsl-i2c";
  119. reg = <0x3100 0x100>;
  120. interrupts = <43 2>;
  121. interrupt-parent = <&mpic>;
  122. dfsrr;
  123. };
  124. mdio@24520 {
  125. #address-cells = <1>;
  126. #size-cells = <0>;
  127. compatible = "fsl,gianfar-mdio";
  128. reg = <0x24520 0x20>;
  129. phy0: ethernet-phy@0 {
  130. interrupt-parent = <&mpic>;
  131. interrupts = <10 1>;
  132. reg = <0>;
  133. device_type = "ethernet-phy";
  134. };
  135. phy1: ethernet-phy@1 {
  136. interrupt-parent = <&mpic>;
  137. interrupts = <10 1>;
  138. reg = <1>;
  139. device_type = "ethernet-phy";
  140. };
  141. phy2: ethernet-phy@2 {
  142. interrupt-parent = <&mpic>;
  143. interrupts = <10 1>;
  144. reg = <2>;
  145. device_type = "ethernet-phy";
  146. };
  147. phy3: ethernet-phy@3 {
  148. interrupt-parent = <&mpic>;
  149. interrupts = <10 1>;
  150. reg = <3>;
  151. device_type = "ethernet-phy";
  152. };
  153. };
  154. enet0: ethernet@24000 {
  155. cell-index = <0>;
  156. device_type = "network";
  157. model = "TSEC";
  158. compatible = "gianfar";
  159. reg = <0x24000 0x1000>;
  160. local-mac-address = [ 00 00 00 00 00 00 ];
  161. interrupts = <29 2 30 2 34 2>;
  162. interrupt-parent = <&mpic>;
  163. phy-handle = <&phy0>;
  164. phy-connection-type = "rgmii-id";
  165. };
  166. enet1: ethernet@25000 {
  167. cell-index = <1>;
  168. device_type = "network";
  169. model = "TSEC";
  170. compatible = "gianfar";
  171. reg = <0x25000 0x1000>;
  172. local-mac-address = [ 00 00 00 00 00 00 ];
  173. interrupts = <35 2 36 2 40 2>;
  174. interrupt-parent = <&mpic>;
  175. phy-handle = <&phy1>;
  176. phy-connection-type = "rgmii-id";
  177. };
  178. enet2: ethernet@26000 {
  179. cell-index = <2>;
  180. device_type = "network";
  181. model = "TSEC";
  182. compatible = "gianfar";
  183. reg = <0x26000 0x1000>;
  184. local-mac-address = [ 00 00 00 00 00 00 ];
  185. interrupts = <31 2 32 2 33 2>;
  186. interrupt-parent = <&mpic>;
  187. phy-handle = <&phy2>;
  188. phy-connection-type = "rgmii-id";
  189. };
  190. enet3: ethernet@27000 {
  191. cell-index = <3>;
  192. device_type = "network";
  193. model = "TSEC";
  194. compatible = "gianfar";
  195. reg = <0x27000 0x1000>;
  196. local-mac-address = [ 00 00 00 00 00 00 ];
  197. interrupts = <37 2 38 2 39 2>;
  198. interrupt-parent = <&mpic>;
  199. phy-handle = <&phy3>;
  200. phy-connection-type = "rgmii-id";
  201. };
  202. serial0: serial@4500 {
  203. cell-index = <0>;
  204. device_type = "serial";
  205. compatible = "ns16550";
  206. reg = <0x4500 0x100>;
  207. clock-frequency = <0>;
  208. interrupts = <42 2>;
  209. interrupt-parent = <&mpic>;
  210. };
  211. serial1: serial@4600 {
  212. cell-index = <1>;
  213. device_type = "serial";
  214. compatible = "ns16550";
  215. reg = <0x4600 0x100>;
  216. clock-frequency = <0>;
  217. interrupts = <28 2>;
  218. interrupt-parent = <&mpic>;
  219. };
  220. mpic: pic@40000 {
  221. clock-frequency = <0>;
  222. interrupt-controller;
  223. #address-cells = <0>;
  224. #interrupt-cells = <2>;
  225. reg = <0x40000 0x40000>;
  226. compatible = "chrp,open-pic";
  227. device_type = "open-pic";
  228. big-endian;
  229. };
  230. global-utilities@e0000 {
  231. compatible = "fsl,mpc8641-guts";
  232. reg = <0xe0000 0x1000>;
  233. fsl,has-rstcr;
  234. };
  235. };
  236. pci0: pcie@f8008000 {
  237. cell-index = <0>;
  238. compatible = "fsl,mpc8641-pcie";
  239. device_type = "pci";
  240. #interrupt-cells = <1>;
  241. #size-cells = <2>;
  242. #address-cells = <3>;
  243. reg = <0xf8008000 0x1000>;
  244. bus-range = <0x0 0xff>;
  245. ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000
  246. 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>;
  247. clock-frequency = <33333333>;
  248. interrupt-parent = <&mpic>;
  249. interrupts = <24 2>;
  250. interrupt-map-mask = <0xff00 0 0 7>;
  251. interrupt-map = <
  252. /* IDSEL 0x11 func 0 - PCI slot 1 */
  253. 0x8800 0 0 1 &mpic 2 1
  254. 0x8800 0 0 2 &mpic 3 1
  255. 0x8800 0 0 3 &mpic 4 1
  256. 0x8800 0 0 4 &mpic 1 1
  257. /* IDSEL 0x11 func 1 - PCI slot 1 */
  258. 0x8900 0 0 1 &mpic 2 1
  259. 0x8900 0 0 2 &mpic 3 1
  260. 0x8900 0 0 3 &mpic 4 1
  261. 0x8900 0 0 4 &mpic 1 1
  262. /* IDSEL 0x11 func 2 - PCI slot 1 */
  263. 0x8a00 0 0 1 &mpic 2 1
  264. 0x8a00 0 0 2 &mpic 3 1
  265. 0x8a00 0 0 3 &mpic 4 1
  266. 0x8a00 0 0 4 &mpic 1 1
  267. /* IDSEL 0x11 func 3 - PCI slot 1 */
  268. 0x8b00 0 0 1 &mpic 2 1
  269. 0x8b00 0 0 2 &mpic 3 1
  270. 0x8b00 0 0 3 &mpic 4 1
  271. 0x8b00 0 0 4 &mpic 1 1
  272. /* IDSEL 0x11 func 4 - PCI slot 1 */
  273. 0x8c00 0 0 1 &mpic 2 1
  274. 0x8c00 0 0 2 &mpic 3 1
  275. 0x8c00 0 0 3 &mpic 4 1
  276. 0x8c00 0 0 4 &mpic 1 1
  277. /* IDSEL 0x11 func 5 - PCI slot 1 */
  278. 0x8d00 0 0 1 &mpic 2 1
  279. 0x8d00 0 0 2 &mpic 3 1
  280. 0x8d00 0 0 3 &mpic 4 1
  281. 0x8d00 0 0 4 &mpic 1 1
  282. /* IDSEL 0x11 func 6 - PCI slot 1 */
  283. 0x8e00 0 0 1 &mpic 2 1
  284. 0x8e00 0 0 2 &mpic 3 1
  285. 0x8e00 0 0 3 &mpic 4 1
  286. 0x8e00 0 0 4 &mpic 1 1
  287. /* IDSEL 0x11 func 7 - PCI slot 1 */
  288. 0x8f00 0 0 1 &mpic 2 1
  289. 0x8f00 0 0 2 &mpic 3 1
  290. 0x8f00 0 0 3 &mpic 4 1
  291. 0x8f00 0 0 4 &mpic 1 1
  292. /* IDSEL 0x12 func 0 - PCI slot 2 */
  293. 0x9000 0 0 1 &mpic 3 1
  294. 0x9000 0 0 2 &mpic 4 1
  295. 0x9000 0 0 3 &mpic 1 1
  296. 0x9000 0 0 4 &mpic 2 1
  297. /* IDSEL 0x12 func 1 - PCI slot 2 */
  298. 0x9100 0 0 1 &mpic 3 1
  299. 0x9100 0 0 2 &mpic 4 1
  300. 0x9100 0 0 3 &mpic 1 1
  301. 0x9100 0 0 4 &mpic 2 1
  302. /* IDSEL 0x12 func 2 - PCI slot 2 */
  303. 0x9200 0 0 1 &mpic 3 1
  304. 0x9200 0 0 2 &mpic 4 1
  305. 0x9200 0 0 3 &mpic 1 1
  306. 0x9200 0 0 4 &mpic 2 1
  307. /* IDSEL 0x12 func 3 - PCI slot 2 */
  308. 0x9300 0 0 1 &mpic 3 1
  309. 0x9300 0 0 2 &mpic 4 1
  310. 0x9300 0 0 3 &mpic 1 1
  311. 0x9300 0 0 4 &mpic 2 1
  312. /* IDSEL 0x12 func 4 - PCI slot 2 */
  313. 0x9400 0 0 1 &mpic 3 1
  314. 0x9400 0 0 2 &mpic 4 1
  315. 0x9400 0 0 3 &mpic 1 1
  316. 0x9400 0 0 4 &mpic 2 1
  317. /* IDSEL 0x12 func 5 - PCI slot 2 */
  318. 0x9500 0 0 1 &mpic 3 1
  319. 0x9500 0 0 2 &mpic 4 1
  320. 0x9500 0 0 3 &mpic 1 1
  321. 0x9500 0 0 4 &mpic 2 1
  322. /* IDSEL 0x12 func 6 - PCI slot 2 */
  323. 0x9600 0 0 1 &mpic 3 1
  324. 0x9600 0 0 2 &mpic 4 1
  325. 0x9600 0 0 3 &mpic 1 1
  326. 0x9600 0 0 4 &mpic 2 1
  327. /* IDSEL 0x12 func 7 - PCI slot 2 */
  328. 0x9700 0 0 1 &mpic 3 1
  329. 0x9700 0 0 2 &mpic 4 1
  330. 0x9700 0 0 3 &mpic 1 1
  331. 0x9700 0 0 4 &mpic 2 1
  332. // IDSEL 0x1c USB
  333. 0xe000 0 0 1 &i8259 12 2
  334. 0xe100 0 0 2 &i8259 9 2
  335. 0xe200 0 0 3 &i8259 10 2
  336. 0xe300 0 0 4 &i8259 112
  337. // IDSEL 0x1d Audio
  338. 0xe800 0 0 1 &i8259 6 2
  339. // IDSEL 0x1e Legacy
  340. 0xf000 0 0 1 &i8259 7 2
  341. 0xf100 0 0 1 &i8259 7 2
  342. // IDSEL 0x1f IDE/SATA
  343. 0xf800 0 0 1 &i8259 14 2
  344. 0xf900 0 0 1 &i8259 5 2
  345. >;
  346. pcie@0 {
  347. reg = <0 0 0 0 0>;
  348. #size-cells = <2>;
  349. #address-cells = <3>;
  350. device_type = "pci";
  351. ranges = <0x02000000 0x0 0x80000000
  352. 0x02000000 0x0 0x80000000
  353. 0x0 0x20000000
  354. 0x01000000 0x0 0x00000000
  355. 0x01000000 0x0 0x00000000
  356. 0x0 0x00100000>;
  357. uli1575@0 {
  358. reg = <0 0 0 0 0>;
  359. #size-cells = <2>;
  360. #address-cells = <3>;
  361. ranges = <0x02000000 0x0 0x80000000
  362. 0x02000000 0x0 0x80000000
  363. 0x0 0x20000000
  364. 0x01000000 0x0 0x00000000
  365. 0x01000000 0x0 0x00000000
  366. 0x0 0x00100000>;
  367. isa@1e {
  368. device_type = "isa";
  369. #interrupt-cells = <2>;
  370. #size-cells = <1>;
  371. #address-cells = <2>;
  372. reg = <0xf000 0 0 0 0>;
  373. ranges = <1 0 0x01000000 0 0
  374. 0x00001000>;
  375. interrupt-parent = <&i8259>;
  376. i8259: interrupt-controller@20 {
  377. reg = <1 0x20 2
  378. 1 0xa0 2
  379. 1 0x4d0 2>;
  380. interrupt-controller;
  381. device_type = "interrupt-controller";
  382. #address-cells = <0>;
  383. #interrupt-cells = <2>;
  384. compatible = "chrp,iic";
  385. interrupts = <9 2>;
  386. interrupt-parent = <&mpic>;
  387. };
  388. i8042@60 {
  389. #size-cells = <0>;
  390. #address-cells = <1>;
  391. reg = <1 0x60 1 1 0x64 1>;
  392. interrupts = <1 3 12 3>;
  393. interrupt-parent =
  394. <&i8259>;
  395. keyboard@0 {
  396. reg = <0>;
  397. compatible = "pnpPNP,303";
  398. };
  399. mouse@1 {
  400. reg = <1>;
  401. compatible = "pnpPNP,f03";
  402. };
  403. };
  404. rtc@70 {
  405. compatible =
  406. "pnpPNP,b00";
  407. reg = <1 0x70 2>;
  408. };
  409. gpio@400 {
  410. reg = <1 0x400 0x80>;
  411. };
  412. };
  413. };
  414. };
  415. };
  416. pci1: pcie@f8009000 {
  417. cell-index = <1>;
  418. compatible = "fsl,mpc8641-pcie";
  419. device_type = "pci";
  420. #interrupt-cells = <1>;
  421. #size-cells = <2>;
  422. #address-cells = <3>;
  423. reg = <0xf8009000 0x1000>;
  424. bus-range = <0 0xff>;
  425. ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
  426. 0x01000000 0x0 0x00000000 0xe3000000 0x0 0x00100000>;
  427. clock-frequency = <33333333>;
  428. interrupt-parent = <&mpic>;
  429. interrupts = <25 2>;
  430. interrupt-map-mask = <0xf800 0 0 7>;
  431. interrupt-map = <
  432. /* IDSEL 0x0 */
  433. 0x0000 0 0 1 &mpic 4 1
  434. 0x0000 0 0 2 &mpic 5 1
  435. 0x0000 0 0 3 &mpic 6 1
  436. 0x0000 0 0 4 &mpic 7 1
  437. >;
  438. pcie@0 {
  439. reg = <0 0 0 0 0>;
  440. #size-cells = <2>;
  441. #address-cells = <3>;
  442. device_type = "pci";
  443. ranges = <0x02000000 0x0 0xa0000000
  444. 0x02000000 0x0 0xa0000000
  445. 0x0 0x20000000
  446. 0x01000000 0x0 0x00000000
  447. 0x01000000 0x0 0x00000000
  448. 0x0 0x00100000>;
  449. };
  450. };
  451. rapidio0: rapidio@f80c0000 {
  452. #address-cells = <2>;
  453. #size-cells = <2>;
  454. compatible = "fsl,rapidio-delta";
  455. reg = <0xf80c0000 0x20000>;
  456. ranges = <0 0 0xc0000000 0 0x20000000>;
  457. interrupt-parent = <&mpic>;
  458. /* err_irq bell_outb_irq bell_inb_irq
  459. msg1_tx_irq msg1_rx_irq msg2_tx_irq msg2_rx_irq */
  460. interrupts = <48 2 49 2 50 2 53 2 54 2 55 2 56 2>;
  461. };
  462. };