mpc8377_mds.dts 12 KB

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