xpedite5370.dts 14 KB

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