mpc8377_rdb.dts 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417
  1. /*
  2. * MPC8377E RDB Device Tree Source
  3. *
  4. * Copyright 2007, 2008 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. compatible = "fsl,mpc8377rdb";
  14. #address-cells = <1>;
  15. #size-cells = <1>;
  16. aliases {
  17. ethernet0 = &enet0;
  18. ethernet1 = &enet1;
  19. serial0 = &serial0;
  20. serial1 = &serial1;
  21. pci0 = &pci0;
  22. pci1 = &pci1;
  23. pci2 = &pci2;
  24. };
  25. cpus {
  26. #address-cells = <1>;
  27. #size-cells = <0>;
  28. PowerPC,8377@0 {
  29. device_type = "cpu";
  30. reg = <0x0>;
  31. d-cache-line-size = <32>;
  32. i-cache-line-size = <32>;
  33. d-cache-size = <32768>;
  34. i-cache-size = <32768>;
  35. timebase-frequency = <0>;
  36. bus-frequency = <0>;
  37. clock-frequency = <0>;
  38. };
  39. };
  40. memory {
  41. device_type = "memory";
  42. reg = <0x00000000 0x10000000>; // 256MB at 0
  43. };
  44. localbus@e0005000 {
  45. #address-cells = <2>;
  46. #size-cells = <1>;
  47. compatible = "fsl,mpc8377-elbc", "fsl,elbc", "simple-bus";
  48. reg = <0xe0005000 0x1000>;
  49. interrupts = <77 0x8>;
  50. interrupt-parent = <&ipic>;
  51. // CS0 and CS1 are swapped when
  52. // booting from nand, but the
  53. // addresses are the same.
  54. ranges = <0x0 0x0 0xfe000000 0x00800000
  55. 0x1 0x0 0xe0600000 0x00008000
  56. 0x2 0x0 0xf0000000 0x00020000
  57. 0x3 0x0 0xfa000000 0x00008000>;
  58. flash@0,0 {
  59. #address-cells = <1>;
  60. #size-cells = <1>;
  61. compatible = "cfi-flash";
  62. reg = <0x0 0x0 0x800000>;
  63. bank-width = <2>;
  64. device-width = <1>;
  65. };
  66. nand@1,0 {
  67. #address-cells = <1>;
  68. #size-cells = <1>;
  69. compatible = "fsl,mpc8377-fcm-nand",
  70. "fsl,elbc-fcm-nand";
  71. reg = <0x1 0x0 0x8000>;
  72. u-boot@0 {
  73. reg = <0x0 0x100000>;
  74. read-only;
  75. };
  76. kernel@100000 {
  77. reg = <0x100000 0x300000>;
  78. };
  79. fs@400000 {
  80. reg = <0x400000 0x1c00000>;
  81. };
  82. };
  83. };
  84. immr@e0000000 {
  85. #address-cells = <1>;
  86. #size-cells = <1>;
  87. device_type = "soc";
  88. compatible = "simple-bus";
  89. ranges = <0x0 0xe0000000 0x00100000>;
  90. reg = <0xe0000000 0x00000200>;
  91. bus-frequency = <0>;
  92. wdt@200 {
  93. device_type = "watchdog";
  94. compatible = "mpc83xx_wdt";
  95. reg = <0x200 0x100>;
  96. };
  97. i2c@3000 {
  98. #address-cells = <1>;
  99. #size-cells = <0>;
  100. cell-index = <0>;
  101. compatible = "fsl-i2c";
  102. reg = <0x3000 0x100>;
  103. interrupts = <14 0x8>;
  104. interrupt-parent = <&ipic>;
  105. dfsrr;
  106. rtc@68 {
  107. compatible = "dallas,ds1339";
  108. reg = <0x68>;
  109. };
  110. mcu_pio: mcu@a {
  111. #gpio-cells = <2>;
  112. compatible = "fsl,mc9s08qg8-mpc8377erdb",
  113. "fsl,mcu-mpc8349emitx";
  114. reg = <0x0a>;
  115. gpio-controller;
  116. };
  117. };
  118. i2c@3100 {
  119. #address-cells = <1>;
  120. #size-cells = <0>;
  121. cell-index = <1>;
  122. compatible = "fsl-i2c";
  123. reg = <0x3100 0x100>;
  124. interrupts = <15 0x8>;
  125. interrupt-parent = <&ipic>;
  126. dfsrr;
  127. };
  128. spi@7000 {
  129. cell-index = <0>;
  130. compatible = "fsl,spi";
  131. reg = <0x7000 0x1000>;
  132. interrupts = <16 0x8>;
  133. interrupt-parent = <&ipic>;
  134. mode = "cpu";
  135. };
  136. dma@82a8 {
  137. #address-cells = <1>;
  138. #size-cells = <1>;
  139. compatible = "fsl,mpc8377-dma", "fsl,elo-dma";
  140. reg = <0x82a8 4>;
  141. ranges = <0 0x8100 0x1a8>;
  142. interrupt-parent = <&ipic>;
  143. interrupts = <71 8>;
  144. cell-index = <0>;
  145. dma-channel@0 {
  146. compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
  147. reg = <0 0x80>;
  148. cell-index = <0>;
  149. interrupt-parent = <&ipic>;
  150. interrupts = <71 8>;
  151. };
  152. dma-channel@80 {
  153. compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
  154. reg = <0x80 0x80>;
  155. cell-index = <1>;
  156. interrupt-parent = <&ipic>;
  157. interrupts = <71 8>;
  158. };
  159. dma-channel@100 {
  160. compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
  161. reg = <0x100 0x80>;
  162. cell-index = <2>;
  163. interrupt-parent = <&ipic>;
  164. interrupts = <71 8>;
  165. };
  166. dma-channel@180 {
  167. compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
  168. reg = <0x180 0x28>;
  169. cell-index = <3>;
  170. interrupt-parent = <&ipic>;
  171. interrupts = <71 8>;
  172. };
  173. };
  174. usb@23000 {
  175. compatible = "fsl-usb2-dr";
  176. reg = <0x23000 0x1000>;
  177. #address-cells = <1>;
  178. #size-cells = <0>;
  179. interrupt-parent = <&ipic>;
  180. interrupts = <38 0x8>;
  181. phy_type = "ulpi";
  182. };
  183. mdio@24520 {
  184. #address-cells = <1>;
  185. #size-cells = <0>;
  186. compatible = "fsl,gianfar-mdio";
  187. reg = <0x24520 0x20>;
  188. phy2: ethernet-phy@2 {
  189. interrupt-parent = <&ipic>;
  190. interrupts = <17 0x8>;
  191. reg = <0x2>;
  192. device_type = "ethernet-phy";
  193. };
  194. tbi0: tbi-phy@11 {
  195. reg = <0x11>;
  196. device_type = "tbi-phy";
  197. };
  198. };
  199. mdio@25520 {
  200. #address-cells = <1>;
  201. #size-cells = <0>;
  202. compatible = "fsl,gianfar-tbi";
  203. reg = <0x25520 0x20>;
  204. tbi1: tbi-phy@11 {
  205. reg = <0x11>;
  206. device_type = "tbi-phy";
  207. };
  208. };
  209. enet0: ethernet@24000 {
  210. cell-index = <0>;
  211. device_type = "network";
  212. model = "eTSEC";
  213. compatible = "gianfar";
  214. reg = <0x24000 0x1000>;
  215. local-mac-address = [ 00 00 00 00 00 00 ];
  216. interrupts = <32 0x8 33 0x8 34 0x8>;
  217. phy-connection-type = "mii";
  218. interrupt-parent = <&ipic>;
  219. tbi-handle = <&tbi0>;
  220. phy-handle = <&phy2>;
  221. };
  222. enet1: ethernet@25000 {
  223. cell-index = <1>;
  224. device_type = "network";
  225. model = "eTSEC";
  226. compatible = "gianfar";
  227. reg = <0x25000 0x1000>;
  228. local-mac-address = [ 00 00 00 00 00 00 ];
  229. interrupts = <35 0x8 36 0x8 37 0x8>;
  230. phy-connection-type = "mii";
  231. interrupt-parent = <&ipic>;
  232. fixed-link = <1 1 1000 0 0>;
  233. tbi-handle = <&tbi1>;
  234. };
  235. serial0: serial@4500 {
  236. cell-index = <0>;
  237. device_type = "serial";
  238. compatible = "ns16550";
  239. reg = <0x4500 0x100>;
  240. clock-frequency = <0>;
  241. interrupts = <9 0x8>;
  242. interrupt-parent = <&ipic>;
  243. };
  244. serial1: serial@4600 {
  245. cell-index = <1>;
  246. device_type = "serial";
  247. compatible = "ns16550";
  248. reg = <0x4600 0x100>;
  249. clock-frequency = <0>;
  250. interrupts = <10 0x8>;
  251. interrupt-parent = <&ipic>;
  252. };
  253. crypto@30000 {
  254. compatible = "fsl,sec3.0", "fsl,sec2.4", "fsl,sec2.2",
  255. "fsl,sec2.1", "fsl,sec2.0";
  256. reg = <0x30000 0x10000>;
  257. interrupts = <11 0x8>;
  258. interrupt-parent = <&ipic>;
  259. fsl,num-channels = <4>;
  260. fsl,channel-fifo-len = <24>;
  261. fsl,exec-units-mask = <0x9fe>;
  262. fsl,descriptor-types-mask = <0x3ab0ebf>;
  263. };
  264. sata@18000 {
  265. compatible = "fsl,mpc8377-sata", "fsl,pq-sata";
  266. reg = <0x18000 0x1000>;
  267. interrupts = <44 0x8>;
  268. interrupt-parent = <&ipic>;
  269. };
  270. sata@19000 {
  271. compatible = "fsl,mpc8377-sata", "fsl,pq-sata";
  272. reg = <0x19000 0x1000>;
  273. interrupts = <45 0x8>;
  274. interrupt-parent = <&ipic>;
  275. };
  276. /* IPIC
  277. * interrupts cell = <intr #, sense>
  278. * sense values match linux IORESOURCE_IRQ_* defines:
  279. * sense == 8: Level, low assertion
  280. * sense == 2: Edge, high-to-low change
  281. */
  282. ipic: interrupt-controller@700 {
  283. compatible = "fsl,ipic";
  284. interrupt-controller;
  285. #address-cells = <0>;
  286. #interrupt-cells = <2>;
  287. reg = <0x700 0x100>;
  288. };
  289. };
  290. pci0: pci@e0008500 {
  291. interrupt-map-mask = <0xf800 0 0 7>;
  292. interrupt-map = <
  293. /* IRQ5 = 21 = 0x15, IRQ6 = 0x16, IRQ7 = 23 = 0x17 */
  294. /* IDSEL AD14 IRQ6 inta */
  295. 0x7000 0x0 0x0 0x1 &ipic 22 0x8
  296. /* IDSEL AD15 IRQ5 inta, IRQ6 intb, IRQ7 intd */
  297. 0x7800 0x0 0x0 0x1 &ipic 21 0x8
  298. 0x7800 0x0 0x0 0x2 &ipic 22 0x8
  299. 0x7800 0x0 0x0 0x4 &ipic 23 0x8
  300. /* IDSEL AD28 IRQ7 inta, IRQ5 intb IRQ6 intc*/
  301. 0xE000 0x0 0x0 0x1 &ipic 23 0x8
  302. 0xE000 0x0 0x0 0x2 &ipic 21 0x8
  303. 0xE000 0x0 0x0 0x3 &ipic 22 0x8>;
  304. interrupt-parent = <&ipic>;
  305. interrupts = <66 0x8>;
  306. bus-range = <0 0>;
  307. ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
  308. 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
  309. 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>;
  310. clock-frequency = <66666666>;
  311. #interrupt-cells = <1>;
  312. #size-cells = <2>;
  313. #address-cells = <3>;
  314. reg = <0xe0008500 0x100 /* internal registers */
  315. 0xe0008300 0x8>; /* config space access registers */
  316. compatible = "fsl,mpc8349-pci";
  317. device_type = "pci";
  318. };
  319. pci1: pcie@e0009000 {
  320. #address-cells = <3>;
  321. #size-cells = <2>;
  322. #interrupt-cells = <1>;
  323. device_type = "pci";
  324. compatible = "fsl,mpc8377-pcie", "fsl,mpc8314-pcie";
  325. reg = <0xe0009000 0x00001000>;
  326. ranges = <0x02000000 0 0xa8000000 0xa8000000 0 0x10000000
  327. 0x01000000 0 0x00000000 0xb8000000 0 0x00800000>;
  328. bus-range = <0 255>;
  329. interrupt-map-mask = <0xf800 0 0 7>;
  330. interrupt-map = <0 0 0 1 &ipic 1 8
  331. 0 0 0 2 &ipic 1 8
  332. 0 0 0 3 &ipic 1 8
  333. 0 0 0 4 &ipic 1 8>;
  334. clock-frequency = <0>;
  335. pcie@0 {
  336. #address-cells = <3>;
  337. #size-cells = <2>;
  338. device_type = "pci";
  339. reg = <0 0 0 0 0>;
  340. ranges = <0x02000000 0 0xa8000000
  341. 0x02000000 0 0xa8000000
  342. 0 0x10000000
  343. 0x01000000 0 0x00000000
  344. 0x01000000 0 0x00000000
  345. 0 0x00800000>;
  346. };
  347. };
  348. pci2: pcie@e000a000 {
  349. #address-cells = <3>;
  350. #size-cells = <2>;
  351. #interrupt-cells = <1>;
  352. device_type = "pci";
  353. compatible = "fsl,mpc8377-pcie", "fsl,mpc8314-pcie";
  354. reg = <0xe000a000 0x00001000>;
  355. ranges = <0x02000000 0 0xc8000000 0xc8000000 0 0x10000000
  356. 0x01000000 0 0x00000000 0xd8000000 0 0x00800000>;
  357. bus-range = <0 255>;
  358. interrupt-map-mask = <0xf800 0 0 7>;
  359. interrupt-map = <0 0 0 1 &ipic 2 8
  360. 0 0 0 2 &ipic 2 8
  361. 0 0 0 3 &ipic 2 8
  362. 0 0 0 4 &ipic 2 8>;
  363. clock-frequency = <0>;
  364. pcie@0 {
  365. #address-cells = <3>;
  366. #size-cells = <2>;
  367. device_type = "pci";
  368. reg = <0 0 0 0 0>;
  369. ranges = <0x02000000 0 0xc8000000
  370. 0x02000000 0 0xc8000000
  371. 0 0x10000000
  372. 0x01000000 0 0x00000000
  373. 0x01000000 0 0x00000000
  374. 0 0x00800000>;
  375. };
  376. };
  377. };