mpc8377_mds.dts 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510
  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. 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,mpc8377-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. usb@23000 {
  162. compatible = "fsl-usb2-dr";
  163. reg = <0x23000 0x1000>;
  164. #address-cells = <1>;
  165. #size-cells = <0>;
  166. interrupt-parent = <&ipic>;
  167. interrupts = <38 0x8>;
  168. dr_mode = "host";
  169. phy_type = "ulpi";
  170. sleep = <&pmc 0x00c00000>;
  171. };
  172. enet0: ethernet@24000 {
  173. #address-cells = <1>;
  174. #size-cells = <1>;
  175. cell-index = <0>;
  176. device_type = "network";
  177. model = "eTSEC";
  178. compatible = "gianfar";
  179. reg = <0x24000 0x1000>;
  180. ranges = <0x0 0x24000 0x1000>;
  181. local-mac-address = [ 00 00 00 00 00 00 ];
  182. interrupts = <32 0x8 33 0x8 34 0x8>;
  183. phy-connection-type = "mii";
  184. interrupt-parent = <&ipic>;
  185. tbi-handle = <&tbi0>;
  186. phy-handle = <&phy2>;
  187. sleep = <&pmc 0xc0000000>;
  188. fsl,magic-packet;
  189. mdio@520 {
  190. #address-cells = <1>;
  191. #size-cells = <0>;
  192. compatible = "fsl,gianfar-mdio";
  193. reg = <0x520 0x20>;
  194. phy2: ethernet-phy@2 {
  195. interrupt-parent = <&ipic>;
  196. interrupts = <17 0x8>;
  197. reg = <0x2>;
  198. };
  199. phy3: ethernet-phy@3 {
  200. interrupt-parent = <&ipic>;
  201. interrupts = <18 0x8>;
  202. reg = <0x3>;
  203. };
  204. tbi0: tbi-phy@11 {
  205. reg = <0x11>;
  206. device_type = "tbi-phy";
  207. };
  208. };
  209. };
  210. enet1: ethernet@25000 {
  211. #address-cells = <1>;
  212. #size-cells = <1>;
  213. cell-index = <1>;
  214. device_type = "network";
  215. model = "eTSEC";
  216. compatible = "gianfar";
  217. reg = <0x25000 0x1000>;
  218. ranges = <0x0 0x25000 0x1000>;
  219. local-mac-address = [ 00 00 00 00 00 00 ];
  220. interrupts = <35 0x8 36 0x8 37 0x8>;
  221. phy-connection-type = "mii";
  222. interrupt-parent = <&ipic>;
  223. tbi-handle = <&tbi1>;
  224. phy-handle = <&phy3>;
  225. sleep = <&pmc 0x30000000>;
  226. fsl,magic-packet;
  227. mdio@520 {
  228. #address-cells = <1>;
  229. #size-cells = <0>;
  230. compatible = "fsl,gianfar-tbi";
  231. reg = <0x520 0x20>;
  232. tbi1: tbi-phy@11 {
  233. reg = <0x11>;
  234. device_type = "tbi-phy";
  235. };
  236. };
  237. };
  238. serial0: serial@4500 {
  239. cell-index = <0>;
  240. device_type = "serial";
  241. compatible = "fsl,ns16550", "ns16550";
  242. reg = <0x4500 0x100>;
  243. clock-frequency = <0>;
  244. interrupts = <9 0x8>;
  245. interrupt-parent = <&ipic>;
  246. };
  247. serial1: serial@4600 {
  248. cell-index = <1>;
  249. device_type = "serial";
  250. compatible = "fsl,ns16550", "ns16550";
  251. reg = <0x4600 0x100>;
  252. clock-frequency = <0>;
  253. interrupts = <10 0x8>;
  254. interrupt-parent = <&ipic>;
  255. };
  256. dma@82a8 {
  257. #address-cells = <1>;
  258. #size-cells = <1>;
  259. compatible = "fsl,mpc8377-dma", "fsl,elo-dma";
  260. reg = <0x82a8 4>;
  261. ranges = <0 0x8100 0x1a8>;
  262. interrupt-parent = <&ipic>;
  263. interrupts = <0x47 8>;
  264. cell-index = <0>;
  265. dma-channel@0 {
  266. compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
  267. reg = <0 0x80>;
  268. cell-index = <0>;
  269. interrupt-parent = <&ipic>;
  270. interrupts = <0x47 8>;
  271. };
  272. dma-channel@80 {
  273. compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
  274. reg = <0x80 0x80>;
  275. cell-index = <1>;
  276. interrupt-parent = <&ipic>;
  277. interrupts = <0x47 8>;
  278. };
  279. dma-channel@100 {
  280. compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
  281. reg = <0x100 0x80>;
  282. cell-index = <2>;
  283. interrupt-parent = <&ipic>;
  284. interrupts = <0x47 8>;
  285. };
  286. dma-channel@180 {
  287. compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
  288. reg = <0x180 0x28>;
  289. cell-index = <3>;
  290. interrupt-parent = <&ipic>;
  291. interrupts = <0x47 8>;
  292. };
  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. sata@18000 {
  307. compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
  308. reg = <0x18000 0x1000>;
  309. interrupts = <44 0x8>;
  310. interrupt-parent = <&ipic>;
  311. sleep = <&pmc 0x000000c0>;
  312. };
  313. sata@19000 {
  314. compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
  315. reg = <0x19000 0x1000>;
  316. interrupts = <45 0x8>;
  317. interrupt-parent = <&ipic>;
  318. sleep = <&pmc 0x00000030>;
  319. };
  320. /* IPIC
  321. * interrupts cell = <intr #, sense>
  322. * sense values match linux IORESOURCE_IRQ_* defines:
  323. * sense == 8: Level, low assertion
  324. * sense == 2: Edge, high-to-low change
  325. */
  326. ipic: pic@700 {
  327. compatible = "fsl,ipic";
  328. interrupt-controller;
  329. #address-cells = <0>;
  330. #interrupt-cells = <2>;
  331. reg = <0x700 0x100>;
  332. };
  333. pmc: power@b00 {
  334. compatible = "fsl,mpc8377-pmc", "fsl,mpc8349-pmc";
  335. reg = <0xb00 0x100 0xa00 0x100>;
  336. interrupts = <80 0x8>;
  337. interrupt-parent = <&ipic>;
  338. };
  339. };
  340. pci0: pci@e0008500 {
  341. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  342. interrupt-map = <
  343. /* IDSEL 0x11 */
  344. 0x8800 0x0 0x0 0x1 &ipic 20 0x8
  345. 0x8800 0x0 0x0 0x2 &ipic 21 0x8
  346. 0x8800 0x0 0x0 0x3 &ipic 22 0x8
  347. 0x8800 0x0 0x0 0x4 &ipic 23 0x8
  348. /* IDSEL 0x12 */
  349. 0x9000 0x0 0x0 0x1 &ipic 22 0x8
  350. 0x9000 0x0 0x0 0x2 &ipic 23 0x8
  351. 0x9000 0x0 0x0 0x3 &ipic 20 0x8
  352. 0x9000 0x0 0x0 0x4 &ipic 21 0x8
  353. /* IDSEL 0x13 */
  354. 0x9800 0x0 0x0 0x1 &ipic 23 0x8
  355. 0x9800 0x0 0x0 0x2 &ipic 20 0x8
  356. 0x9800 0x0 0x0 0x3 &ipic 21 0x8
  357. 0x9800 0x0 0x0 0x4 &ipic 22 0x8
  358. /* IDSEL 0x15 */
  359. 0xa800 0x0 0x0 0x1 &ipic 20 0x8
  360. 0xa800 0x0 0x0 0x2 &ipic 21 0x8
  361. 0xa800 0x0 0x0 0x3 &ipic 22 0x8
  362. 0xa800 0x0 0x0 0x4 &ipic 23 0x8
  363. /* IDSEL 0x16 */
  364. 0xb000 0x0 0x0 0x1 &ipic 23 0x8
  365. 0xb000 0x0 0x0 0x2 &ipic 20 0x8
  366. 0xb000 0x0 0x0 0x3 &ipic 21 0x8
  367. 0xb000 0x0 0x0 0x4 &ipic 22 0x8
  368. /* IDSEL 0x17 */
  369. 0xb800 0x0 0x0 0x1 &ipic 22 0x8
  370. 0xb800 0x0 0x0 0x2 &ipic 23 0x8
  371. 0xb800 0x0 0x0 0x3 &ipic 20 0x8
  372. 0xb800 0x0 0x0 0x4 &ipic 21 0x8
  373. /* IDSEL 0x18 */
  374. 0xc000 0x0 0x0 0x1 &ipic 21 0x8
  375. 0xc000 0x0 0x0 0x2 &ipic 22 0x8
  376. 0xc000 0x0 0x0 0x3 &ipic 23 0x8
  377. 0xc000 0x0 0x0 0x4 &ipic 20 0x8>;
  378. interrupt-parent = <&ipic>;
  379. interrupts = <66 0x8>;
  380. bus-range = <0x0 0x0>;
  381. ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
  382. 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
  383. 0x01000000 0x0 0x00000000 0xe0300000 0x0 0x00100000>;
  384. sleep = <&pmc 0x00010000>;
  385. clock-frequency = <0>;
  386. #interrupt-cells = <1>;
  387. #size-cells = <2>;
  388. #address-cells = <3>;
  389. reg = <0xe0008500 0x100 /* internal registers */
  390. 0xe0008300 0x8>; /* config space access registers */
  391. compatible = "fsl,mpc8349-pci";
  392. device_type = "pci";
  393. };
  394. pci1: pcie@e0009000 {
  395. #address-cells = <3>;
  396. #size-cells = <2>;
  397. #interrupt-cells = <1>;
  398. device_type = "pci";
  399. compatible = "fsl,mpc8377-pcie", "fsl,mpc8314-pcie";
  400. reg = <0xe0009000 0x00001000>;
  401. ranges = <0x02000000 0 0xa8000000 0xa8000000 0 0x10000000
  402. 0x01000000 0 0x00000000 0xb8000000 0 0x00800000>;
  403. bus-range = <0 255>;
  404. interrupt-map-mask = <0xf800 0 0 7>;
  405. interrupt-map = <0 0 0 1 &ipic 1 8
  406. 0 0 0 2 &ipic 1 8
  407. 0 0 0 3 &ipic 1 8
  408. 0 0 0 4 &ipic 1 8>;
  409. sleep = <&pmc 0x00300000>;
  410. clock-frequency = <0>;
  411. pcie@0 {
  412. #address-cells = <3>;
  413. #size-cells = <2>;
  414. device_type = "pci";
  415. reg = <0 0 0 0 0>;
  416. ranges = <0x02000000 0 0xa8000000
  417. 0x02000000 0 0xa8000000
  418. 0 0x10000000
  419. 0x01000000 0 0x00000000
  420. 0x01000000 0 0x00000000
  421. 0 0x00800000>;
  422. };
  423. };
  424. pci2: pcie@e000a000 {
  425. #address-cells = <3>;
  426. #size-cells = <2>;
  427. #interrupt-cells = <1>;
  428. device_type = "pci";
  429. compatible = "fsl,mpc8377-pcie", "fsl,mpc8314-pcie";
  430. reg = <0xe000a000 0x00001000>;
  431. ranges = <0x02000000 0 0xc8000000 0xc8000000 0 0x10000000
  432. 0x01000000 0 0x00000000 0xd8000000 0 0x00800000>;
  433. bus-range = <0 255>;
  434. interrupt-map-mask = <0xf800 0 0 7>;
  435. interrupt-map = <0 0 0 1 &ipic 2 8
  436. 0 0 0 2 &ipic 2 8
  437. 0 0 0 3 &ipic 2 8
  438. 0 0 0 4 &ipic 2 8>;
  439. sleep = <&pmc 0x000c0000>;
  440. clock-frequency = <0>;
  441. pcie@0 {
  442. #address-cells = <3>;
  443. #size-cells = <2>;
  444. device_type = "pci";
  445. reg = <0 0 0 0 0>;
  446. ranges = <0x02000000 0 0xc8000000
  447. 0x02000000 0 0xc8000000
  448. 0 0x10000000
  449. 0x01000000 0 0x00000000
  450. 0x01000000 0 0x00000000
  451. 0 0x00800000>;
  452. };
  453. };
  454. };