p4080ds.dts 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553
  1. /*
  2. * P4080DS Device Tree Source
  3. *
  4. * Copyright 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 = "fsl,P4080DS";
  14. compatible = "fsl,P4080DS";
  15. #address-cells = <2>;
  16. #size-cells = <2>;
  17. aliases {
  18. ccsr = &soc;
  19. serial0 = &serial0;
  20. serial1 = &serial1;
  21. serial2 = &serial2;
  22. serial3 = &serial3;
  23. pci0 = &pci0;
  24. pci1 = &pci1;
  25. pci2 = &pci2;
  26. usb0 = &usb0;
  27. usb1 = &usb1;
  28. dma0 = &dma0;
  29. dma1 = &dma1;
  30. sdhc = &sdhc;
  31. rio0 = &rapidio0;
  32. };
  33. cpus {
  34. #address-cells = <1>;
  35. #size-cells = <0>;
  36. cpu0: PowerPC,4080@0 {
  37. device_type = "cpu";
  38. reg = <0>;
  39. next-level-cache = <&L2_0>;
  40. L2_0: l2-cache {
  41. };
  42. };
  43. cpu1: PowerPC,4080@1 {
  44. device_type = "cpu";
  45. reg = <1>;
  46. next-level-cache = <&L2_1>;
  47. L2_1: l2-cache {
  48. };
  49. };
  50. cpu2: PowerPC,4080@2 {
  51. device_type = "cpu";
  52. reg = <2>;
  53. next-level-cache = <&L2_2>;
  54. L2_2: l2-cache {
  55. };
  56. };
  57. cpu3: PowerPC,4080@3 {
  58. device_type = "cpu";
  59. reg = <3>;
  60. next-level-cache = <&L2_3>;
  61. L2_3: l2-cache {
  62. };
  63. };
  64. cpu4: PowerPC,4080@4 {
  65. device_type = "cpu";
  66. reg = <4>;
  67. next-level-cache = <&L2_4>;
  68. L2_4: l2-cache {
  69. };
  70. };
  71. cpu5: PowerPC,4080@5 {
  72. device_type = "cpu";
  73. reg = <5>;
  74. next-level-cache = <&L2_5>;
  75. L2_5: l2-cache {
  76. };
  77. };
  78. cpu6: PowerPC,4080@6 {
  79. device_type = "cpu";
  80. reg = <6>;
  81. next-level-cache = <&L2_6>;
  82. L2_6: l2-cache {
  83. };
  84. };
  85. cpu7: PowerPC,4080@7 {
  86. device_type = "cpu";
  87. reg = <7>;
  88. next-level-cache = <&L2_7>;
  89. L2_7: l2-cache {
  90. };
  91. };
  92. };
  93. memory {
  94. device_type = "memory";
  95. };
  96. soc: soc@ffe000000 {
  97. #address-cells = <1>;
  98. #size-cells = <1>;
  99. device_type = "soc";
  100. compatible = "simple-bus";
  101. ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
  102. reg = <0xf 0xfe000000 0 0x00001000>;
  103. corenet-law@0 {
  104. compatible = "fsl,corenet-law";
  105. reg = <0x0 0x1000>;
  106. fsl,num-laws = <32>;
  107. };
  108. memory-controller@8000 {
  109. compatible = "fsl,p4080-memory-controller";
  110. reg = <0x8000 0x1000>;
  111. interrupt-parent = <&mpic>;
  112. interrupts = <0x12 2>;
  113. };
  114. memory-controller@9000 {
  115. compatible = "fsl,p4080-memory-controller";
  116. reg = <0x9000 0x1000>;
  117. interrupt-parent = <&mpic>;
  118. interrupts = <0x12 2>;
  119. };
  120. corenet-cf@18000 {
  121. compatible = "fsl,corenet-cf";
  122. reg = <0x18000 0x1000>;
  123. fsl,ccf-num-csdids = <32>;
  124. fsl,ccf-num-snoopids = <32>;
  125. };
  126. iommu@20000 {
  127. compatible = "fsl,p4080-pamu";
  128. reg = <0x20000 0x10000>;
  129. interrupts = <24 2>;
  130. interrupt-parent = <&mpic>;
  131. };
  132. mpic: pic@40000 {
  133. interrupt-controller;
  134. #address-cells = <0>;
  135. #interrupt-cells = <2>;
  136. reg = <0x40000 0x40000>;
  137. compatible = "chrp,open-pic";
  138. device_type = "open-pic";
  139. };
  140. dma0: dma@100300 {
  141. #address-cells = <1>;
  142. #size-cells = <1>;
  143. compatible = "fsl,p4080-dma", "fsl,eloplus-dma";
  144. reg = <0x100300 0x4>;
  145. ranges = <0x0 0x100100 0x200>;
  146. cell-index = <0>;
  147. dma-channel@0 {
  148. compatible = "fsl,p4080-dma-channel",
  149. "fsl,eloplus-dma-channel";
  150. reg = <0x0 0x80>;
  151. cell-index = <0>;
  152. interrupt-parent = <&mpic>;
  153. interrupts = <28 2>;
  154. };
  155. dma-channel@80 {
  156. compatible = "fsl,p4080-dma-channel",
  157. "fsl,eloplus-dma-channel";
  158. reg = <0x80 0x80>;
  159. cell-index = <1>;
  160. interrupt-parent = <&mpic>;
  161. interrupts = <29 2>;
  162. };
  163. dma-channel@100 {
  164. compatible = "fsl,p4080-dma-channel",
  165. "fsl,eloplus-dma-channel";
  166. reg = <0x100 0x80>;
  167. cell-index = <2>;
  168. interrupt-parent = <&mpic>;
  169. interrupts = <30 2>;
  170. };
  171. dma-channel@180 {
  172. compatible = "fsl,p4080-dma-channel",
  173. "fsl,eloplus-dma-channel";
  174. reg = <0x180 0x80>;
  175. cell-index = <3>;
  176. interrupt-parent = <&mpic>;
  177. interrupts = <31 2>;
  178. };
  179. };
  180. dma1: dma@101300 {
  181. #address-cells = <1>;
  182. #size-cells = <1>;
  183. compatible = "fsl,p4080-dma", "fsl,eloplus-dma";
  184. reg = <0x101300 0x4>;
  185. ranges = <0x0 0x101100 0x200>;
  186. cell-index = <1>;
  187. dma-channel@0 {
  188. compatible = "fsl,p4080-dma-channel",
  189. "fsl,eloplus-dma-channel";
  190. reg = <0x0 0x80>;
  191. cell-index = <0>;
  192. interrupt-parent = <&mpic>;
  193. interrupts = <32 2>;
  194. };
  195. dma-channel@80 {
  196. compatible = "fsl,p4080-dma-channel",
  197. "fsl,eloplus-dma-channel";
  198. reg = <0x80 0x80>;
  199. cell-index = <1>;
  200. interrupt-parent = <&mpic>;
  201. interrupts = <33 2>;
  202. };
  203. dma-channel@100 {
  204. compatible = "fsl,p4080-dma-channel",
  205. "fsl,eloplus-dma-channel";
  206. reg = <0x100 0x80>;
  207. cell-index = <2>;
  208. interrupt-parent = <&mpic>;
  209. interrupts = <34 2>;
  210. };
  211. dma-channel@180 {
  212. compatible = "fsl,p4080-dma-channel",
  213. "fsl,eloplus-dma-channel";
  214. reg = <0x180 0x80>;
  215. cell-index = <3>;
  216. interrupt-parent = <&mpic>;
  217. interrupts = <35 2>;
  218. };
  219. };
  220. spi@110000 {
  221. #address-cells = <1>;
  222. #size-cells = <0>;
  223. compatible = "fsl,p4080-espi", "fsl,mpc8536-espi";
  224. reg = <0x110000 0x1000>;
  225. interrupts = <53 0x2>;
  226. interrupt-parent = <&mpic>;
  227. fsl,espi-num-chipselects = <4>;
  228. flash@0 {
  229. #address-cells = <1>;
  230. #size-cells = <1>;
  231. compatible = "spansion,s25sl12801";
  232. reg = <0>;
  233. spi-max-frequency = <40000000>; /* input clock */
  234. partition@u-boot {
  235. label = "u-boot";
  236. reg = <0x00000000 0x00100000>;
  237. read-only;
  238. };
  239. partition@kernel {
  240. label = "kernel";
  241. reg = <0x00100000 0x00500000>;
  242. read-only;
  243. };
  244. partition@dtb {
  245. label = "dtb";
  246. reg = <0x00600000 0x00100000>;
  247. read-only;
  248. };
  249. partition@fs {
  250. label = "file system";
  251. reg = <0x00700000 0x00900000>;
  252. };
  253. };
  254. };
  255. sdhc: sdhc@114000 {
  256. compatible = "fsl,p4080-esdhc", "fsl,esdhc";
  257. reg = <0x114000 0x1000>;
  258. interrupts = <48 2>;
  259. interrupt-parent = <&mpic>;
  260. voltage-ranges = <3300 3300>;
  261. sdhci,auto-cmd12;
  262. };
  263. i2c@118000 {
  264. #address-cells = <1>;
  265. #size-cells = <0>;
  266. cell-index = <0>;
  267. compatible = "fsl-i2c";
  268. reg = <0x118000 0x100>;
  269. interrupts = <38 2>;
  270. interrupt-parent = <&mpic>;
  271. dfsrr;
  272. };
  273. i2c@118100 {
  274. #address-cells = <1>;
  275. #size-cells = <0>;
  276. cell-index = <1>;
  277. compatible = "fsl-i2c";
  278. reg = <0x118100 0x100>;
  279. interrupts = <38 2>;
  280. interrupt-parent = <&mpic>;
  281. dfsrr;
  282. eeprom@51 {
  283. compatible = "at24,24c256";
  284. reg = <0x51>;
  285. };
  286. eeprom@52 {
  287. compatible = "at24,24c256";
  288. reg = <0x52>;
  289. };
  290. rtc@68 {
  291. compatible = "dallas,ds3232";
  292. reg = <0x68>;
  293. interrupts = <0 0x1>;
  294. interrupt-parent = <&mpic>;
  295. };
  296. };
  297. i2c@119000 {
  298. #address-cells = <1>;
  299. #size-cells = <0>;
  300. cell-index = <2>;
  301. compatible = "fsl-i2c";
  302. reg = <0x119000 0x100>;
  303. interrupts = <39 2>;
  304. interrupt-parent = <&mpic>;
  305. dfsrr;
  306. };
  307. i2c@119100 {
  308. #address-cells = <1>;
  309. #size-cells = <0>;
  310. cell-index = <3>;
  311. compatible = "fsl-i2c";
  312. reg = <0x119100 0x100>;
  313. interrupts = <39 2>;
  314. interrupt-parent = <&mpic>;
  315. dfsrr;
  316. };
  317. serial0: serial@11c500 {
  318. cell-index = <0>;
  319. device_type = "serial";
  320. compatible = "ns16550";
  321. reg = <0x11c500 0x100>;
  322. clock-frequency = <0>;
  323. interrupts = <36 2>;
  324. interrupt-parent = <&mpic>;
  325. };
  326. serial1: serial@11c600 {
  327. cell-index = <1>;
  328. device_type = "serial";
  329. compatible = "ns16550";
  330. reg = <0x11c600 0x100>;
  331. clock-frequency = <0>;
  332. interrupts = <36 2>;
  333. interrupt-parent = <&mpic>;
  334. };
  335. serial2: serial@11d500 {
  336. cell-index = <2>;
  337. device_type = "serial";
  338. compatible = "ns16550";
  339. reg = <0x11d500 0x100>;
  340. clock-frequency = <0>;
  341. interrupts = <37 2>;
  342. interrupt-parent = <&mpic>;
  343. };
  344. serial3: serial@11d600 {
  345. cell-index = <3>;
  346. device_type = "serial";
  347. compatible = "ns16550";
  348. reg = <0x11d600 0x100>;
  349. clock-frequency = <0>;
  350. interrupts = <37 2>;
  351. interrupt-parent = <&mpic>;
  352. };
  353. gpio0: gpio@130000 {
  354. compatible = "fsl,p4080-gpio";
  355. reg = <0x130000 0x1000>;
  356. interrupts = <55 2>;
  357. interrupt-parent = <&mpic>;
  358. #gpio-cells = <2>;
  359. gpio-controller;
  360. };
  361. usb0: usb@210000 {
  362. compatible = "fsl,p4080-usb2-mph",
  363. "fsl,mpc85xx-usb2-mph", "fsl-usb2-mph";
  364. reg = <0x210000 0x1000>;
  365. #address-cells = <1>;
  366. #size-cells = <0>;
  367. interrupt-parent = <&mpic>;
  368. interrupts = <44 0x2>;
  369. phy_type = "ulpi";
  370. };
  371. usb1: usb@211000 {
  372. compatible = "fsl,p4080-usb2-dr",
  373. "fsl,mpc85xx-usb2-dr", "fsl-usb2-dr";
  374. reg = <0x211000 0x1000>;
  375. #address-cells = <1>;
  376. #size-cells = <0>;
  377. interrupt-parent = <&mpic>;
  378. interrupts = <45 0x2>;
  379. dr_mode = "host";
  380. phy_type = "ulpi";
  381. };
  382. };
  383. rapidio0: rapidio@ffe0c0000 {
  384. #address-cells = <2>;
  385. #size-cells = <2>;
  386. compatible = "fsl,rapidio-delta";
  387. reg = <0xf 0xfe0c0000 0 0x20000>;
  388. ranges = <0 0 0xf 0xf5000000 0 0x01000000>;
  389. interrupt-parent = <&mpic>;
  390. /* err_irq bell_outb_irq bell_inb_irq
  391. msg1_tx_irq msg1_rx_irq msg2_tx_irq msg2_rx_irq */
  392. interrupts = <16 2 56 2 57 2 60 2 61 2 62 2 63 2>;
  393. };
  394. localbus@ffe124000 {
  395. compatible = "fsl,p4080-elbc", "fsl,elbc", "simple-bus";
  396. reg = <0xf 0xfe124000 0 0x1000>;
  397. interrupts = <25 2>;
  398. #address-cells = <2>;
  399. #size-cells = <1>;
  400. ranges = <0 0 0xf 0xe8000000 0x08000000>;
  401. flash@0,0 {
  402. compatible = "cfi-flash";
  403. reg = <0 0 0x08000000>;
  404. bank-width = <2>;
  405. device-width = <2>;
  406. };
  407. };
  408. pci0: pcie@ffe200000 {
  409. compatible = "fsl,p4080-pcie";
  410. device_type = "pci";
  411. #interrupt-cells = <1>;
  412. #size-cells = <2>;
  413. #address-cells = <3>;
  414. reg = <0xf 0xfe200000 0 0x1000>;
  415. bus-range = <0x0 0xff>;
  416. ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000
  417. 0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>;
  418. clock-frequency = <0x1fca055>;
  419. interrupt-parent = <&mpic>;
  420. interrupts = <16 2>;
  421. interrupt-map-mask = <0xf800 0 0 7>;
  422. interrupt-map = <
  423. /* IDSEL 0x0 */
  424. 0000 0 0 1 &mpic 40 1
  425. 0000 0 0 2 &mpic 1 1
  426. 0000 0 0 3 &mpic 2 1
  427. 0000 0 0 4 &mpic 3 1
  428. >;
  429. pcie@0 {
  430. reg = <0 0 0 0 0>;
  431. #size-cells = <2>;
  432. #address-cells = <3>;
  433. device_type = "pci";
  434. ranges = <0x02000000 0 0xe0000000
  435. 0x02000000 0 0xe0000000
  436. 0 0x20000000
  437. 0x01000000 0 0x00000000
  438. 0x01000000 0 0x00000000
  439. 0 0x00010000>;
  440. };
  441. };
  442. pci1: pcie@ffe201000 {
  443. compatible = "fsl,p4080-pcie";
  444. device_type = "pci";
  445. #interrupt-cells = <1>;
  446. #size-cells = <2>;
  447. #address-cells = <3>;
  448. reg = <0xf 0xfe201000 0 0x1000>;
  449. bus-range = <0 0xff>;
  450. ranges = <0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000
  451. 0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000>;
  452. clock-frequency = <0x1fca055>;
  453. interrupt-parent = <&mpic>;
  454. interrupts = <16 2>;
  455. interrupt-map-mask = <0xf800 0 0 7>;
  456. interrupt-map = <
  457. /* IDSEL 0x0 */
  458. 0000 0 0 1 &mpic 41 1
  459. 0000 0 0 2 &mpic 5 1
  460. 0000 0 0 3 &mpic 6 1
  461. 0000 0 0 4 &mpic 7 1
  462. >;
  463. pcie@0 {
  464. reg = <0 0 0 0 0>;
  465. #size-cells = <2>;
  466. #address-cells = <3>;
  467. device_type = "pci";
  468. ranges = <0x02000000 0 0xe0000000
  469. 0x02000000 0 0xe0000000
  470. 0 0x20000000
  471. 0x01000000 0 0x00000000
  472. 0x01000000 0 0x00000000
  473. 0 0x00010000>;
  474. };
  475. };
  476. pci2: pcie@ffe202000 {
  477. compatible = "fsl,p4080-pcie";
  478. device_type = "pci";
  479. #interrupt-cells = <1>;
  480. #size-cells = <2>;
  481. #address-cells = <3>;
  482. reg = <0xf 0xfe202000 0 0x1000>;
  483. bus-range = <0x0 0xff>;
  484. ranges = <0x02000000 0 0xe0000000 0xc 0x40000000 0 0x20000000
  485. 0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>;
  486. clock-frequency = <0x1fca055>;
  487. interrupt-parent = <&mpic>;
  488. interrupts = <16 2>;
  489. interrupt-map-mask = <0xf800 0 0 7>;
  490. interrupt-map = <
  491. /* IDSEL 0x0 */
  492. 0000 0 0 1 &mpic 42 1
  493. 0000 0 0 2 &mpic 9 1
  494. 0000 0 0 3 &mpic 10 1
  495. 0000 0 0 4 &mpic 11 1
  496. >;
  497. pcie@0 {
  498. reg = <0 0 0 0 0>;
  499. #size-cells = <2>;
  500. #address-cells = <3>;
  501. device_type = "pci";
  502. ranges = <0x02000000 0 0xe0000000
  503. 0x02000000 0 0xe0000000
  504. 0 0x20000000
  505. 0x01000000 0 0x00000000
  506. 0x01000000 0 0x00000000
  507. 0 0x00010000>;
  508. };
  509. };
  510. };