mpc8378_mds.dts 11 KB

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