mpc8379_mds.dts 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461
  1. /*
  2. * MPC8379E 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,mpc8379emds";
  14. compatible = "fsl,mpc8379emds","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,8379@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,mpc8379-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,mpc8379-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. compatible = "simple-bus";
  102. ranges = <0x0 0xe0000000 0x00100000>;
  103. reg = <0xe0000000 0x00000200>;
  104. bus-frequency = <0>;
  105. wdt@200 {
  106. compatible = "mpc83xx_wdt";
  107. reg = <0x200 0x100>;
  108. };
  109. sleep-nexus {
  110. #address-cells = <1>;
  111. #size-cells = <1>;
  112. compatible = "simple-bus";
  113. sleep = <&pmc 0x0c000000>;
  114. ranges;
  115. i2c@3000 {
  116. #address-cells = <1>;
  117. #size-cells = <0>;
  118. cell-index = <0>;
  119. compatible = "fsl-i2c";
  120. reg = <0x3000 0x100>;
  121. interrupts = <14 0x8>;
  122. interrupt-parent = <&ipic>;
  123. dfsrr;
  124. rtc@68 {
  125. compatible = "dallas,ds1374";
  126. reg = <0x68>;
  127. interrupts = <19 0x8>;
  128. interrupt-parent = <&ipic>;
  129. };
  130. };
  131. sdhci@2e000 {
  132. compatible = "fsl,mpc8379-esdhc";
  133. reg = <0x2e000 0x1000>;
  134. interrupts = <42 0x8>;
  135. interrupt-parent = <&ipic>;
  136. /* Filled in by U-Boot */
  137. clock-frequency = <0>;
  138. };
  139. };
  140. i2c@3100 {
  141. #address-cells = <1>;
  142. #size-cells = <0>;
  143. cell-index = <1>;
  144. compatible = "fsl-i2c";
  145. reg = <0x3100 0x100>;
  146. interrupts = <15 0x8>;
  147. interrupt-parent = <&ipic>;
  148. dfsrr;
  149. };
  150. spi@7000 {
  151. cell-index = <0>;
  152. compatible = "fsl,spi";
  153. reg = <0x7000 0x1000>;
  154. interrupts = <16 0x8>;
  155. interrupt-parent = <&ipic>;
  156. mode = "cpu";
  157. };
  158. dma@82a8 {
  159. #address-cells = <1>;
  160. #size-cells = <1>;
  161. compatible = "fsl,mpc8379-dma", "fsl,elo-dma";
  162. reg = <0x82a8 4>;
  163. ranges = <0 0x8100 0x1a8>;
  164. interrupt-parent = <&ipic>;
  165. interrupts = <71 8>;
  166. cell-index = <0>;
  167. dma-channel@0 {
  168. compatible = "fsl,mpc8379-dma-channel", "fsl,elo-dma-channel";
  169. reg = <0 0x80>;
  170. cell-index = <0>;
  171. interrupt-parent = <&ipic>;
  172. interrupts = <71 8>;
  173. };
  174. dma-channel@80 {
  175. compatible = "fsl,mpc8379-dma-channel", "fsl,elo-dma-channel";
  176. reg = <0x80 0x80>;
  177. cell-index = <1>;
  178. interrupt-parent = <&ipic>;
  179. interrupts = <71 8>;
  180. };
  181. dma-channel@100 {
  182. compatible = "fsl,mpc8379-dma-channel", "fsl,elo-dma-channel";
  183. reg = <0x100 0x80>;
  184. cell-index = <2>;
  185. interrupt-parent = <&ipic>;
  186. interrupts = <71 8>;
  187. };
  188. dma-channel@180 {
  189. compatible = "fsl,mpc8379-dma-channel", "fsl,elo-dma-channel";
  190. reg = <0x180 0x28>;
  191. cell-index = <3>;
  192. interrupt-parent = <&ipic>;
  193. interrupts = <71 8>;
  194. };
  195. };
  196. usb@23000 {
  197. compatible = "fsl-usb2-dr";
  198. reg = <0x23000 0x1000>;
  199. #address-cells = <1>;
  200. #size-cells = <0>;
  201. interrupt-parent = <&ipic>;
  202. interrupts = <38 0x8>;
  203. dr_mode = "host";
  204. phy_type = "ulpi";
  205. sleep = <&pmc 0x00c00000>;
  206. };
  207. enet0: ethernet@24000 {
  208. #address-cells = <1>;
  209. #size-cells = <1>;
  210. cell-index = <0>;
  211. device_type = "network";
  212. model = "eTSEC";
  213. compatible = "gianfar";
  214. reg = <0x24000 0x1000>;
  215. ranges = <0x0 0x24000 0x1000>;
  216. local-mac-address = [ 00 00 00 00 00 00 ];
  217. interrupts = <32 0x8 33 0x8 34 0x8>;
  218. phy-connection-type = "mii";
  219. interrupt-parent = <&ipic>;
  220. tbi-handle = <&tbi0>;
  221. phy-handle = <&phy2>;
  222. sleep = <&pmc 0xc0000000>;
  223. fsl,magic-packet;
  224. mdio@520 {
  225. #address-cells = <1>;
  226. #size-cells = <0>;
  227. compatible = "fsl,gianfar-mdio";
  228. reg = <0x520 0x20>;
  229. phy2: ethernet-phy@2 {
  230. interrupt-parent = <&ipic>;
  231. interrupts = <17 0x8>;
  232. reg = <0x2>;
  233. device_type = "ethernet-phy";
  234. };
  235. phy3: ethernet-phy@3 {
  236. interrupt-parent = <&ipic>;
  237. interrupts = <18 0x8>;
  238. reg = <0x3>;
  239. device_type = "ethernet-phy";
  240. };
  241. tbi0: tbi-phy@11 {
  242. reg = <0x11>;
  243. device_type = "tbi-phy";
  244. };
  245. };
  246. };
  247. enet1: ethernet@25000 {
  248. #address-cells = <1>;
  249. #size-cells = <1>;
  250. cell-index = <1>;
  251. device_type = "network";
  252. model = "eTSEC";
  253. compatible = "gianfar";
  254. reg = <0x25000 0x1000>;
  255. ranges = <0x0 0x25000 0x1000>;
  256. local-mac-address = [ 00 00 00 00 00 00 ];
  257. interrupts = <35 0x8 36 0x8 37 0x8>;
  258. phy-connection-type = "mii";
  259. interrupt-parent = <&ipic>;
  260. tbi-handle = <&tbi1>;
  261. phy-handle = <&phy3>;
  262. sleep = <&pmc 0x30000000>;
  263. fsl,magic-packet;
  264. mdio@520 {
  265. #address-cells = <1>;
  266. #size-cells = <0>;
  267. compatible = "fsl,gianfar-tbi";
  268. reg = <0x520 0x20>;
  269. tbi1: tbi-phy@11 {
  270. reg = <0x11>;
  271. device_type = "tbi-phy";
  272. };
  273. };
  274. };
  275. serial0: serial@4500 {
  276. cell-index = <0>;
  277. device_type = "serial";
  278. compatible = "ns16550";
  279. reg = <0x4500 0x100>;
  280. clock-frequency = <0>;
  281. interrupts = <9 0x8>;
  282. interrupt-parent = <&ipic>;
  283. };
  284. serial1: serial@4600 {
  285. cell-index = <1>;
  286. device_type = "serial";
  287. compatible = "ns16550";
  288. reg = <0x4600 0x100>;
  289. clock-frequency = <0>;
  290. interrupts = <10 0x8>;
  291. interrupt-parent = <&ipic>;
  292. };
  293. crypto@30000 {
  294. compatible = "fsl,sec3.0", "fsl,sec2.4", "fsl,sec2.2",
  295. "fsl,sec2.1", "fsl,sec2.0";
  296. reg = <0x30000 0x10000>;
  297. interrupts = <11 0x8>;
  298. interrupt-parent = <&ipic>;
  299. fsl,num-channels = <4>;
  300. fsl,channel-fifo-len = <24>;
  301. fsl,exec-units-mask = <0x9fe>;
  302. fsl,descriptor-types-mask = <0x3ab0ebf>;
  303. sleep = <&pmc 0x03000000>;
  304. };
  305. sata@18000 {
  306. compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
  307. reg = <0x18000 0x1000>;
  308. interrupts = <44 0x8>;
  309. interrupt-parent = <&ipic>;
  310. sleep = <&pmc 0x000000c0>;
  311. };
  312. sata@19000 {
  313. compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
  314. reg = <0x19000 0x1000>;
  315. interrupts = <45 0x8>;
  316. interrupt-parent = <&ipic>;
  317. sleep = <&pmc 0x00000030>;
  318. };
  319. sata@1a000 {
  320. compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
  321. reg = <0x1a000 0x1000>;
  322. interrupts = <46 0x8>;
  323. interrupt-parent = <&ipic>;
  324. sleep = <&pmc 0x0000000c>;
  325. };
  326. sata@1b000 {
  327. compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
  328. reg = <0x1b000 0x1000>;
  329. interrupts = <47 0x8>;
  330. interrupt-parent = <&ipic>;
  331. sleep = <&pmc 0x00000003>;
  332. };
  333. /* IPIC
  334. * interrupts cell = <intr #, sense>
  335. * sense values match linux IORESOURCE_IRQ_* defines:
  336. * sense == 8: Level, low assertion
  337. * sense == 2: Edge, high-to-low change
  338. */
  339. ipic: pic@700 {
  340. compatible = "fsl,ipic";
  341. interrupt-controller;
  342. #address-cells = <0>;
  343. #interrupt-cells = <2>;
  344. reg = <0x700 0x100>;
  345. };
  346. pmc: power@b00 {
  347. compatible = "fsl,mpc8379-pmc", "fsl,mpc8349-pmc";
  348. reg = <0xb00 0x100 0xa00 0x100>;
  349. interrupts = <80 0x8>;
  350. interrupt-parent = <&ipic>;
  351. };
  352. };
  353. pci0: pci@e0008500 {
  354. cell-index = <0>;
  355. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  356. interrupt-map = <
  357. /* IDSEL 0x11 */
  358. 0x8800 0x0 0x0 0x1 &ipic 20 0x8
  359. 0x8800 0x0 0x0 0x2 &ipic 21 0x8
  360. 0x8800 0x0 0x0 0x3 &ipic 22 0x8
  361. 0x8800 0x0 0x0 0x4 &ipic 23 0x8
  362. /* IDSEL 0x12 */
  363. 0x9000 0x0 0x0 0x1 &ipic 22 0x8
  364. 0x9000 0x0 0x0 0x2 &ipic 23 0x8
  365. 0x9000 0x0 0x0 0x3 &ipic 20 0x8
  366. 0x9000 0x0 0x0 0x4 &ipic 21 0x8
  367. /* IDSEL 0x13 */
  368. 0x9800 0x0 0x0 0x1 &ipic 23 0x8
  369. 0x9800 0x0 0x0 0x2 &ipic 20 0x8
  370. 0x9800 0x0 0x0 0x3 &ipic 21 0x8
  371. 0x9800 0x0 0x0 0x4 &ipic 22 0x8
  372. /* IDSEL 0x15 */
  373. 0xa800 0x0 0x0 0x1 &ipic 20 0x8
  374. 0xa800 0x0 0x0 0x2 &ipic 21 0x8
  375. 0xa800 0x0 0x0 0x3 &ipic 22 0x8
  376. 0xa800 0x0 0x0 0x4 &ipic 23 0x8
  377. /* IDSEL 0x16 */
  378. 0xb000 0x0 0x0 0x1 &ipic 23 0x8
  379. 0xb000 0x0 0x0 0x2 &ipic 20 0x8
  380. 0xb000 0x0 0x0 0x3 &ipic 21 0x8
  381. 0xb000 0x0 0x0 0x4 &ipic 22 0x8
  382. /* IDSEL 0x17 */
  383. 0xb800 0x0 0x0 0x1 &ipic 22 0x8
  384. 0xb800 0x0 0x0 0x2 &ipic 23 0x8
  385. 0xb800 0x0 0x0 0x3 &ipic 20 0x8
  386. 0xb800 0x0 0x0 0x4 &ipic 21 0x8
  387. /* IDSEL 0x18 */
  388. 0xc000 0x0 0x0 0x1 &ipic 21 0x8
  389. 0xc000 0x0 0x0 0x2 &ipic 22 0x8
  390. 0xc000 0x0 0x0 0x3 &ipic 23 0x8
  391. 0xc000 0x0 0x0 0x4 &ipic 20 0x8>;
  392. interrupt-parent = <&ipic>;
  393. interrupts = <66 0x8>;
  394. bus-range = <0x0 0x0>;
  395. ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
  396. 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
  397. 0x01000000 0x0 0x00000000 0xe0300000 0x0 0x00100000>;
  398. sleep = <&pmc 0x00010000>;
  399. clock-frequency = <0>;
  400. #interrupt-cells = <1>;
  401. #size-cells = <2>;
  402. #address-cells = <3>;
  403. reg = <0xe0008500 0x100 /* internal registers */
  404. 0xe0008300 0x8>; /* config space access registers */
  405. compatible = "fsl,mpc8349-pci";
  406. device_type = "pci";
  407. };
  408. };