xpedite5370.dts 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639
  1. /*
  2. * Copyright (C) 2008 Extreme Engineering Solutions, Inc.
  3. * Based on MPC8572DS device tree from Freescale Semiconductor, Inc.
  4. *
  5. * XPedite5370 3U VPX single-board computer based on MPC8572E
  6. *
  7. * This is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License version 2 as
  9. * published by the Free Software Foundation.
  10. */
  11. /dts-v1/;
  12. / {
  13. model = "xes,xpedite5370";
  14. compatible = "xes,xpedite5370", "xes,MPC8572";
  15. #address-cells = <2>;
  16. #size-cells = <2>;
  17. aliases {
  18. ethernet0 = &enet0;
  19. ethernet1 = &enet1;
  20. serial0 = &serial0;
  21. serial1 = &serial1;
  22. pci1 = &pci1;
  23. pci2 = &pci2;
  24. };
  25. cpus {
  26. #address-cells = <1>;
  27. #size-cells = <0>;
  28. PowerPC,8572@0 {
  29. device_type = "cpu";
  30. reg = <0x0>;
  31. d-cache-line-size = <32>; // 32 bytes
  32. i-cache-line-size = <32>; // 32 bytes
  33. d-cache-size = <0x8000>; // L1, 32K
  34. i-cache-size = <0x8000>; // L1, 32K
  35. timebase-frequency = <0>;
  36. bus-frequency = <0>;
  37. clock-frequency = <0>;
  38. next-level-cache = <&L2>;
  39. };
  40. PowerPC,8572@1 {
  41. device_type = "cpu";
  42. reg = <0x1>;
  43. d-cache-line-size = <32>; // 32 bytes
  44. i-cache-line-size = <32>; // 32 bytes
  45. d-cache-size = <0x8000>; // L1, 32K
  46. i-cache-size = <0x8000>; // L1, 32K
  47. timebase-frequency = <0>;
  48. bus-frequency = <0>;
  49. clock-frequency = <0>;
  50. next-level-cache = <&L2>;
  51. };
  52. };
  53. memory {
  54. device_type = "memory";
  55. reg = <0x0 0x0 0x0 0x0>; // Filled in by U-Boot
  56. };
  57. localbus@ef005000 {
  58. #address-cells = <2>;
  59. #size-cells = <1>;
  60. compatible = "fsl,mpc8572-elbc", "fsl,elbc", "simple-bus";
  61. reg = <0 0xef005000 0 0x1000>;
  62. interrupts = <19 2>;
  63. interrupt-parent = <&mpic>;
  64. /* Local bus region mappings */
  65. ranges = <0 0 0 0xf8000000 0x8000000 /* CS0: Boot flash */
  66. 1 0 0 0xf0000000 0x8000000 /* CS1: Alternate flash */
  67. 2 0 0 0xef800000 0x40000 /* CS2: NAND CE1 */
  68. 3 0 0 0xef840000 0x40000>; /* CS3: NAND CE2 */
  69. nor-boot@0,0 {
  70. compatible = "amd,s29gl01gp", "cfi-flash";
  71. bank-width = <2>;
  72. reg = <0 0 0x8000000>; /* 128MB */
  73. #address-cells = <1>;
  74. #size-cells = <1>;
  75. partition@0 {
  76. label = "Primary user space";
  77. reg = <0x00000000 0x6f00000>; /* 111 MB */
  78. };
  79. partition@6f00000 {
  80. label = "Primary kernel";
  81. reg = <0x6f00000 0x1000000>; /* 16 MB */
  82. };
  83. partition@7f00000 {
  84. label = "Primary DTB";
  85. reg = <0x7f00000 0x40000>; /* 256 KB */
  86. };
  87. partition@7f40000 {
  88. label = "Primary U-Boot environment";
  89. reg = <0x7f40000 0x40000>; /* 256 KB */
  90. };
  91. partition@7f80000 {
  92. label = "Primary U-Boot";
  93. reg = <0x7f80000 0x80000>; /* 512 KB */
  94. read-only;
  95. };
  96. };
  97. nor-alternate@1,0 {
  98. compatible = "amd,s29gl01gp", "cfi-flash";
  99. bank-width = <2>;
  100. //reg = <0xf0000000 0x08000000>; /* 128MB */
  101. reg = <1 0 0x8000000>; /* 128MB */
  102. #address-cells = <1>;
  103. #size-cells = <1>;
  104. partition@0 {
  105. label = "Secondary user space";
  106. reg = <0x00000000 0x6f00000>; /* 111 MB */
  107. };
  108. partition@6f00000 {
  109. label = "Secondary kernel";
  110. reg = <0x6f00000 0x1000000>; /* 16 MB */
  111. };
  112. partition@7f00000 {
  113. label = "Secondary DTB";
  114. reg = <0x7f00000 0x40000>; /* 256 KB */
  115. };
  116. partition@7f40000 {
  117. label = "Secondary U-Boot environment";
  118. reg = <0x7f40000 0x40000>; /* 256 KB */
  119. };
  120. partition@7f80000 {
  121. label = "Secondary U-Boot";
  122. reg = <0x7f80000 0x80000>; /* 512 KB */
  123. read-only;
  124. };
  125. };
  126. nand@2,0 {
  127. #address-cells = <1>;
  128. #size-cells = <1>;
  129. /*
  130. * Actual part could be ST Micro NAND08GW3B2A (1 GB),
  131. * Micron MT29F8G08DAA (2x 512 MB), or Micron
  132. * MT29F16G08FAA (2x 1 GB), depending on the build
  133. * configuration
  134. */
  135. compatible = "fsl,mpc8572-fcm-nand",
  136. "fsl,elbc-fcm-nand";
  137. reg = <2 0 0x40000>;
  138. /* U-Boot should fix this up if chip size > 1 GB */
  139. partition@0 {
  140. label = "NAND Filesystem";
  141. reg = <0 0x40000000>;
  142. };
  143. };
  144. };
  145. soc8572@ef000000 {
  146. #address-cells = <1>;
  147. #size-cells = <1>;
  148. device_type = "soc";
  149. compatible = "fsl,mpc8572-immr", "simple-bus";
  150. ranges = <0x0 0 0xef000000 0x100000>;
  151. bus-frequency = <0>; // Filled out by uboot.
  152. ecm-law@0 {
  153. compatible = "fsl,ecm-law";
  154. reg = <0x0 0x1000>;
  155. fsl,num-laws = <12>;
  156. };
  157. ecm@1000 {
  158. compatible = "fsl,mpc8572-ecm", "fsl,ecm";
  159. reg = <0x1000 0x1000>;
  160. interrupts = <17 2>;
  161. interrupt-parent = <&mpic>;
  162. };
  163. memory-controller@2000 {
  164. compatible = "fsl,mpc8572-memory-controller";
  165. reg = <0x2000 0x1000>;
  166. interrupt-parent = <&mpic>;
  167. interrupts = <18 2>;
  168. };
  169. memory-controller@6000 {
  170. compatible = "fsl,mpc8572-memory-controller";
  171. reg = <0x6000 0x1000>;
  172. interrupt-parent = <&mpic>;
  173. interrupts = <18 2>;
  174. };
  175. L2: l2-cache-controller@20000 {
  176. compatible = "fsl,mpc8572-l2-cache-controller";
  177. reg = <0x20000 0x1000>;
  178. cache-line-size = <32>; // 32 bytes
  179. cache-size = <0x100000>; // L2, 1M
  180. interrupt-parent = <&mpic>;
  181. interrupts = <16 2>;
  182. };
  183. i2c@3000 {
  184. #address-cells = <1>;
  185. #size-cells = <0>;
  186. cell-index = <0>;
  187. compatible = "fsl-i2c";
  188. reg = <0x3000 0x100>;
  189. interrupts = <43 2>;
  190. interrupt-parent = <&mpic>;
  191. dfsrr;
  192. temp-sensor@48 {
  193. compatible = "dallas,ds1631", "dallas,ds1621";
  194. reg = <0x48>;
  195. };
  196. temp-sensor@4c {
  197. compatible = "adi,adt7461";
  198. reg = <0x4c>;
  199. };
  200. cpu-supervisor@51 {
  201. compatible = "dallas,ds4510";
  202. reg = <0x51>;
  203. };
  204. eeprom@54 {
  205. compatible = "atmel,at24c128b";
  206. reg = <0x54>;
  207. };
  208. rtc@68 {
  209. compatible = "st,m41t00",
  210. "dallas,ds1338";
  211. reg = <0x68>;
  212. };
  213. pcie-switch@70 {
  214. compatible = "plx,pex8518";
  215. reg = <0x70>;
  216. };
  217. gpio1: gpio@18 {
  218. compatible = "nxp,pca9557";
  219. reg = <0x18>;
  220. #gpio-cells = <2>;
  221. gpio-controller;
  222. polarity = <0x00>;
  223. };
  224. gpio2: gpio@1c {
  225. compatible = "nxp,pca9557";
  226. reg = <0x1c>;
  227. #gpio-cells = <2>;
  228. gpio-controller;
  229. polarity = <0x00>;
  230. };
  231. gpio3: gpio@1e {
  232. compatible = "nxp,pca9557";
  233. reg = <0x1e>;
  234. #gpio-cells = <2>;
  235. gpio-controller;
  236. polarity = <0x00>;
  237. };
  238. gpio4: gpio@1f {
  239. compatible = "nxp,pca9557";
  240. reg = <0x1f>;
  241. #gpio-cells = <2>;
  242. gpio-controller;
  243. polarity = <0x00>;
  244. };
  245. };
  246. i2c@3100 {
  247. #address-cells = <1>;
  248. #size-cells = <0>;
  249. cell-index = <1>;
  250. compatible = "fsl-i2c";
  251. reg = <0x3100 0x100>;
  252. interrupts = <43 2>;
  253. interrupt-parent = <&mpic>;
  254. dfsrr;
  255. };
  256. dma@c300 {
  257. #address-cells = <1>;
  258. #size-cells = <1>;
  259. compatible = "fsl,mpc8572-dma", "fsl,eloplus-dma";
  260. reg = <0xc300 0x4>;
  261. ranges = <0x0 0xc100 0x200>;
  262. cell-index = <1>;
  263. dma-channel@0 {
  264. compatible = "fsl,mpc8572-dma-channel",
  265. "fsl,eloplus-dma-channel";
  266. reg = <0x0 0x80>;
  267. cell-index = <0>;
  268. interrupt-parent = <&mpic>;
  269. interrupts = <76 2>;
  270. };
  271. dma-channel@80 {
  272. compatible = "fsl,mpc8572-dma-channel",
  273. "fsl,eloplus-dma-channel";
  274. reg = <0x80 0x80>;
  275. cell-index = <1>;
  276. interrupt-parent = <&mpic>;
  277. interrupts = <77 2>;
  278. };
  279. dma-channel@100 {
  280. compatible = "fsl,mpc8572-dma-channel",
  281. "fsl,eloplus-dma-channel";
  282. reg = <0x100 0x80>;
  283. cell-index = <2>;
  284. interrupt-parent = <&mpic>;
  285. interrupts = <78 2>;
  286. };
  287. dma-channel@180 {
  288. compatible = "fsl,mpc8572-dma-channel",
  289. "fsl,eloplus-dma-channel";
  290. reg = <0x180 0x80>;
  291. cell-index = <3>;
  292. interrupt-parent = <&mpic>;
  293. interrupts = <79 2>;
  294. };
  295. };
  296. dma@21300 {
  297. #address-cells = <1>;
  298. #size-cells = <1>;
  299. compatible = "fsl,mpc8572-dma", "fsl,eloplus-dma";
  300. reg = <0x21300 0x4>;
  301. ranges = <0x0 0x21100 0x200>;
  302. cell-index = <0>;
  303. dma-channel@0 {
  304. compatible = "fsl,mpc8572-dma-channel",
  305. "fsl,eloplus-dma-channel";
  306. reg = <0x0 0x80>;
  307. cell-index = <0>;
  308. interrupt-parent = <&mpic>;
  309. interrupts = <20 2>;
  310. };
  311. dma-channel@80 {
  312. compatible = "fsl,mpc8572-dma-channel",
  313. "fsl,eloplus-dma-channel";
  314. reg = <0x80 0x80>;
  315. cell-index = <1>;
  316. interrupt-parent = <&mpic>;
  317. interrupts = <21 2>;
  318. };
  319. dma-channel@100 {
  320. compatible = "fsl,mpc8572-dma-channel",
  321. "fsl,eloplus-dma-channel";
  322. reg = <0x100 0x80>;
  323. cell-index = <2>;
  324. interrupt-parent = <&mpic>;
  325. interrupts = <22 2>;
  326. };
  327. dma-channel@180 {
  328. compatible = "fsl,mpc8572-dma-channel",
  329. "fsl,eloplus-dma-channel";
  330. reg = <0x180 0x80>;
  331. cell-index = <3>;
  332. interrupt-parent = <&mpic>;
  333. interrupts = <23 2>;
  334. };
  335. };
  336. /* eTSEC 1 */
  337. enet0: ethernet@24000 {
  338. #address-cells = <1>;
  339. #size-cells = <1>;
  340. cell-index = <0>;
  341. device_type = "network";
  342. model = "eTSEC";
  343. compatible = "gianfar";
  344. reg = <0x24000 0x1000>;
  345. ranges = <0x0 0x24000 0x1000>;
  346. local-mac-address = [ 00 00 00 00 00 00 ];
  347. interrupts = <29 2 30 2 34 2>;
  348. interrupt-parent = <&mpic>;
  349. tbi-handle = <&tbi0>;
  350. phy-handle = <&phy0>;
  351. phy-connection-type = "sgmii";
  352. mdio@520 {
  353. #address-cells = <1>;
  354. #size-cells = <0>;
  355. compatible = "fsl,gianfar-mdio";
  356. reg = <0x520 0x20>;
  357. phy0: ethernet-phy@1 {
  358. interrupt-parent = <&mpic>;
  359. interrupts = <8 1>;
  360. reg = <0x1>;
  361. };
  362. phy1: ethernet-phy@2 {
  363. interrupt-parent = <&mpic>;
  364. interrupts = <8 1>;
  365. reg = <0x2>;
  366. };
  367. tbi0: tbi-phy@11 {
  368. reg = <0x11>;
  369. device_type = "tbi-phy";
  370. };
  371. };
  372. };
  373. /* eTSEC 2 */
  374. enet1: ethernet@25000 {
  375. #address-cells = <1>;
  376. #size-cells = <1>;
  377. cell-index = <1>;
  378. device_type = "network";
  379. model = "eTSEC";
  380. compatible = "gianfar";
  381. reg = <0x25000 0x1000>;
  382. ranges = <0x0 0x25000 0x1000>;
  383. local-mac-address = [ 00 00 00 00 00 00 ];
  384. interrupts = <35 2 36 2 40 2>;
  385. interrupt-parent = <&mpic>;
  386. tbi-handle = <&tbi1>;
  387. phy-handle = <&phy1>;
  388. phy-connection-type = "sgmii";
  389. mdio@520 {
  390. #address-cells = <1>;
  391. #size-cells = <0>;
  392. compatible = "fsl,gianfar-tbi";
  393. reg = <0x520 0x20>;
  394. tbi1: tbi-phy@11 {
  395. reg = <0x11>;
  396. device_type = "tbi-phy";
  397. };
  398. };
  399. };
  400. /* UART0 */
  401. serial0: serial@4500 {
  402. cell-index = <0>;
  403. device_type = "serial";
  404. compatible = "fsl,ns16550", "ns16550";
  405. reg = <0x4500 0x100>;
  406. clock-frequency = <0>;
  407. interrupts = <42 2>;
  408. interrupt-parent = <&mpic>;
  409. };
  410. /* UART1 */
  411. serial1: serial@4600 {
  412. cell-index = <1>;
  413. device_type = "serial";
  414. compatible = "fsl,ns16550", "ns16550";
  415. reg = <0x4600 0x100>;
  416. clock-frequency = <0>;
  417. interrupts = <42 2>;
  418. interrupt-parent = <&mpic>;
  419. };
  420. global-utilities@e0000 { //global utilities block
  421. compatible = "fsl,mpc8572-guts";
  422. reg = <0xe0000 0x1000>;
  423. fsl,has-rstcr;
  424. };
  425. msi@41600 {
  426. compatible = "fsl,mpc8572-msi", "fsl,mpic-msi";
  427. reg = <0x41600 0x80>;
  428. msi-available-ranges = <0 0x100>;
  429. interrupts = <
  430. 0xe0 0
  431. 0xe1 0
  432. 0xe2 0
  433. 0xe3 0
  434. 0xe4 0
  435. 0xe5 0
  436. 0xe6 0
  437. 0xe7 0>;
  438. interrupt-parent = <&mpic>;
  439. };
  440. crypto@30000 {
  441. compatible = "fsl,sec3.0", "fsl,sec2.4", "fsl,sec2.2",
  442. "fsl,sec2.1", "fsl,sec2.0";
  443. reg = <0x30000 0x10000>;
  444. interrupts = <45 2 58 2>;
  445. interrupt-parent = <&mpic>;
  446. fsl,num-channels = <4>;
  447. fsl,channel-fifo-len = <24>;
  448. fsl,exec-units-mask = <0x9fe>;
  449. fsl,descriptor-types-mask = <0x3ab0ebf>;
  450. };
  451. mpic: pic@40000 {
  452. interrupt-controller;
  453. #address-cells = <0>;
  454. #interrupt-cells = <2>;
  455. reg = <0x40000 0x40000>;
  456. compatible = "chrp,open-pic";
  457. device_type = "open-pic";
  458. };
  459. gpio0: gpio@f000 {
  460. compatible = "fsl,mpc8572-gpio";
  461. reg = <0xf000 0x1000>;
  462. interrupts = <47 2>;
  463. interrupt-parent = <&mpic>;
  464. #gpio-cells = <2>;
  465. gpio-controller;
  466. };
  467. gpio-leds {
  468. compatible = "gpio-leds";
  469. heartbeat {
  470. label = "Heartbeat";
  471. gpios = <&gpio0 4 1>;
  472. linux,default-trigger = "heartbeat";
  473. };
  474. yellow {
  475. label = "Yellow";
  476. gpios = <&gpio0 5 1>;
  477. };
  478. red {
  479. label = "Red";
  480. gpios = <&gpio0 6 1>;
  481. };
  482. green {
  483. label = "Green";
  484. gpios = <&gpio0 7 1>;
  485. };
  486. };
  487. /* PME (pattern-matcher) */
  488. pme@10000 {
  489. compatible = "fsl,mpc8572-pme", "pme8572";
  490. reg = <0x10000 0x5000>;
  491. interrupts = <57 2 64 2 65 2 66 2 67 2>;
  492. interrupt-parent = <&mpic>;
  493. };
  494. tlu@2f000 {
  495. compatible = "fsl,mpc8572-tlu", "fsl_tlu";
  496. reg = <0x2f000 0x1000>;
  497. interrupts = <61 2>;
  498. interrupt-parent = <&mpic>;
  499. };
  500. tlu@15000 {
  501. compatible = "fsl,mpc8572-tlu", "fsl_tlu";
  502. reg = <0x15000 0x1000>;
  503. interrupts = <75 2>;
  504. interrupt-parent = <&mpic>;
  505. };
  506. };
  507. /*
  508. * PCI Express controller 3 @ ef008000 is not used.
  509. * This would have been pci0 on other mpc85xx platforms.
  510. */
  511. /* PCI Express controller 2, wired to VPX P1,P2 backplane */
  512. pci1: pcie@ef009000 {
  513. compatible = "fsl,mpc8548-pcie";
  514. device_type = "pci";
  515. #interrupt-cells = <1>;
  516. #size-cells = <2>;
  517. #address-cells = <3>;
  518. reg = <0 0xef009000 0 0x1000>;
  519. bus-range = <0 255>;
  520. ranges = <0x2000000 0x0 0xc0000000 0 0xc0000000 0x0 0x10000000
  521. 0x1000000 0x0 0x00000000 0 0xe8800000 0x0 0x00010000>;
  522. clock-frequency = <33333333>;
  523. interrupt-parent = <&mpic>;
  524. interrupts = <25 2>;
  525. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  526. interrupt-map = <
  527. /* IDSEL 0x0 */
  528. 0x0 0x0 0x0 0x1 &mpic 0x4 0x1
  529. 0x0 0x0 0x0 0x2 &mpic 0x5 0x1
  530. 0x0 0x0 0x0 0x3 &mpic 0x6 0x1
  531. 0x0 0x0 0x0 0x4 &mpic 0x7 0x1
  532. >;
  533. pcie@0 {
  534. reg = <0x00000000 0x00000000 0x00000000 0x00000000 0x00000000>;
  535. #size-cells = <2>;
  536. #address-cells = <3>;
  537. device_type = "pci";
  538. ranges = <0x2000000 0x0 0xc0000000
  539. 0x2000000 0x0 0xc0000000
  540. 0x0 0x10000000
  541. 0x1000000 0x0 0x0
  542. 0x1000000 0x0 0x0
  543. 0x0 0x100000>;
  544. };
  545. };
  546. /* PCI Express controller 1, wired to PEX8518 PCIe switch */
  547. pci2: pcie@ef00a000 {
  548. compatible = "fsl,mpc8548-pcie";
  549. device_type = "pci";
  550. #interrupt-cells = <1>;
  551. #size-cells = <2>;
  552. #address-cells = <3>;
  553. reg = <0 0xef00a000 0 0x1000>;
  554. bus-range = <0 255>;
  555. ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x40000000
  556. 0x1000000 0x0 0x00000000 0 0xe8000000 0x0 0x10000>;
  557. clock-frequency = <33333333>;
  558. interrupt-parent = <&mpic>;
  559. interrupts = <26 2>;
  560. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  561. interrupt-map = <
  562. /* IDSEL 0x0 */
  563. 0x0 0x0 0x0 0x1 &mpic 0x0 0x1
  564. 0x0 0x0 0x0 0x2 &mpic 0x1 0x1
  565. 0x0 0x0 0x0 0x3 &mpic 0x2 0x1
  566. 0x0 0x0 0x0 0x4 &mpic 0x3 0x1
  567. >;
  568. pcie@0 {
  569. reg = <0x0 0x0 0x0 0x0 0x0>;
  570. #size-cells = <2>;
  571. #address-cells = <3>;
  572. device_type = "pci";
  573. ranges = <0x2000000 0x0 0x80000000
  574. 0x2000000 0x0 0x80000000
  575. 0x0 0x40000000
  576. 0x1000000 0x0 0x0
  577. 0x1000000 0x0 0x0
  578. 0x0 0x100000>;
  579. };
  580. };
  581. };