mpc8641_hpcn.dts 11 KB

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