mpc8378_mds.dts 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366
  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. };
  24. cpus {
  25. #address-cells = <1>;
  26. #size-cells = <0>;
  27. PowerPC,8378@0 {
  28. device_type = "cpu";
  29. reg = <0x0>;
  30. d-cache-line-size = <32>;
  31. i-cache-line-size = <32>;
  32. d-cache-size = <32768>;
  33. i-cache-size = <32768>;
  34. timebase-frequency = <0>;
  35. bus-frequency = <0>;
  36. clock-frequency = <0>;
  37. };
  38. };
  39. memory {
  40. device_type = "memory";
  41. reg = <0x00000000 0x20000000>; // 512MB at 0
  42. };
  43. localbus@e0005000 {
  44. #address-cells = <2>;
  45. #size-cells = <1>;
  46. compatible = "fsl,mpc8378-elbc", "fsl,elbc", "simple-bus";
  47. reg = <0xe0005000 0x1000>;
  48. interrupts = <77 0x8>;
  49. interrupt-parent = <&ipic>;
  50. // booting from NOR flash
  51. ranges = <0 0x0 0xfe000000 0x02000000
  52. 1 0x0 0xf8000000 0x00008000
  53. 3 0x0 0xe0600000 0x00008000>;
  54. flash@0,0 {
  55. #address-cells = <1>;
  56. #size-cells = <1>;
  57. compatible = "cfi-flash";
  58. reg = <0 0x0 0x2000000>;
  59. bank-width = <2>;
  60. device-width = <1>;
  61. u-boot@0 {
  62. reg = <0x0 0x100000>;
  63. read-only;
  64. };
  65. fs@100000 {
  66. reg = <0x100000 0x800000>;
  67. };
  68. kernel@1d00000 {
  69. reg = <0x1d00000 0x200000>;
  70. };
  71. dtb@1f00000 {
  72. reg = <0x1f00000 0x100000>;
  73. };
  74. };
  75. bcsr@1,0 {
  76. reg = <1 0x0 0x8000>;
  77. compatible = "fsl,mpc837xmds-bcsr";
  78. };
  79. nand@3,0 {
  80. #address-cells = <1>;
  81. #size-cells = <1>;
  82. compatible = "fsl,mpc8378-fcm-nand",
  83. "fsl,elbc-fcm-nand";
  84. reg = <3 0x0 0x8000>;
  85. u-boot@0 {
  86. reg = <0x0 0x100000>;
  87. read-only;
  88. };
  89. kernel@100000 {
  90. reg = <0x100000 0x300000>;
  91. };
  92. fs@400000 {
  93. reg = <0x400000 0x1c00000>;
  94. };
  95. };
  96. };
  97. soc@e0000000 {
  98. #address-cells = <1>;
  99. #size-cells = <1>;
  100. device_type = "soc";
  101. ranges = <0x0 0xe0000000 0x00100000>;
  102. reg = <0xe0000000 0x00000200>;
  103. bus-frequency = <0>;
  104. wdt@200 {
  105. compatible = "mpc83xx_wdt";
  106. reg = <0x200 0x100>;
  107. };
  108. i2c@3000 {
  109. #address-cells = <1>;
  110. #size-cells = <0>;
  111. cell-index = <0>;
  112. compatible = "fsl-i2c";
  113. reg = <0x3000 0x100>;
  114. interrupts = <14 0x8>;
  115. interrupt-parent = <&ipic>;
  116. dfsrr;
  117. };
  118. i2c@3100 {
  119. #address-cells = <1>;
  120. #size-cells = <0>;
  121. cell-index = <1>;
  122. compatible = "fsl-i2c";
  123. reg = <0x3100 0x100>;
  124. interrupts = <15 0x8>;
  125. interrupt-parent = <&ipic>;
  126. dfsrr;
  127. };
  128. spi@7000 {
  129. cell-index = <0>;
  130. compatible = "fsl,spi";
  131. reg = <0x7000 0x1000>;
  132. interrupts = <16 0x8>;
  133. interrupt-parent = <&ipic>;
  134. mode = "cpu";
  135. };
  136. dma@82a8 {
  137. #address-cells = <1>;
  138. #size-cells = <1>;
  139. compatible = "fsl,mpc8378-dma", "fsl,elo-dma";
  140. reg = <0x82a8 4>;
  141. ranges = <0 0x8100 0x1a8>;
  142. interrupt-parent = <&ipic>;
  143. interrupts = <71 8>;
  144. cell-index = <0>;
  145. dma-channel@0 {
  146. compatible = "fsl,mpc8378-dma-channel", "fsl,elo-dma-channel";
  147. reg = <0 0x80>;
  148. interrupt-parent = <&ipic>;
  149. interrupts = <71 8>;
  150. };
  151. dma-channel@80 {
  152. compatible = "fsl,mpc8378-dma-channel", "fsl,elo-dma-channel";
  153. reg = <0x80 0x80>;
  154. interrupt-parent = <&ipic>;
  155. interrupts = <71 8>;
  156. };
  157. dma-channel@100 {
  158. compatible = "fsl,mpc8378-dma-channel", "fsl,elo-dma-channel";
  159. reg = <0x100 0x80>;
  160. interrupt-parent = <&ipic>;
  161. interrupts = <71 8>;
  162. };
  163. dma-channel@180 {
  164. compatible = "fsl,mpc8378-dma-channel", "fsl,elo-dma-channel";
  165. reg = <0x180 0x28>;
  166. interrupt-parent = <&ipic>;
  167. interrupts = <71 8>;
  168. };
  169. };
  170. usb@23000 {
  171. compatible = "fsl-usb2-dr";
  172. reg = <0x23000 0x1000>;
  173. #address-cells = <1>;
  174. #size-cells = <0>;
  175. interrupt-parent = <&ipic>;
  176. interrupts = <38 0x8>;
  177. dr_mode = "host";
  178. phy_type = "ulpi";
  179. };
  180. mdio@24520 {
  181. #address-cells = <1>;
  182. #size-cells = <0>;
  183. compatible = "fsl,gianfar-mdio";
  184. reg = <0x24520 0x20>;
  185. phy2: ethernet-phy@2 {
  186. interrupt-parent = <&ipic>;
  187. interrupts = <17 0x8>;
  188. reg = <0x2>;
  189. device_type = "ethernet-phy";
  190. };
  191. phy3: ethernet-phy@3 {
  192. interrupt-parent = <&ipic>;
  193. interrupts = <18 0x8>;
  194. reg = <0x3>;
  195. device_type = "ethernet-phy";
  196. };
  197. };
  198. enet0: ethernet@24000 {
  199. cell-index = <0>;
  200. device_type = "network";
  201. model = "eTSEC";
  202. compatible = "gianfar";
  203. reg = <0x24000 0x1000>;
  204. local-mac-address = [ 00 00 00 00 00 00 ];
  205. interrupts = <32 0x8 33 0x8 34 0x8>;
  206. phy-connection-type = "mii";
  207. interrupt-parent = <&ipic>;
  208. phy-handle = <&phy2>;
  209. };
  210. enet1: ethernet@25000 {
  211. cell-index = <1>;
  212. device_type = "network";
  213. model = "eTSEC";
  214. compatible = "gianfar";
  215. reg = <0x25000 0x1000>;
  216. local-mac-address = [ 00 00 00 00 00 00 ];
  217. interrupts = <35 0x8 36 0x8 37 0x8>;
  218. phy-connection-type = "mii";
  219. interrupt-parent = <&ipic>;
  220. phy-handle = <&phy3>;
  221. };
  222. serial0: serial@4500 {
  223. cell-index = <0>;
  224. device_type = "serial";
  225. compatible = "ns16550";
  226. reg = <0x4500 0x100>;
  227. clock-frequency = <0>;
  228. interrupts = <9 0x8>;
  229. interrupt-parent = <&ipic>;
  230. };
  231. serial1: serial@4600 {
  232. cell-index = <1>;
  233. device_type = "serial";
  234. compatible = "ns16550";
  235. reg = <0x4600 0x100>;
  236. clock-frequency = <0>;
  237. interrupts = <10 0x8>;
  238. interrupt-parent = <&ipic>;
  239. };
  240. crypto@30000 {
  241. compatible = "fsl,sec3.0", "fsl,sec2.4", "fsl,sec2.2",
  242. "fsl,sec2.1", "fsl,sec2.0";
  243. reg = <0x30000 0x10000>;
  244. interrupts = <11 0x8>;
  245. interrupt-parent = <&ipic>;
  246. fsl,num-channels = <4>;
  247. fsl,channel-fifo-len = <24>;
  248. fsl,exec-units-mask = <0x9fe>;
  249. fsl,descriptor-types-mask = <0x3ab0ebf>;
  250. };
  251. sdhc@2e000 {
  252. model = "eSDHC";
  253. compatible = "fsl,esdhc";
  254. reg = <0x2e000 0x1000>;
  255. interrupts = <42 0x8>;
  256. interrupt-parent = <&ipic>;
  257. };
  258. /* IPIC
  259. * interrupts cell = <intr #, sense>
  260. * sense values match linux IORESOURCE_IRQ_* defines:
  261. * sense == 8: Level, low assertion
  262. * sense == 2: Edge, high-to-low change
  263. */
  264. ipic: pic@700 {
  265. compatible = "fsl,ipic";
  266. interrupt-controller;
  267. #address-cells = <0>;
  268. #interrupt-cells = <2>;
  269. reg = <0x700 0x100>;
  270. };
  271. };
  272. pci0: pci@e0008500 {
  273. cell-index = <0>;
  274. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  275. interrupt-map = <
  276. /* IDSEL 0x11 */
  277. 0x8800 0x0 0x0 0x1 &ipic 20 0x8
  278. 0x8800 0x0 0x0 0x2 &ipic 21 0x8
  279. 0x8800 0x0 0x0 0x3 &ipic 22 0x8
  280. 0x8800 0x0 0x0 0x4 &ipic 23 0x8
  281. /* IDSEL 0x12 */
  282. 0x9000 0x0 0x0 0x1 &ipic 22 0x8
  283. 0x9000 0x0 0x0 0x2 &ipic 23 0x8
  284. 0x9000 0x0 0x0 0x3 &ipic 20 0x8
  285. 0x9000 0x0 0x0 0x4 &ipic 21 0x8
  286. /* IDSEL 0x13 */
  287. 0x9800 0x0 0x0 0x1 &ipic 23 0x8
  288. 0x9800 0x0 0x0 0x2 &ipic 20 0x8
  289. 0x9800 0x0 0x0 0x3 &ipic 21 0x8
  290. 0x9800 0x0 0x0 0x4 &ipic 22 0x8
  291. /* IDSEL 0x15 */
  292. 0xa800 0x0 0x0 0x1 &ipic 20 0x8
  293. 0xa800 0x0 0x0 0x2 &ipic 21 0x8
  294. 0xa800 0x0 0x0 0x3 &ipic 22 0x8
  295. 0xa800 0x0 0x0 0x4 &ipic 23 0x8
  296. /* IDSEL 0x16 */
  297. 0xb000 0x0 0x0 0x1 &ipic 23 0x8
  298. 0xb000 0x0 0x0 0x2 &ipic 20 0x8
  299. 0xb000 0x0 0x0 0x3 &ipic 21 0x8
  300. 0xb000 0x0 0x0 0x4 &ipic 22 0x8
  301. /* IDSEL 0x17 */
  302. 0xb800 0x0 0x0 0x1 &ipic 22 0x8
  303. 0xb800 0x0 0x0 0x2 &ipic 23 0x8
  304. 0xb800 0x0 0x0 0x3 &ipic 20 0x8
  305. 0xb800 0x0 0x0 0x4 &ipic 21 0x8
  306. /* IDSEL 0x18 */
  307. 0xc000 0x0 0x0 0x1 &ipic 21 0x8
  308. 0xc000 0x0 0x0 0x2 &ipic 22 0x8
  309. 0xc000 0x0 0x0 0x3 &ipic 23 0x8
  310. 0xc000 0x0 0x0 0x4 &ipic 20 0x8>;
  311. interrupt-parent = <&ipic>;
  312. interrupts = <66 0x8>;
  313. bus-range = <0x0 0x0>;
  314. ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
  315. 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
  316. 0x01000000 0x0 0x00000000 0xe0300000 0x0 0x00100000>;
  317. clock-frequency = <0>;
  318. #interrupt-cells = <1>;
  319. #size-cells = <2>;
  320. #address-cells = <3>;
  321. reg = <0xe0008500 0x100>;
  322. compatible = "fsl,mpc8349-pci";
  323. device_type = "pci";
  324. };
  325. };