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