mpc8377_mds.dts 11 KB

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