mpc8377_mds.dts 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512
  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. device_type = "ethernet-phy";
  199. };
  200. phy3: ethernet-phy@3 {
  201. interrupt-parent = <&ipic>;
  202. interrupts = <18 0x8>;
  203. reg = <0x3>;
  204. device_type = "ethernet-phy";
  205. };
  206. tbi0: tbi-phy@11 {
  207. reg = <0x11>;
  208. device_type = "tbi-phy";
  209. };
  210. };
  211. };
  212. enet1: ethernet@25000 {
  213. #address-cells = <1>;
  214. #size-cells = <1>;
  215. cell-index = <1>;
  216. device_type = "network";
  217. model = "eTSEC";
  218. compatible = "gianfar";
  219. reg = <0x25000 0x1000>;
  220. ranges = <0x0 0x25000 0x1000>;
  221. local-mac-address = [ 00 00 00 00 00 00 ];
  222. interrupts = <35 0x8 36 0x8 37 0x8>;
  223. phy-connection-type = "mii";
  224. interrupt-parent = <&ipic>;
  225. tbi-handle = <&tbi1>;
  226. phy-handle = <&phy3>;
  227. sleep = <&pmc 0x30000000>;
  228. fsl,magic-packet;
  229. mdio@520 {
  230. #address-cells = <1>;
  231. #size-cells = <0>;
  232. compatible = "fsl,gianfar-tbi";
  233. reg = <0x520 0x20>;
  234. tbi1: tbi-phy@11 {
  235. reg = <0x11>;
  236. device_type = "tbi-phy";
  237. };
  238. };
  239. };
  240. serial0: serial@4500 {
  241. cell-index = <0>;
  242. device_type = "serial";
  243. compatible = "ns16550";
  244. reg = <0x4500 0x100>;
  245. clock-frequency = <0>;
  246. interrupts = <9 0x8>;
  247. interrupt-parent = <&ipic>;
  248. };
  249. serial1: serial@4600 {
  250. cell-index = <1>;
  251. device_type = "serial";
  252. compatible = "ns16550";
  253. reg = <0x4600 0x100>;
  254. clock-frequency = <0>;
  255. interrupts = <10 0x8>;
  256. interrupt-parent = <&ipic>;
  257. };
  258. dma@82a8 {
  259. #address-cells = <1>;
  260. #size-cells = <1>;
  261. compatible = "fsl,mpc8377-dma", "fsl,elo-dma";
  262. reg = <0x82a8 4>;
  263. ranges = <0 0x8100 0x1a8>;
  264. interrupt-parent = <&ipic>;
  265. interrupts = <0x47 8>;
  266. cell-index = <0>;
  267. dma-channel@0 {
  268. compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
  269. reg = <0 0x80>;
  270. cell-index = <0>;
  271. interrupt-parent = <&ipic>;
  272. interrupts = <0x47 8>;
  273. };
  274. dma-channel@80 {
  275. compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
  276. reg = <0x80 0x80>;
  277. cell-index = <1>;
  278. interrupt-parent = <&ipic>;
  279. interrupts = <0x47 8>;
  280. };
  281. dma-channel@100 {
  282. compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
  283. reg = <0x100 0x80>;
  284. cell-index = <2>;
  285. interrupt-parent = <&ipic>;
  286. interrupts = <0x47 8>;
  287. };
  288. dma-channel@180 {
  289. compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
  290. reg = <0x180 0x28>;
  291. cell-index = <3>;
  292. interrupt-parent = <&ipic>;
  293. interrupts = <0x47 8>;
  294. };
  295. };
  296. crypto@30000 {
  297. compatible = "fsl,sec3.0", "fsl,sec2.4", "fsl,sec2.2",
  298. "fsl,sec2.1", "fsl,sec2.0";
  299. reg = <0x30000 0x10000>;
  300. interrupts = <11 0x8>;
  301. interrupt-parent = <&ipic>;
  302. fsl,num-channels = <4>;
  303. fsl,channel-fifo-len = <24>;
  304. fsl,exec-units-mask = <0x9fe>;
  305. fsl,descriptor-types-mask = <0x3ab0ebf>;
  306. sleep = <&pmc 0x03000000>;
  307. };
  308. sata@18000 {
  309. compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
  310. reg = <0x18000 0x1000>;
  311. interrupts = <44 0x8>;
  312. interrupt-parent = <&ipic>;
  313. sleep = <&pmc 0x000000c0>;
  314. };
  315. sata@19000 {
  316. compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
  317. reg = <0x19000 0x1000>;
  318. interrupts = <45 0x8>;
  319. interrupt-parent = <&ipic>;
  320. sleep = <&pmc 0x00000030>;
  321. };
  322. /* IPIC
  323. * interrupts cell = <intr #, sense>
  324. * sense values match linux IORESOURCE_IRQ_* defines:
  325. * sense == 8: Level, low assertion
  326. * sense == 2: Edge, high-to-low change
  327. */
  328. ipic: pic@700 {
  329. compatible = "fsl,ipic";
  330. interrupt-controller;
  331. #address-cells = <0>;
  332. #interrupt-cells = <2>;
  333. reg = <0x700 0x100>;
  334. };
  335. pmc: power@b00 {
  336. compatible = "fsl,mpc8377-pmc", "fsl,mpc8349-pmc";
  337. reg = <0xb00 0x100 0xa00 0x100>;
  338. interrupts = <80 0x8>;
  339. interrupt-parent = <&ipic>;
  340. };
  341. };
  342. pci0: pci@e0008500 {
  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. };