mpc8641_hpcn_36b.dts 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610
  1. /*
  2. * MPC8641 HPCN Device Tree Source
  3. *
  4. * Copyright 2008-2009 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 = <2>;
  16. #size-cells = <2>;
  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. };
  27. cpus {
  28. #address-cells = <1>;
  29. #size-cells = <0>;
  30. PowerPC,8641@0 {
  31. device_type = "cpu";
  32. reg = <0>;
  33. d-cache-line-size = <32>; // 32 bytes
  34. i-cache-line-size = <32>; // 32 bytes
  35. d-cache-size = <32768>; // L1, 32K
  36. i-cache-size = <32768>; // L1, 32K
  37. timebase-frequency = <0>; // 33 MHz, from uboot
  38. bus-frequency = <0>; // From uboot
  39. clock-frequency = <0>; // From uboot
  40. };
  41. PowerPC,8641@1 {
  42. device_type = "cpu";
  43. reg = <1>;
  44. d-cache-line-size = <32>; // 32 bytes
  45. i-cache-line-size = <32>; // 32 bytes
  46. d-cache-size = <32768>; // L1, 32K
  47. i-cache-size = <32768>; // L1, 32K
  48. timebase-frequency = <0>; // 33 MHz, from uboot
  49. bus-frequency = <0>; // From uboot
  50. clock-frequency = <0>; // From uboot
  51. };
  52. };
  53. memory {
  54. device_type = "memory";
  55. reg = <0x0 0x00000000 0x0 0x40000000>; // 1G at 0x0
  56. };
  57. localbus@fffe05000 {
  58. #address-cells = <2>;
  59. #size-cells = <1>;
  60. compatible = "fsl,mpc8641-localbus", "simple-bus";
  61. reg = <0x0f 0xffe05000 0x0 0x1000>;
  62. interrupts = <19 2>;
  63. interrupt-parent = <&mpic>;
  64. ranges = <0 0 0xf 0xef800000 0x00800000
  65. 2 0 0xf 0xffdf8000 0x00008000
  66. 3 0 0xf 0xffdf0000 0x00008000>;
  67. flash@0,0 {
  68. compatible = "cfi-flash";
  69. reg = <0 0 0x00800000>;
  70. bank-width = <2>;
  71. device-width = <2>;
  72. #address-cells = <1>;
  73. #size-cells = <1>;
  74. partition@0 {
  75. label = "kernel";
  76. reg = <0x00000000 0x00300000>;
  77. };
  78. partition@300000 {
  79. label = "firmware b";
  80. reg = <0x00300000 0x00100000>;
  81. read-only;
  82. };
  83. partition@400000 {
  84. label = "fs";
  85. reg = <0x00400000 0x00300000>;
  86. };
  87. partition@700000 {
  88. label = "firmware a";
  89. reg = <0x00700000 0x00100000>;
  90. read-only;
  91. };
  92. };
  93. };
  94. soc8641@fffe00000 {
  95. #address-cells = <1>;
  96. #size-cells = <1>;
  97. device_type = "soc";
  98. compatible = "simple-bus";
  99. ranges = <0x00000000 0x0f 0xffe00000 0x00100000>;
  100. reg = <0x0f 0xffe00000 0x0 0x00001000>; // CCSRBAR
  101. bus-frequency = <0>;
  102. mcm-law@0 {
  103. compatible = "fsl,mcm-law";
  104. reg = <0x0 0x1000>;
  105. fsl,num-laws = <10>;
  106. };
  107. mcm@1000 {
  108. compatible = "fsl,mpc8641-mcm", "fsl,mcm";
  109. reg = <0x1000 0x1000>;
  110. interrupts = <17 2>;
  111. interrupt-parent = <&mpic>;
  112. };
  113. i2c@3000 {
  114. #address-cells = <1>;
  115. #size-cells = <0>;
  116. cell-index = <0>;
  117. compatible = "fsl-i2c";
  118. reg = <0x3000 0x100>;
  119. interrupts = <43 2>;
  120. interrupt-parent = <&mpic>;
  121. dfsrr;
  122. };
  123. i2c@3100 {
  124. #address-cells = <1>;
  125. #size-cells = <0>;
  126. cell-index = <1>;
  127. compatible = "fsl-i2c";
  128. reg = <0x3100 0x100>;
  129. interrupts = <43 2>;
  130. interrupt-parent = <&mpic>;
  131. dfsrr;
  132. };
  133. dma@21300 {
  134. #address-cells = <1>;
  135. #size-cells = <1>;
  136. compatible = "fsl,mpc8641-dma", "fsl,eloplus-dma";
  137. reg = <0x21300 0x4>;
  138. ranges = <0x0 0x21100 0x200>;
  139. cell-index = <0>;
  140. dma-channel@0 {
  141. compatible = "fsl,mpc8641-dma-channel",
  142. "fsl,eloplus-dma-channel";
  143. reg = <0x0 0x80>;
  144. cell-index = <0>;
  145. interrupt-parent = <&mpic>;
  146. interrupts = <20 2>;
  147. };
  148. dma-channel@80 {
  149. compatible = "fsl,mpc8641-dma-channel",
  150. "fsl,eloplus-dma-channel";
  151. reg = <0x80 0x80>;
  152. cell-index = <1>;
  153. interrupt-parent = <&mpic>;
  154. interrupts = <21 2>;
  155. };
  156. dma-channel@100 {
  157. compatible = "fsl,mpc8641-dma-channel",
  158. "fsl,eloplus-dma-channel";
  159. reg = <0x100 0x80>;
  160. cell-index = <2>;
  161. interrupt-parent = <&mpic>;
  162. interrupts = <22 2>;
  163. };
  164. dma-channel@180 {
  165. compatible = "fsl,mpc8641-dma-channel",
  166. "fsl,eloplus-dma-channel";
  167. reg = <0x180 0x80>;
  168. cell-index = <3>;
  169. interrupt-parent = <&mpic>;
  170. interrupts = <23 2>;
  171. };
  172. };
  173. enet0: ethernet@24000 {
  174. #address-cells = <1>;
  175. #size-cells = <1>;
  176. cell-index = <0>;
  177. device_type = "network";
  178. model = "TSEC";
  179. compatible = "gianfar";
  180. reg = <0x24000 0x1000>;
  181. ranges = <0x0 0x24000 0x1000>;
  182. local-mac-address = [ 00 00 00 00 00 00 ];
  183. interrupts = <29 2 30 2 34 2>;
  184. interrupt-parent = <&mpic>;
  185. tbi-handle = <&tbi0>;
  186. phy-handle = <&phy0>;
  187. phy-connection-type = "rgmii-id";
  188. mdio@520 {
  189. #address-cells = <1>;
  190. #size-cells = <0>;
  191. compatible = "fsl,gianfar-mdio";
  192. reg = <0x520 0x20>;
  193. phy0: ethernet-phy@0 {
  194. interrupt-parent = <&mpic>;
  195. interrupts = <10 1>;
  196. reg = <0>;
  197. device_type = "ethernet-phy";
  198. };
  199. phy1: ethernet-phy@1 {
  200. interrupt-parent = <&mpic>;
  201. interrupts = <10 1>;
  202. reg = <1>;
  203. device_type = "ethernet-phy";
  204. };
  205. phy2: ethernet-phy@2 {
  206. interrupt-parent = <&mpic>;
  207. interrupts = <10 1>;
  208. reg = <2>;
  209. device_type = "ethernet-phy";
  210. };
  211. phy3: ethernet-phy@3 {
  212. interrupt-parent = <&mpic>;
  213. interrupts = <10 1>;
  214. reg = <3>;
  215. device_type = "ethernet-phy";
  216. };
  217. tbi0: tbi-phy@11 {
  218. reg = <0x11>;
  219. device_type = "tbi-phy";
  220. };
  221. };
  222. };
  223. enet1: ethernet@25000 {
  224. #address-cells = <1>;
  225. #size-cells = <1>;
  226. cell-index = <1>;
  227. device_type = "network";
  228. model = "TSEC";
  229. compatible = "gianfar";
  230. reg = <0x25000 0x1000>;
  231. ranges = <0x0 0x25000 0x1000>;
  232. local-mac-address = [ 00 00 00 00 00 00 ];
  233. interrupts = <35 2 36 2 40 2>;
  234. interrupt-parent = <&mpic>;
  235. tbi-handle = <&tbi1>;
  236. phy-handle = <&phy1>;
  237. phy-connection-type = "rgmii-id";
  238. mdio@520 {
  239. #address-cells = <1>;
  240. #size-cells = <0>;
  241. compatible = "fsl,gianfar-tbi";
  242. reg = <0x520 0x20>;
  243. tbi1: tbi-phy@11 {
  244. reg = <0x11>;
  245. device_type = "tbi-phy";
  246. };
  247. };
  248. };
  249. enet2: ethernet@26000 {
  250. #address-cells = <1>;
  251. #size-cells = <1>;
  252. cell-index = <2>;
  253. device_type = "network";
  254. model = "TSEC";
  255. compatible = "gianfar";
  256. reg = <0x26000 0x1000>;
  257. ranges = <0x0 0x26000 0x1000>;
  258. local-mac-address = [ 00 00 00 00 00 00 ];
  259. interrupts = <31 2 32 2 33 2>;
  260. interrupt-parent = <&mpic>;
  261. tbi-handle = <&tbi2>;
  262. phy-handle = <&phy2>;
  263. phy-connection-type = "rgmii-id";
  264. mdio@520 {
  265. #address-cells = <1>;
  266. #size-cells = <0>;
  267. compatible = "fsl,gianfar-tbi";
  268. reg = <0x520 0x20>;
  269. tbi2: tbi-phy@11 {
  270. reg = <0x11>;
  271. device_type = "tbi-phy";
  272. };
  273. };
  274. };
  275. enet3: ethernet@27000 {
  276. #address-cells = <1>;
  277. #size-cells = <1>;
  278. cell-index = <3>;
  279. device_type = "network";
  280. model = "TSEC";
  281. compatible = "gianfar";
  282. reg = <0x27000 0x1000>;
  283. ranges = <0x0 0x27000 0x1000>;
  284. local-mac-address = [ 00 00 00 00 00 00 ];
  285. interrupts = <37 2 38 2 39 2>;
  286. interrupt-parent = <&mpic>;
  287. tbi-handle = <&tbi3>;
  288. phy-handle = <&phy3>;
  289. phy-connection-type = "rgmii-id";
  290. mdio@520 {
  291. #address-cells = <1>;
  292. #size-cells = <0>;
  293. compatible = "fsl,gianfar-tbi";
  294. reg = <0x520 0x20>;
  295. tbi3: tbi-phy@11 {
  296. reg = <0x11>;
  297. device_type = "tbi-phy";
  298. };
  299. };
  300. };
  301. serial0: serial@4500 {
  302. cell-index = <0>;
  303. device_type = "serial";
  304. compatible = "ns16550";
  305. reg = <0x4500 0x100>;
  306. clock-frequency = <0>;
  307. interrupts = <42 2>;
  308. interrupt-parent = <&mpic>;
  309. };
  310. serial1: serial@4600 {
  311. cell-index = <1>;
  312. device_type = "serial";
  313. compatible = "ns16550";
  314. reg = <0x4600 0x100>;
  315. clock-frequency = <0>;
  316. interrupts = <28 2>;
  317. interrupt-parent = <&mpic>;
  318. };
  319. mpic: pic@40000 {
  320. interrupt-controller;
  321. #address-cells = <0>;
  322. #interrupt-cells = <2>;
  323. reg = <0x40000 0x40000>;
  324. compatible = "chrp,open-pic";
  325. device_type = "open-pic";
  326. };
  327. global-utilities@e0000 {
  328. compatible = "fsl,mpc8641-guts";
  329. reg = <0xe0000 0x1000>;
  330. fsl,has-rstcr;
  331. };
  332. };
  333. pci0: pcie@fffe08000 {
  334. cell-index = <0>;
  335. compatible = "fsl,mpc8641-pcie";
  336. device_type = "pci";
  337. #interrupt-cells = <1>;
  338. #size-cells = <2>;
  339. #address-cells = <3>;
  340. reg = <0x0f 0xffe08000 0x0 0x1000>;
  341. bus-range = <0x0 0xff>;
  342. ranges = <0x02000000 0x0 0xc0000000 0x0c 0x00000000 0x0 0x20000000
  343. 0x01000000 0x0 0x00000000 0x0f 0xffc00000 0x0 0x00010000>;
  344. clock-frequency = <33333333>;
  345. interrupt-parent = <&mpic>;
  346. interrupts = <24 2>;
  347. interrupt-map-mask = <0xff00 0 0 7>;
  348. interrupt-map = <
  349. /* IDSEL 0x11 func 0 - PCI slot 1 */
  350. 0x8800 0 0 1 &mpic 2 1
  351. 0x8800 0 0 2 &mpic 3 1
  352. 0x8800 0 0 3 &mpic 4 1
  353. 0x8800 0 0 4 &mpic 1 1
  354. /* IDSEL 0x11 func 1 - PCI slot 1 */
  355. 0x8900 0 0 1 &mpic 2 1
  356. 0x8900 0 0 2 &mpic 3 1
  357. 0x8900 0 0 3 &mpic 4 1
  358. 0x8900 0 0 4 &mpic 1 1
  359. /* IDSEL 0x11 func 2 - PCI slot 1 */
  360. 0x8a00 0 0 1 &mpic 2 1
  361. 0x8a00 0 0 2 &mpic 3 1
  362. 0x8a00 0 0 3 &mpic 4 1
  363. 0x8a00 0 0 4 &mpic 1 1
  364. /* IDSEL 0x11 func 3 - PCI slot 1 */
  365. 0x8b00 0 0 1 &mpic 2 1
  366. 0x8b00 0 0 2 &mpic 3 1
  367. 0x8b00 0 0 3 &mpic 4 1
  368. 0x8b00 0 0 4 &mpic 1 1
  369. /* IDSEL 0x11 func 4 - PCI slot 1 */
  370. 0x8c00 0 0 1 &mpic 2 1
  371. 0x8c00 0 0 2 &mpic 3 1
  372. 0x8c00 0 0 3 &mpic 4 1
  373. 0x8c00 0 0 4 &mpic 1 1
  374. /* IDSEL 0x11 func 5 - PCI slot 1 */
  375. 0x8d00 0 0 1 &mpic 2 1
  376. 0x8d00 0 0 2 &mpic 3 1
  377. 0x8d00 0 0 3 &mpic 4 1
  378. 0x8d00 0 0 4 &mpic 1 1
  379. /* IDSEL 0x11 func 6 - PCI slot 1 */
  380. 0x8e00 0 0 1 &mpic 2 1
  381. 0x8e00 0 0 2 &mpic 3 1
  382. 0x8e00 0 0 3 &mpic 4 1
  383. 0x8e00 0 0 4 &mpic 1 1
  384. /* IDSEL 0x11 func 7 - PCI slot 1 */
  385. 0x8f00 0 0 1 &mpic 2 1
  386. 0x8f00 0 0 2 &mpic 3 1
  387. 0x8f00 0 0 3 &mpic 4 1
  388. 0x8f00 0 0 4 &mpic 1 1
  389. /* IDSEL 0x12 func 0 - PCI slot 2 */
  390. 0x9000 0 0 1 &mpic 3 1
  391. 0x9000 0 0 2 &mpic 4 1
  392. 0x9000 0 0 3 &mpic 1 1
  393. 0x9000 0 0 4 &mpic 2 1
  394. /* IDSEL 0x12 func 1 - PCI slot 2 */
  395. 0x9100 0 0 1 &mpic 3 1
  396. 0x9100 0 0 2 &mpic 4 1
  397. 0x9100 0 0 3 &mpic 1 1
  398. 0x9100 0 0 4 &mpic 2 1
  399. /* IDSEL 0x12 func 2 - PCI slot 2 */
  400. 0x9200 0 0 1 &mpic 3 1
  401. 0x9200 0 0 2 &mpic 4 1
  402. 0x9200 0 0 3 &mpic 1 1
  403. 0x9200 0 0 4 &mpic 2 1
  404. /* IDSEL 0x12 func 3 - PCI slot 2 */
  405. 0x9300 0 0 1 &mpic 3 1
  406. 0x9300 0 0 2 &mpic 4 1
  407. 0x9300 0 0 3 &mpic 1 1
  408. 0x9300 0 0 4 &mpic 2 1
  409. /* IDSEL 0x12 func 4 - PCI slot 2 */
  410. 0x9400 0 0 1 &mpic 3 1
  411. 0x9400 0 0 2 &mpic 4 1
  412. 0x9400 0 0 3 &mpic 1 1
  413. 0x9400 0 0 4 &mpic 2 1
  414. /* IDSEL 0x12 func 5 - PCI slot 2 */
  415. 0x9500 0 0 1 &mpic 3 1
  416. 0x9500 0 0 2 &mpic 4 1
  417. 0x9500 0 0 3 &mpic 1 1
  418. 0x9500 0 0 4 &mpic 2 1
  419. /* IDSEL 0x12 func 6 - PCI slot 2 */
  420. 0x9600 0 0 1 &mpic 3 1
  421. 0x9600 0 0 2 &mpic 4 1
  422. 0x9600 0 0 3 &mpic 1 1
  423. 0x9600 0 0 4 &mpic 2 1
  424. /* IDSEL 0x12 func 7 - PCI slot 2 */
  425. 0x9700 0 0 1 &mpic 3 1
  426. 0x9700 0 0 2 &mpic 4 1
  427. 0x9700 0 0 3 &mpic 1 1
  428. 0x9700 0 0 4 &mpic 2 1
  429. // IDSEL 0x1c USB
  430. 0xe000 0 0 1 &i8259 12 2
  431. 0xe100 0 0 2 &i8259 9 2
  432. 0xe200 0 0 3 &i8259 10 2
  433. 0xe300 0 0 4 &i8259 11 2
  434. // IDSEL 0x1d Audio
  435. 0xe800 0 0 1 &i8259 6 2
  436. // IDSEL 0x1e Legacy
  437. 0xf000 0 0 1 &i8259 7 2
  438. 0xf100 0 0 1 &i8259 7 2
  439. // IDSEL 0x1f IDE/SATA
  440. 0xf800 0 0 1 &i8259 14 2
  441. 0xf900 0 0 1 &i8259 5 2
  442. >;
  443. pcie@0 {
  444. reg = <0 0 0 0 0>;
  445. #size-cells = <2>;
  446. #address-cells = <3>;
  447. device_type = "pci";
  448. ranges = <0x02000000 0x0 0xc0000000
  449. 0x02000000 0x0 0xc0000000
  450. 0x0 0x20000000
  451. 0x01000000 0x0 0x00000000
  452. 0x01000000 0x0 0x00000000
  453. 0x0 0x00010000>;
  454. uli1575@0 {
  455. reg = <0 0 0 0 0>;
  456. #size-cells = <2>;
  457. #address-cells = <3>;
  458. ranges = <0x02000000 0x0 0xc0000000
  459. 0x02000000 0x0 0xc0000000
  460. 0x0 0x20000000
  461. 0x01000000 0x0 0x00000000
  462. 0x01000000 0x0 0x00000000
  463. 0x0 0x00010000>;
  464. isa@1e {
  465. device_type = "isa";
  466. #interrupt-cells = <2>;
  467. #size-cells = <1>;
  468. #address-cells = <2>;
  469. reg = <0xf000 0 0 0 0>;
  470. ranges = <1 0 0x01000000 0 0
  471. 0x00001000>;
  472. interrupt-parent = <&i8259>;
  473. i8259: interrupt-controller@20 {
  474. reg = <1 0x20 2
  475. 1 0xa0 2
  476. 1 0x4d0 2>;
  477. interrupt-controller;
  478. device_type = "interrupt-controller";
  479. #address-cells = <0>;
  480. #interrupt-cells = <2>;
  481. compatible = "chrp,iic";
  482. interrupts = <9 2>;
  483. interrupt-parent = <&mpic>;
  484. };
  485. i8042@60 {
  486. #size-cells = <0>;
  487. #address-cells = <1>;
  488. reg = <1 0x60 1 1 0x64 1>;
  489. interrupts = <1 3 12 3>;
  490. interrupt-parent =
  491. <&i8259>;
  492. keyboard@0 {
  493. reg = <0>;
  494. compatible = "pnpPNP,303";
  495. };
  496. mouse@1 {
  497. reg = <1>;
  498. compatible = "pnpPNP,f03";
  499. };
  500. };
  501. rtc@70 {
  502. compatible =
  503. "pnpPNP,b00";
  504. reg = <1 0x70 2>;
  505. };
  506. gpio@400 {
  507. reg = <1 0x400 0x80>;
  508. };
  509. };
  510. };
  511. };
  512. };
  513. pci1: pcie@fffe09000 {
  514. cell-index = <1>;
  515. compatible = "fsl,mpc8641-pcie";
  516. device_type = "pci";
  517. #interrupt-cells = <1>;
  518. #size-cells = <2>;
  519. #address-cells = <3>;
  520. reg = <0x0f 0xffe09000 0x0 0x1000>;
  521. bus-range = <0x0 0xff>;
  522. ranges = <0x02000000 0x0 0xc0000000 0x0c 0x20000000 0x0 0x20000000
  523. 0x01000000 0x0 0x00000000 0x0f 0xffc10000 0x0 0x00010000>;
  524. clock-frequency = <33333333>;
  525. interrupt-parent = <&mpic>;
  526. interrupts = <25 2>;
  527. interrupt-map-mask = <0xf800 0 0 7>;
  528. interrupt-map = <
  529. /* IDSEL 0x0 */
  530. 0x0000 0 0 1 &mpic 4 1
  531. 0x0000 0 0 2 &mpic 5 1
  532. 0x0000 0 0 3 &mpic 6 1
  533. 0x0000 0 0 4 &mpic 7 1
  534. >;
  535. pcie@0 {
  536. reg = <0 0 0 0 0>;
  537. #size-cells = <2>;
  538. #address-cells = <3>;
  539. device_type = "pci";
  540. ranges = <0x02000000 0x0 0xc0000000
  541. 0x02000000 0x0 0xc0000000
  542. 0x0 0x20000000
  543. 0x01000000 0x0 0x00000000
  544. 0x01000000 0x0 0x00000000
  545. 0x0 0x00010000>;
  546. };
  547. };
  548. };