mpc8641_hpcn.dts 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599
  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. dma@21300 {
  125. #address-cells = <1>;
  126. #size-cells = <1>;
  127. compatible = "fsl,mpc8641-dma", "fsl,eloplus-dma";
  128. reg = <0x21300 0x4>;
  129. ranges = <0x0 0x21100 0x200>;
  130. cell-index = <0>;
  131. dma-channel@0 {
  132. compatible = "fsl,mpc8641-dma-channel",
  133. "fsl,eloplus-dma-channel";
  134. reg = <0x0 0x80>;
  135. cell-index = <0>;
  136. interrupt-parent = <&mpic>;
  137. interrupts = <20 2>;
  138. };
  139. dma-channel@80 {
  140. compatible = "fsl,mpc8641-dma-channel",
  141. "fsl,eloplus-dma-channel";
  142. reg = <0x80 0x80>;
  143. cell-index = <1>;
  144. interrupt-parent = <&mpic>;
  145. interrupts = <21 2>;
  146. };
  147. dma-channel@100 {
  148. compatible = "fsl,mpc8641-dma-channel",
  149. "fsl,eloplus-dma-channel";
  150. reg = <0x100 0x80>;
  151. cell-index = <2>;
  152. interrupt-parent = <&mpic>;
  153. interrupts = <22 2>;
  154. };
  155. dma-channel@180 {
  156. compatible = "fsl,mpc8641-dma-channel",
  157. "fsl,eloplus-dma-channel";
  158. reg = <0x180 0x80>;
  159. cell-index = <3>;
  160. interrupt-parent = <&mpic>;
  161. interrupts = <23 2>;
  162. };
  163. };
  164. mdio@24520 {
  165. #address-cells = <1>;
  166. #size-cells = <0>;
  167. compatible = "fsl,gianfar-mdio";
  168. reg = <0x24520 0x20>;
  169. phy0: ethernet-phy@0 {
  170. interrupt-parent = <&mpic>;
  171. interrupts = <10 1>;
  172. reg = <0>;
  173. device_type = "ethernet-phy";
  174. };
  175. phy1: ethernet-phy@1 {
  176. interrupt-parent = <&mpic>;
  177. interrupts = <10 1>;
  178. reg = <1>;
  179. device_type = "ethernet-phy";
  180. };
  181. phy2: ethernet-phy@2 {
  182. interrupt-parent = <&mpic>;
  183. interrupts = <10 1>;
  184. reg = <2>;
  185. device_type = "ethernet-phy";
  186. };
  187. phy3: ethernet-phy@3 {
  188. interrupt-parent = <&mpic>;
  189. interrupts = <10 1>;
  190. reg = <3>;
  191. device_type = "ethernet-phy";
  192. };
  193. tbi0: tbi-phy@11 {
  194. reg = <0x11>;
  195. device_type = "tbi-phy";
  196. };
  197. };
  198. mdio@25520 {
  199. #address-cells = <1>;
  200. #size-cells = <0>;
  201. compatible = "fsl,gianfar-tbi";
  202. reg = <0x25520 0x20>;
  203. tbi1: tbi-phy@11 {
  204. reg = <0x11>;
  205. device_type = "tbi-phy";
  206. };
  207. };
  208. mdio@26520 {
  209. #address-cells = <1>;
  210. #size-cells = <0>;
  211. compatible = "fsl,gianfar-tbi";
  212. reg = <0x26520 0x20>;
  213. tbi2: tbi-phy@11 {
  214. reg = <0x11>;
  215. device_type = "tbi-phy";
  216. };
  217. };
  218. mdio@27520 {
  219. #address-cells = <1>;
  220. #size-cells = <0>;
  221. compatible = "fsl,gianfar-tbi";
  222. reg = <0x27520 0x20>;
  223. tbi3: tbi-phy@11 {
  224. reg = <0x11>;
  225. device_type = "tbi-phy";
  226. };
  227. };
  228. enet0: ethernet@24000 {
  229. cell-index = <0>;
  230. device_type = "network";
  231. model = "TSEC";
  232. compatible = "gianfar";
  233. reg = <0x24000 0x1000>;
  234. local-mac-address = [ 00 00 00 00 00 00 ];
  235. interrupts = <29 2 30 2 34 2>;
  236. interrupt-parent = <&mpic>;
  237. tbi-handle = <&tbi0>;
  238. phy-handle = <&phy0>;
  239. phy-connection-type = "rgmii-id";
  240. };
  241. enet1: ethernet@25000 {
  242. cell-index = <1>;
  243. device_type = "network";
  244. model = "TSEC";
  245. compatible = "gianfar";
  246. reg = <0x25000 0x1000>;
  247. local-mac-address = [ 00 00 00 00 00 00 ];
  248. interrupts = <35 2 36 2 40 2>;
  249. interrupt-parent = <&mpic>;
  250. tbi-handle = <&tbi1>;
  251. phy-handle = <&phy1>;
  252. phy-connection-type = "rgmii-id";
  253. };
  254. enet2: ethernet@26000 {
  255. cell-index = <2>;
  256. device_type = "network";
  257. model = "TSEC";
  258. compatible = "gianfar";
  259. reg = <0x26000 0x1000>;
  260. local-mac-address = [ 00 00 00 00 00 00 ];
  261. interrupts = <31 2 32 2 33 2>;
  262. interrupt-parent = <&mpic>;
  263. tbi-handle = <&tbi2>;
  264. phy-handle = <&phy2>;
  265. phy-connection-type = "rgmii-id";
  266. };
  267. enet3: ethernet@27000 {
  268. cell-index = <3>;
  269. device_type = "network";
  270. model = "TSEC";
  271. compatible = "gianfar";
  272. reg = <0x27000 0x1000>;
  273. local-mac-address = [ 00 00 00 00 00 00 ];
  274. interrupts = <37 2 38 2 39 2>;
  275. interrupt-parent = <&mpic>;
  276. tbi-handle = <&tbi3>;
  277. phy-handle = <&phy3>;
  278. phy-connection-type = "rgmii-id";
  279. };
  280. serial0: serial@4500 {
  281. cell-index = <0>;
  282. device_type = "serial";
  283. compatible = "ns16550";
  284. reg = <0x4500 0x100>;
  285. clock-frequency = <0>;
  286. interrupts = <42 2>;
  287. interrupt-parent = <&mpic>;
  288. };
  289. serial1: serial@4600 {
  290. cell-index = <1>;
  291. device_type = "serial";
  292. compatible = "ns16550";
  293. reg = <0x4600 0x100>;
  294. clock-frequency = <0>;
  295. interrupts = <28 2>;
  296. interrupt-parent = <&mpic>;
  297. };
  298. mpic: pic@40000 {
  299. interrupt-controller;
  300. #address-cells = <0>;
  301. #interrupt-cells = <2>;
  302. reg = <0x40000 0x40000>;
  303. compatible = "chrp,open-pic";
  304. device_type = "open-pic";
  305. };
  306. global-utilities@e0000 {
  307. compatible = "fsl,mpc8641-guts";
  308. reg = <0xe0000 0x1000>;
  309. fsl,has-rstcr;
  310. };
  311. };
  312. pci0: pcie@f8008000 {
  313. cell-index = <0>;
  314. compatible = "fsl,mpc8641-pcie";
  315. device_type = "pci";
  316. #interrupt-cells = <1>;
  317. #size-cells = <2>;
  318. #address-cells = <3>;
  319. reg = <0xf8008000 0x1000>;
  320. bus-range = <0x0 0xff>;
  321. ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000
  322. 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>;
  323. clock-frequency = <33333333>;
  324. interrupt-parent = <&mpic>;
  325. interrupts = <24 2>;
  326. interrupt-map-mask = <0xff00 0 0 7>;
  327. interrupt-map = <
  328. /* IDSEL 0x11 func 0 - PCI slot 1 */
  329. 0x8800 0 0 1 &mpic 2 1
  330. 0x8800 0 0 2 &mpic 3 1
  331. 0x8800 0 0 3 &mpic 4 1
  332. 0x8800 0 0 4 &mpic 1 1
  333. /* IDSEL 0x11 func 1 - PCI slot 1 */
  334. 0x8900 0 0 1 &mpic 2 1
  335. 0x8900 0 0 2 &mpic 3 1
  336. 0x8900 0 0 3 &mpic 4 1
  337. 0x8900 0 0 4 &mpic 1 1
  338. /* IDSEL 0x11 func 2 - PCI slot 1 */
  339. 0x8a00 0 0 1 &mpic 2 1
  340. 0x8a00 0 0 2 &mpic 3 1
  341. 0x8a00 0 0 3 &mpic 4 1
  342. 0x8a00 0 0 4 &mpic 1 1
  343. /* IDSEL 0x11 func 3 - PCI slot 1 */
  344. 0x8b00 0 0 1 &mpic 2 1
  345. 0x8b00 0 0 2 &mpic 3 1
  346. 0x8b00 0 0 3 &mpic 4 1
  347. 0x8b00 0 0 4 &mpic 1 1
  348. /* IDSEL 0x11 func 4 - PCI slot 1 */
  349. 0x8c00 0 0 1 &mpic 2 1
  350. 0x8c00 0 0 2 &mpic 3 1
  351. 0x8c00 0 0 3 &mpic 4 1
  352. 0x8c00 0 0 4 &mpic 1 1
  353. /* IDSEL 0x11 func 5 - PCI slot 1 */
  354. 0x8d00 0 0 1 &mpic 2 1
  355. 0x8d00 0 0 2 &mpic 3 1
  356. 0x8d00 0 0 3 &mpic 4 1
  357. 0x8d00 0 0 4 &mpic 1 1
  358. /* IDSEL 0x11 func 6 - PCI slot 1 */
  359. 0x8e00 0 0 1 &mpic 2 1
  360. 0x8e00 0 0 2 &mpic 3 1
  361. 0x8e00 0 0 3 &mpic 4 1
  362. 0x8e00 0 0 4 &mpic 1 1
  363. /* IDSEL 0x11 func 7 - PCI slot 1 */
  364. 0x8f00 0 0 1 &mpic 2 1
  365. 0x8f00 0 0 2 &mpic 3 1
  366. 0x8f00 0 0 3 &mpic 4 1
  367. 0x8f00 0 0 4 &mpic 1 1
  368. /* IDSEL 0x12 func 0 - PCI slot 2 */
  369. 0x9000 0 0 1 &mpic 3 1
  370. 0x9000 0 0 2 &mpic 4 1
  371. 0x9000 0 0 3 &mpic 1 1
  372. 0x9000 0 0 4 &mpic 2 1
  373. /* IDSEL 0x12 func 1 - PCI slot 2 */
  374. 0x9100 0 0 1 &mpic 3 1
  375. 0x9100 0 0 2 &mpic 4 1
  376. 0x9100 0 0 3 &mpic 1 1
  377. 0x9100 0 0 4 &mpic 2 1
  378. /* IDSEL 0x12 func 2 - PCI slot 2 */
  379. 0x9200 0 0 1 &mpic 3 1
  380. 0x9200 0 0 2 &mpic 4 1
  381. 0x9200 0 0 3 &mpic 1 1
  382. 0x9200 0 0 4 &mpic 2 1
  383. /* IDSEL 0x12 func 3 - PCI slot 2 */
  384. 0x9300 0 0 1 &mpic 3 1
  385. 0x9300 0 0 2 &mpic 4 1
  386. 0x9300 0 0 3 &mpic 1 1
  387. 0x9300 0 0 4 &mpic 2 1
  388. /* IDSEL 0x12 func 4 - PCI slot 2 */
  389. 0x9400 0 0 1 &mpic 3 1
  390. 0x9400 0 0 2 &mpic 4 1
  391. 0x9400 0 0 3 &mpic 1 1
  392. 0x9400 0 0 4 &mpic 2 1
  393. /* IDSEL 0x12 func 5 - PCI slot 2 */
  394. 0x9500 0 0 1 &mpic 3 1
  395. 0x9500 0 0 2 &mpic 4 1
  396. 0x9500 0 0 3 &mpic 1 1
  397. 0x9500 0 0 4 &mpic 2 1
  398. /* IDSEL 0x12 func 6 - PCI slot 2 */
  399. 0x9600 0 0 1 &mpic 3 1
  400. 0x9600 0 0 2 &mpic 4 1
  401. 0x9600 0 0 3 &mpic 1 1
  402. 0x9600 0 0 4 &mpic 2 1
  403. /* IDSEL 0x12 func 7 - PCI slot 2 */
  404. 0x9700 0 0 1 &mpic 3 1
  405. 0x9700 0 0 2 &mpic 4 1
  406. 0x9700 0 0 3 &mpic 1 1
  407. 0x9700 0 0 4 &mpic 2 1
  408. // IDSEL 0x1c USB
  409. 0xe000 0 0 1 &i8259 12 2
  410. 0xe100 0 0 2 &i8259 9 2
  411. 0xe200 0 0 3 &i8259 10 2
  412. 0xe300 0 0 4 &i8259 11 2
  413. // IDSEL 0x1d Audio
  414. 0xe800 0 0 1 &i8259 6 2
  415. // IDSEL 0x1e Legacy
  416. 0xf000 0 0 1 &i8259 7 2
  417. 0xf100 0 0 1 &i8259 7 2
  418. // IDSEL 0x1f IDE/SATA
  419. 0xf800 0 0 1 &i8259 14 2
  420. 0xf900 0 0 1 &i8259 5 2
  421. >;
  422. pcie@0 {
  423. reg = <0 0 0 0 0>;
  424. #size-cells = <2>;
  425. #address-cells = <3>;
  426. device_type = "pci";
  427. ranges = <0x02000000 0x0 0x80000000
  428. 0x02000000 0x0 0x80000000
  429. 0x0 0x20000000
  430. 0x01000000 0x0 0x00000000
  431. 0x01000000 0x0 0x00000000
  432. 0x0 0x00100000>;
  433. uli1575@0 {
  434. reg = <0 0 0 0 0>;
  435. #size-cells = <2>;
  436. #address-cells = <3>;
  437. ranges = <0x02000000 0x0 0x80000000
  438. 0x02000000 0x0 0x80000000
  439. 0x0 0x20000000
  440. 0x01000000 0x0 0x00000000
  441. 0x01000000 0x0 0x00000000
  442. 0x0 0x00100000>;
  443. isa@1e {
  444. device_type = "isa";
  445. #interrupt-cells = <2>;
  446. #size-cells = <1>;
  447. #address-cells = <2>;
  448. reg = <0xf000 0 0 0 0>;
  449. ranges = <1 0 0x01000000 0 0
  450. 0x00001000>;
  451. interrupt-parent = <&i8259>;
  452. i8259: interrupt-controller@20 {
  453. reg = <1 0x20 2
  454. 1 0xa0 2
  455. 1 0x4d0 2>;
  456. interrupt-controller;
  457. device_type = "interrupt-controller";
  458. #address-cells = <0>;
  459. #interrupt-cells = <2>;
  460. compatible = "chrp,iic";
  461. interrupts = <9 2>;
  462. interrupt-parent = <&mpic>;
  463. };
  464. i8042@60 {
  465. #size-cells = <0>;
  466. #address-cells = <1>;
  467. reg = <1 0x60 1 1 0x64 1>;
  468. interrupts = <1 3 12 3>;
  469. interrupt-parent =
  470. <&i8259>;
  471. keyboard@0 {
  472. reg = <0>;
  473. compatible = "pnpPNP,303";
  474. };
  475. mouse@1 {
  476. reg = <1>;
  477. compatible = "pnpPNP,f03";
  478. };
  479. };
  480. rtc@70 {
  481. compatible =
  482. "pnpPNP,b00";
  483. reg = <1 0x70 2>;
  484. };
  485. gpio@400 {
  486. reg = <1 0x400 0x80>;
  487. };
  488. };
  489. };
  490. };
  491. };
  492. pci1: pcie@f8009000 {
  493. cell-index = <1>;
  494. compatible = "fsl,mpc8641-pcie";
  495. device_type = "pci";
  496. #interrupt-cells = <1>;
  497. #size-cells = <2>;
  498. #address-cells = <3>;
  499. reg = <0xf8009000 0x1000>;
  500. bus-range = <0 0xff>;
  501. ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
  502. 0x01000000 0x0 0x00000000 0xe3000000 0x0 0x00100000>;
  503. clock-frequency = <33333333>;
  504. interrupt-parent = <&mpic>;
  505. interrupts = <25 2>;
  506. interrupt-map-mask = <0xf800 0 0 7>;
  507. interrupt-map = <
  508. /* IDSEL 0x0 */
  509. 0x0000 0 0 1 &mpic 4 1
  510. 0x0000 0 0 2 &mpic 5 1
  511. 0x0000 0 0 3 &mpic 6 1
  512. 0x0000 0 0 4 &mpic 7 1
  513. >;
  514. pcie@0 {
  515. reg = <0 0 0 0 0>;
  516. #size-cells = <2>;
  517. #address-cells = <3>;
  518. device_type = "pci";
  519. ranges = <0x02000000 0x0 0xa0000000
  520. 0x02000000 0x0 0xa0000000
  521. 0x0 0x20000000
  522. 0x01000000 0x0 0x00000000
  523. 0x01000000 0x0 0x00000000
  524. 0x0 0x00100000>;
  525. };
  526. };
  527. rapidio0: rapidio@f80c0000 {
  528. #address-cells = <2>;
  529. #size-cells = <2>;
  530. compatible = "fsl,rapidio-delta";
  531. reg = <0xf80c0000 0x20000>;
  532. ranges = <0 0 0xc0000000 0 0x20000000>;
  533. interrupt-parent = <&mpic>;
  534. /* err_irq bell_outb_irq bell_inb_irq
  535. msg1_tx_irq msg1_rx_irq msg2_tx_irq msg2_rx_irq */
  536. interrupts = <48 2 49 2 50 2 53 2 54 2 55 2 56 2>;
  537. };
  538. };