mpc8378_mds.dts 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * MPC8378E MDS Device Tree Source
  4. *
  5. * Copyright 2007 Freescale Semiconductor Inc.
  6. */
  7. /dts-v1/;
  8. / {
  9. model = "fsl,mpc8378emds";
  10. compatible = "fsl,mpc8378emds","fsl,mpc837xmds";
  11. #address-cells = <1>;
  12. #size-cells = <1>;
  13. aliases {
  14. ethernet0 = &enet0;
  15. ethernet1 = &enet1;
  16. serial0 = &serial0;
  17. serial1 = &serial1;
  18. pci0 = &pci0;
  19. pci1 = &pci1;
  20. pci2 = &pci2;
  21. };
  22. cpus {
  23. #address-cells = <1>;
  24. #size-cells = <0>;
  25. PowerPC,8378@0 {
  26. device_type = "cpu";
  27. reg = <0x0>;
  28. d-cache-line-size = <32>;
  29. i-cache-line-size = <32>;
  30. d-cache-size = <32768>;
  31. i-cache-size = <32768>;
  32. timebase-frequency = <0>;
  33. bus-frequency = <0>;
  34. clock-frequency = <0>;
  35. };
  36. };
  37. memory {
  38. device_type = "memory";
  39. reg = <0x00000000 0x20000000>; // 512MB at 0
  40. };
  41. localbus@e0005000 {
  42. #address-cells = <2>;
  43. #size-cells = <1>;
  44. compatible = "fsl,mpc8378-elbc", "fsl,elbc", "simple-bus";
  45. reg = <0xe0005000 0x1000>;
  46. interrupts = <77 0x8>;
  47. interrupt-parent = <&ipic>;
  48. // booting from NOR flash
  49. ranges = <0 0x0 0xfe000000 0x02000000
  50. 1 0x0 0xf8000000 0x00008000
  51. 3 0x0 0xe0600000 0x00008000>;
  52. flash@0,0 {
  53. #address-cells = <1>;
  54. #size-cells = <1>;
  55. compatible = "cfi-flash";
  56. reg = <0 0x0 0x2000000>;
  57. bank-width = <2>;
  58. device-width = <1>;
  59. u-boot@0 {
  60. reg = <0x0 0x100000>;
  61. read-only;
  62. };
  63. fs@100000 {
  64. reg = <0x100000 0x800000>;
  65. };
  66. kernel@1d00000 {
  67. reg = <0x1d00000 0x200000>;
  68. };
  69. dtb@1f00000 {
  70. reg = <0x1f00000 0x100000>;
  71. };
  72. };
  73. bcsr@1,0 {
  74. reg = <1 0x0 0x8000>;
  75. compatible = "fsl,mpc837xmds-bcsr";
  76. };
  77. nand@3,0 {
  78. #address-cells = <1>;
  79. #size-cells = <1>;
  80. compatible = "fsl,mpc8378-fcm-nand",
  81. "fsl,elbc-fcm-nand";
  82. reg = <3 0x0 0x8000>;
  83. u-boot@0 {
  84. reg = <0x0 0x100000>;
  85. read-only;
  86. };
  87. kernel@100000 {
  88. reg = <0x100000 0x300000>;
  89. };
  90. fs@400000 {
  91. reg = <0x400000 0x1c00000>;
  92. };
  93. };
  94. };
  95. soc@e0000000 {
  96. #address-cells = <1>;
  97. #size-cells = <1>;
  98. device_type = "soc";
  99. compatible = "simple-bus";
  100. ranges = <0x0 0xe0000000 0x00100000>;
  101. reg = <0xe0000000 0x00000200>;
  102. bus-frequency = <0>;
  103. wdt@200 {
  104. compatible = "mpc83xx_wdt";
  105. reg = <0x200 0x100>;
  106. };
  107. sleep-nexus {
  108. #address-cells = <1>;
  109. #size-cells = <1>;
  110. compatible = "simple-bus";
  111. sleep = <&pmc 0x0c000000>;
  112. ranges;
  113. i2c@3000 {
  114. #address-cells = <1>;
  115. #size-cells = <0>;
  116. cell-index = <0>;
  117. compatible = "fsl-i2c";
  118. reg = <0x3000 0x100>;
  119. interrupts = <14 0x8>;
  120. interrupt-parent = <&ipic>;
  121. dfsrr;
  122. rtc@68 {
  123. compatible = "dallas,ds1374";
  124. reg = <0x68>;
  125. interrupts = <19 0x8>;
  126. interrupt-parent = <&ipic>;
  127. };
  128. };
  129. sdhci@2e000 {
  130. compatible = "fsl,mpc8378-esdhc", "fsl,esdhc";
  131. reg = <0x2e000 0x1000>;
  132. interrupts = <42 0x8>;
  133. interrupt-parent = <&ipic>;
  134. sdhci,wp-inverted;
  135. /* Filled in by U-Boot */
  136. clock-frequency = <0>;
  137. };
  138. };
  139. i2c@3100 {
  140. #address-cells = <1>;
  141. #size-cells = <0>;
  142. cell-index = <1>;
  143. compatible = "fsl-i2c";
  144. reg = <0x3100 0x100>;
  145. interrupts = <15 0x8>;
  146. interrupt-parent = <&ipic>;
  147. dfsrr;
  148. };
  149. spi@7000 {
  150. cell-index = <0>;
  151. compatible = "fsl,spi";
  152. reg = <0x7000 0x1000>;
  153. interrupts = <16 0x8>;
  154. interrupt-parent = <&ipic>;
  155. mode = "cpu";
  156. };
  157. dma@82a8 {
  158. #address-cells = <1>;
  159. #size-cells = <1>;
  160. compatible = "fsl,mpc8378-dma", "fsl,elo-dma";
  161. reg = <0x82a8 4>;
  162. ranges = <0 0x8100 0x1a8>;
  163. interrupt-parent = <&ipic>;
  164. interrupts = <71 8>;
  165. cell-index = <0>;
  166. dma-channel@0 {
  167. compatible = "fsl,mpc8378-dma-channel", "fsl,elo-dma-channel";
  168. reg = <0 0x80>;
  169. cell-index = <0>;
  170. interrupt-parent = <&ipic>;
  171. interrupts = <71 8>;
  172. };
  173. dma-channel@80 {
  174. compatible = "fsl,mpc8378-dma-channel", "fsl,elo-dma-channel";
  175. reg = <0x80 0x80>;
  176. cell-index = <1>;
  177. interrupt-parent = <&ipic>;
  178. interrupts = <71 8>;
  179. };
  180. dma-channel@100 {
  181. compatible = "fsl,mpc8378-dma-channel", "fsl,elo-dma-channel";
  182. reg = <0x100 0x80>;
  183. cell-index = <2>;
  184. interrupt-parent = <&ipic>;
  185. interrupts = <71 8>;
  186. };
  187. dma-channel@180 {
  188. compatible = "fsl,mpc8378-dma-channel", "fsl,elo-dma-channel";
  189. reg = <0x180 0x28>;
  190. cell-index = <3>;
  191. interrupt-parent = <&ipic>;
  192. interrupts = <71 8>;
  193. };
  194. };
  195. usb@23000 {
  196. compatible = "fsl-usb2-dr";
  197. reg = <0x23000 0x1000>;
  198. #address-cells = <1>;
  199. #size-cells = <0>;
  200. interrupt-parent = <&ipic>;
  201. interrupts = <38 0x8>;
  202. dr_mode = "host";
  203. phy_type = "ulpi";
  204. sleep = <&pmc 0x00c00000>;
  205. };
  206. enet0: ethernet@24000 {
  207. #address-cells = <1>;
  208. #size-cells = <1>;
  209. cell-index = <0>;
  210. device_type = "network";
  211. model = "eTSEC";
  212. compatible = "gianfar";
  213. reg = <0x24000 0x1000>;
  214. ranges = <0x0 0x24000 0x1000>;
  215. local-mac-address = [ 00 00 00 00 00 00 ];
  216. interrupts = <32 0x8 33 0x8 34 0x8>;
  217. phy-connection-type = "mii";
  218. interrupt-parent = <&ipic>;
  219. tbi-handle = <&tbi0>;
  220. phy-handle = <&phy2>;
  221. sleep = <&pmc 0xc0000000>;
  222. fsl,magic-packet;
  223. mdio@520 {
  224. #address-cells = <1>;
  225. #size-cells = <0>;
  226. compatible = "fsl,gianfar-mdio";
  227. reg = <0x520 0x20>;
  228. phy2: ethernet-phy@2 {
  229. interrupt-parent = <&ipic>;
  230. interrupts = <17 0x8>;
  231. reg = <0x2>;
  232. };
  233. phy3: ethernet-phy@3 {
  234. interrupt-parent = <&ipic>;
  235. interrupts = <18 0x8>;
  236. reg = <0x3>;
  237. };
  238. tbi0: tbi-phy@11 {
  239. reg = <0x11>;
  240. device_type = "tbi-phy";
  241. };
  242. };
  243. };
  244. enet1: ethernet@25000 {
  245. #address-cells = <1>;
  246. #size-cells = <1>;
  247. cell-index = <1>;
  248. device_type = "network";
  249. model = "eTSEC";
  250. compatible = "gianfar";
  251. reg = <0x25000 0x1000>;
  252. ranges = <0x0 0x25000 0x1000>;
  253. local-mac-address = [ 00 00 00 00 00 00 ];
  254. interrupts = <35 0x8 36 0x8 37 0x8>;
  255. phy-connection-type = "mii";
  256. interrupt-parent = <&ipic>;
  257. tbi-handle = <&tbi1>;
  258. phy-handle = <&phy3>;
  259. sleep = <&pmc 0x30000000>;
  260. fsl,magic-packet;
  261. mdio@520 {
  262. #address-cells = <1>;
  263. #size-cells = <0>;
  264. compatible = "fsl,gianfar-tbi";
  265. reg = <0x520 0x20>;
  266. tbi1: tbi-phy@11 {
  267. reg = <0x11>;
  268. device_type = "tbi-phy";
  269. };
  270. };
  271. };
  272. serial0: serial@4500 {
  273. cell-index = <0>;
  274. device_type = "serial";
  275. compatible = "fsl,ns16550", "ns16550";
  276. reg = <0x4500 0x100>;
  277. clock-frequency = <0>;
  278. interrupts = <9 0x8>;
  279. interrupt-parent = <&ipic>;
  280. };
  281. serial1: serial@4600 {
  282. cell-index = <1>;
  283. device_type = "serial";
  284. compatible = "fsl,ns16550", "ns16550";
  285. reg = <0x4600 0x100>;
  286. clock-frequency = <0>;
  287. interrupts = <10 0x8>;
  288. interrupt-parent = <&ipic>;
  289. };
  290. crypto@30000 {
  291. compatible = "fsl,sec3.0", "fsl,sec2.4", "fsl,sec2.2",
  292. "fsl,sec2.1", "fsl,sec2.0";
  293. reg = <0x30000 0x10000>;
  294. interrupts = <11 0x8>;
  295. interrupt-parent = <&ipic>;
  296. fsl,num-channels = <4>;
  297. fsl,channel-fifo-len = <24>;
  298. fsl,exec-units-mask = <0x9fe>;
  299. fsl,descriptor-types-mask = <0x3ab0ebf>;
  300. sleep = <&pmc 0x03000000>;
  301. };
  302. /* IPIC
  303. * interrupts cell = <intr #, sense>
  304. * sense values match linux IORESOURCE_IRQ_* defines:
  305. * sense == 8: Level, low assertion
  306. * sense == 2: Edge, high-to-low change
  307. */
  308. ipic: pic@700 {
  309. compatible = "fsl,ipic";
  310. interrupt-controller;
  311. #address-cells = <0>;
  312. #interrupt-cells = <2>;
  313. reg = <0x700 0x100>;
  314. };
  315. pmc: power@b00 {
  316. compatible = "fsl,mpc8378-pmc", "fsl,mpc8349-pmc";
  317. reg = <0xb00 0x100 0xa00 0x100>;
  318. interrupts = <80 0x8>;
  319. interrupt-parent = <&ipic>;
  320. };
  321. };
  322. pci0: pci@e0008500 {
  323. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  324. interrupt-map = <
  325. /* IDSEL 0x11 */
  326. 0x8800 0x0 0x0 0x1 &ipic 20 0x8
  327. 0x8800 0x0 0x0 0x2 &ipic 21 0x8
  328. 0x8800 0x0 0x0 0x3 &ipic 22 0x8
  329. 0x8800 0x0 0x0 0x4 &ipic 23 0x8
  330. /* IDSEL 0x12 */
  331. 0x9000 0x0 0x0 0x1 &ipic 22 0x8
  332. 0x9000 0x0 0x0 0x2 &ipic 23 0x8
  333. 0x9000 0x0 0x0 0x3 &ipic 20 0x8
  334. 0x9000 0x0 0x0 0x4 &ipic 21 0x8
  335. /* IDSEL 0x13 */
  336. 0x9800 0x0 0x0 0x1 &ipic 23 0x8
  337. 0x9800 0x0 0x0 0x2 &ipic 20 0x8
  338. 0x9800 0x0 0x0 0x3 &ipic 21 0x8
  339. 0x9800 0x0 0x0 0x4 &ipic 22 0x8
  340. /* IDSEL 0x15 */
  341. 0xa800 0x0 0x0 0x1 &ipic 20 0x8
  342. 0xa800 0x0 0x0 0x2 &ipic 21 0x8
  343. 0xa800 0x0 0x0 0x3 &ipic 22 0x8
  344. 0xa800 0x0 0x0 0x4 &ipic 23 0x8
  345. /* IDSEL 0x16 */
  346. 0xb000 0x0 0x0 0x1 &ipic 23 0x8
  347. 0xb000 0x0 0x0 0x2 &ipic 20 0x8
  348. 0xb000 0x0 0x0 0x3 &ipic 21 0x8
  349. 0xb000 0x0 0x0 0x4 &ipic 22 0x8
  350. /* IDSEL 0x17 */
  351. 0xb800 0x0 0x0 0x1 &ipic 22 0x8
  352. 0xb800 0x0 0x0 0x2 &ipic 23 0x8
  353. 0xb800 0x0 0x0 0x3 &ipic 20 0x8
  354. 0xb800 0x0 0x0 0x4 &ipic 21 0x8
  355. /* IDSEL 0x18 */
  356. 0xc000 0x0 0x0 0x1 &ipic 21 0x8
  357. 0xc000 0x0 0x0 0x2 &ipic 22 0x8
  358. 0xc000 0x0 0x0 0x3 &ipic 23 0x8
  359. 0xc000 0x0 0x0 0x4 &ipic 20 0x8>;
  360. interrupt-parent = <&ipic>;
  361. interrupts = <66 0x8>;
  362. bus-range = <0x0 0x0>;
  363. ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
  364. 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
  365. 0x01000000 0x0 0x00000000 0xe0300000 0x0 0x00100000>;
  366. clock-frequency = <0>;
  367. sleep = <&pmc 0x00010000>;
  368. #interrupt-cells = <1>;
  369. #size-cells = <2>;
  370. #address-cells = <3>;
  371. reg = <0xe0008500 0x100 /* internal registers */
  372. 0xe0008300 0x8>; /* config space access registers */
  373. compatible = "fsl,mpc8349-pci";
  374. device_type = "pci";
  375. };
  376. pci1: pcie@e0009000 {
  377. #address-cells = <3>;
  378. #size-cells = <2>;
  379. #interrupt-cells = <1>;
  380. device_type = "pci";
  381. compatible = "fsl,mpc8378-pcie", "fsl,mpc8314-pcie";
  382. reg = <0xe0009000 0x00001000>;
  383. ranges = <0x02000000 0 0xa8000000 0xa8000000 0 0x10000000
  384. 0x01000000 0 0x00000000 0xb8000000 0 0x00800000>;
  385. bus-range = <0 255>;
  386. interrupt-map-mask = <0xf800 0 0 7>;
  387. interrupt-map = <0 0 0 1 &ipic 1 8
  388. 0 0 0 2 &ipic 1 8
  389. 0 0 0 3 &ipic 1 8
  390. 0 0 0 4 &ipic 1 8>;
  391. sleep = <&pmc 0x00300000>;
  392. clock-frequency = <0>;
  393. pcie@0 {
  394. #address-cells = <3>;
  395. #size-cells = <2>;
  396. device_type = "pci";
  397. reg = <0 0 0 0 0>;
  398. ranges = <0x02000000 0 0xa8000000
  399. 0x02000000 0 0xa8000000
  400. 0 0x10000000
  401. 0x01000000 0 0x00000000
  402. 0x01000000 0 0x00000000
  403. 0 0x00800000>;
  404. };
  405. };
  406. pci2: pcie@e000a000 {
  407. #address-cells = <3>;
  408. #size-cells = <2>;
  409. #interrupt-cells = <1>;
  410. device_type = "pci";
  411. compatible = "fsl,mpc8378-pcie", "fsl,mpc8314-pcie";
  412. reg = <0xe000a000 0x00001000>;
  413. ranges = <0x02000000 0 0xc8000000 0xc8000000 0 0x10000000
  414. 0x01000000 0 0x00000000 0xd8000000 0 0x00800000>;
  415. bus-range = <0 255>;
  416. interrupt-map-mask = <0xf800 0 0 7>;
  417. interrupt-map = <0 0 0 1 &ipic 2 8
  418. 0 0 0 2 &ipic 2 8
  419. 0 0 0 3 &ipic 2 8
  420. 0 0 0 4 &ipic 2 8>;
  421. sleep = <&pmc 0x000c0000>;
  422. clock-frequency = <0>;
  423. pcie@0 {
  424. #address-cells = <3>;
  425. #size-cells = <2>;
  426. device_type = "pci";
  427. reg = <0 0 0 0 0>;
  428. ranges = <0x02000000 0 0xc8000000
  429. 0x02000000 0 0xc8000000
  430. 0 0x10000000
  431. 0x01000000 0 0x00000000
  432. 0x01000000 0 0x00000000
  433. 0 0x00800000>;
  434. };
  435. };
  436. };