mpc834x_mds.dts 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  1. /*
  2. * MPC8349E MDS Device Tree Source
  3. *
  4. * Copyright 2005, 2006 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 = "MPC8349EMDS";
  14. compatible = "MPC8349EMDS", "MPC834xMDS", "MPC83xxMDS";
  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. };
  25. cpus {
  26. #address-cells = <1>;
  27. #size-cells = <0>;
  28. PowerPC,8349@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>; // from bootloader
  36. bus-frequency = <0>; // from bootloader
  37. clock-frequency = <0>; // from bootloader
  38. };
  39. };
  40. memory {
  41. device_type = "memory";
  42. reg = <0x00000000 0x10000000>; // 256MB at 0
  43. };
  44. bcsr@e2400000 {
  45. compatible = "fsl,mpc8349mds-bcsr";
  46. reg = <0xe2400000 0x8000>;
  47. };
  48. soc8349@e0000000 {
  49. #address-cells = <1>;
  50. #size-cells = <1>;
  51. device_type = "soc";
  52. compatible = "simple-bus";
  53. ranges = <0x0 0xe0000000 0x00100000>;
  54. reg = <0xe0000000 0x00000200>;
  55. bus-frequency = <0>;
  56. wdt@200 {
  57. device_type = "watchdog";
  58. compatible = "mpc83xx_wdt";
  59. reg = <0x200 0x100>;
  60. };
  61. i2c@3000 {
  62. #address-cells = <1>;
  63. #size-cells = <0>;
  64. cell-index = <0>;
  65. compatible = "fsl-i2c";
  66. reg = <0x3000 0x100>;
  67. interrupts = <14 0x8>;
  68. interrupt-parent = <&ipic>;
  69. dfsrr;
  70. rtc@68 {
  71. compatible = "dallas,ds1374";
  72. reg = <0x68>;
  73. };
  74. };
  75. i2c@3100 {
  76. #address-cells = <1>;
  77. #size-cells = <0>;
  78. cell-index = <1>;
  79. compatible = "fsl-i2c";
  80. reg = <0x3100 0x100>;
  81. interrupts = <15 0x8>;
  82. interrupt-parent = <&ipic>;
  83. dfsrr;
  84. };
  85. spi@7000 {
  86. cell-index = <0>;
  87. compatible = "fsl,spi";
  88. reg = <0x7000 0x1000>;
  89. interrupts = <16 0x8>;
  90. interrupt-parent = <&ipic>;
  91. mode = "cpu";
  92. };
  93. dma@82a8 {
  94. #address-cells = <1>;
  95. #size-cells = <1>;
  96. compatible = "fsl,mpc8349-dma", "fsl,elo-dma";
  97. reg = <0x82a8 4>;
  98. ranges = <0 0x8100 0x1a8>;
  99. interrupt-parent = <&ipic>;
  100. interrupts = <71 8>;
  101. cell-index = <0>;
  102. dma-channel@0 {
  103. compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
  104. reg = <0 0x80>;
  105. cell-index = <0>;
  106. interrupt-parent = <&ipic>;
  107. interrupts = <71 8>;
  108. };
  109. dma-channel@80 {
  110. compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
  111. reg = <0x80 0x80>;
  112. cell-index = <1>;
  113. interrupt-parent = <&ipic>;
  114. interrupts = <71 8>;
  115. };
  116. dma-channel@100 {
  117. compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
  118. reg = <0x100 0x80>;
  119. cell-index = <2>;
  120. interrupt-parent = <&ipic>;
  121. interrupts = <71 8>;
  122. };
  123. dma-channel@180 {
  124. compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
  125. reg = <0x180 0x28>;
  126. cell-index = <3>;
  127. interrupt-parent = <&ipic>;
  128. interrupts = <71 8>;
  129. };
  130. };
  131. /* phy type (ULPI or SERIAL) are only types supported for MPH */
  132. /* port = 0 or 1 */
  133. usb@22000 {
  134. compatible = "fsl-usb2-mph";
  135. reg = <0x22000 0x1000>;
  136. #address-cells = <1>;
  137. #size-cells = <0>;
  138. interrupt-parent = <&ipic>;
  139. interrupts = <39 0x8>;
  140. phy_type = "ulpi";
  141. port0;
  142. };
  143. /* phy type (ULPI, UTMI, UTMI_WIDE, SERIAL) */
  144. usb@23000 {
  145. compatible = "fsl-usb2-dr";
  146. reg = <0x23000 0x1000>;
  147. #address-cells = <1>;
  148. #size-cells = <0>;
  149. interrupt-parent = <&ipic>;
  150. interrupts = <38 0x8>;
  151. dr_mode = "otg";
  152. phy_type = "ulpi";
  153. };
  154. enet0: ethernet@24000 {
  155. #address-cells = <1>;
  156. #size-cells = <1>;
  157. cell-index = <0>;
  158. device_type = "network";
  159. model = "TSEC";
  160. compatible = "gianfar";
  161. reg = <0x24000 0x1000>;
  162. ranges = <0x0 0x24000 0x1000>;
  163. local-mac-address = [ 00 00 00 00 00 00 ];
  164. interrupts = <32 0x8 33 0x8 34 0x8>;
  165. interrupt-parent = <&ipic>;
  166. tbi-handle = <&tbi0>;
  167. phy-handle = <&phy0>;
  168. linux,network-index = <0>;
  169. mdio@520 {
  170. #address-cells = <1>;
  171. #size-cells = <0>;
  172. compatible = "fsl,gianfar-mdio";
  173. reg = <0x520 0x20>;
  174. phy0: ethernet-phy@0 {
  175. interrupt-parent = <&ipic>;
  176. interrupts = <17 0x8>;
  177. reg = <0x0>;
  178. };
  179. phy1: ethernet-phy@1 {
  180. interrupt-parent = <&ipic>;
  181. interrupts = <18 0x8>;
  182. reg = <0x1>;
  183. };
  184. tbi0: tbi-phy@11 {
  185. reg = <0x11>;
  186. device_type = "tbi-phy";
  187. };
  188. };
  189. };
  190. enet1: ethernet@25000 {
  191. #address-cells = <1>;
  192. #size-cells = <1>;
  193. cell-index = <1>;
  194. device_type = "network";
  195. model = "TSEC";
  196. compatible = "gianfar";
  197. reg = <0x25000 0x1000>;
  198. ranges = <0x0 0x25000 0x1000>;
  199. local-mac-address = [ 00 00 00 00 00 00 ];
  200. interrupts = <35 0x8 36 0x8 37 0x8>;
  201. interrupt-parent = <&ipic>;
  202. tbi-handle = <&tbi1>;
  203. phy-handle = <&phy1>;
  204. linux,network-index = <1>;
  205. mdio@520 {
  206. #address-cells = <1>;
  207. #size-cells = <0>;
  208. compatible = "fsl,gianfar-tbi";
  209. reg = <0x520 0x20>;
  210. tbi1: tbi-phy@11 {
  211. reg = <0x11>;
  212. device_type = "tbi-phy";
  213. };
  214. };
  215. };
  216. serial0: serial@4500 {
  217. cell-index = <0>;
  218. device_type = "serial";
  219. compatible = "fsl,ns16550", "ns16550";
  220. reg = <0x4500 0x100>;
  221. clock-frequency = <0>;
  222. interrupts = <9 0x8>;
  223. interrupt-parent = <&ipic>;
  224. };
  225. serial1: serial@4600 {
  226. cell-index = <1>;
  227. device_type = "serial";
  228. compatible = "fsl,ns16550", "ns16550";
  229. reg = <0x4600 0x100>;
  230. clock-frequency = <0>;
  231. interrupts = <10 0x8>;
  232. interrupt-parent = <&ipic>;
  233. };
  234. crypto@30000 {
  235. compatible = "fsl,sec2.0";
  236. reg = <0x30000 0x10000>;
  237. interrupts = <11 0x8>;
  238. interrupt-parent = <&ipic>;
  239. fsl,num-channels = <4>;
  240. fsl,channel-fifo-len = <24>;
  241. fsl,exec-units-mask = <0x7e>;
  242. fsl,descriptor-types-mask = <0x01010ebf>;
  243. };
  244. /* IPIC
  245. * interrupts cell = <intr #, sense>
  246. * sense values match linux IORESOURCE_IRQ_* defines:
  247. * sense == 8: Level, low assertion
  248. * sense == 2: Edge, high-to-low change
  249. */
  250. ipic: pic@700 {
  251. interrupt-controller;
  252. #address-cells = <0>;
  253. #interrupt-cells = <2>;
  254. reg = <0x700 0x100>;
  255. device_type = "ipic";
  256. };
  257. };
  258. pci0: pci@e0008500 {
  259. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  260. interrupt-map = <
  261. /* IDSEL 0x11 */
  262. 0x8800 0x0 0x0 0x1 &ipic 20 0x8
  263. 0x8800 0x0 0x0 0x2 &ipic 21 0x8
  264. 0x8800 0x0 0x0 0x3 &ipic 22 0x8
  265. 0x8800 0x0 0x0 0x4 &ipic 23 0x8
  266. /* IDSEL 0x12 */
  267. 0x9000 0x0 0x0 0x1 &ipic 22 0x8
  268. 0x9000 0x0 0x0 0x2 &ipic 23 0x8
  269. 0x9000 0x0 0x0 0x3 &ipic 20 0x8
  270. 0x9000 0x0 0x0 0x4 &ipic 21 0x8
  271. /* IDSEL 0x13 */
  272. 0x9800 0x0 0x0 0x1 &ipic 23 0x8
  273. 0x9800 0x0 0x0 0x2 &ipic 20 0x8
  274. 0x9800 0x0 0x0 0x3 &ipic 21 0x8
  275. 0x9800 0x0 0x0 0x4 &ipic 22 0x8
  276. /* IDSEL 0x15 */
  277. 0xa800 0x0 0x0 0x1 &ipic 20 0x8
  278. 0xa800 0x0 0x0 0x2 &ipic 21 0x8
  279. 0xa800 0x0 0x0 0x3 &ipic 22 0x8
  280. 0xa800 0x0 0x0 0x4 &ipic 23 0x8
  281. /* IDSEL 0x16 */
  282. 0xb000 0x0 0x0 0x1 &ipic 23 0x8
  283. 0xb000 0x0 0x0 0x2 &ipic 20 0x8
  284. 0xb000 0x0 0x0 0x3 &ipic 21 0x8
  285. 0xb000 0x0 0x0 0x4 &ipic 22 0x8
  286. /* IDSEL 0x17 */
  287. 0xb800 0x0 0x0 0x1 &ipic 22 0x8
  288. 0xb800 0x0 0x0 0x2 &ipic 23 0x8
  289. 0xb800 0x0 0x0 0x3 &ipic 20 0x8
  290. 0xb800 0x0 0x0 0x4 &ipic 21 0x8
  291. /* IDSEL 0x18 */
  292. 0xc000 0x0 0x0 0x1 &ipic 21 0x8
  293. 0xc000 0x0 0x0 0x2 &ipic 22 0x8
  294. 0xc000 0x0 0x0 0x3 &ipic 23 0x8
  295. 0xc000 0x0 0x0 0x4 &ipic 20 0x8>;
  296. interrupt-parent = <&ipic>;
  297. interrupts = <66 0x8>;
  298. bus-range = <0 0>;
  299. ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
  300. 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
  301. 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>;
  302. clock-frequency = <66666666>;
  303. #interrupt-cells = <1>;
  304. #size-cells = <2>;
  305. #address-cells = <3>;
  306. reg = <0xe0008500 0x100 /* internal registers */
  307. 0xe0008300 0x8>; /* config space access registers */
  308. compatible = "fsl,mpc8349-pci";
  309. device_type = "pci";
  310. };
  311. pci1: pci@e0008600 {
  312. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  313. interrupt-map = <
  314. /* IDSEL 0x11 */
  315. 0x8800 0x0 0x0 0x1 &ipic 20 0x8
  316. 0x8800 0x0 0x0 0x2 &ipic 21 0x8
  317. 0x8800 0x0 0x0 0x3 &ipic 22 0x8
  318. 0x8800 0x0 0x0 0x4 &ipic 23 0x8
  319. /* IDSEL 0x12 */
  320. 0x9000 0x0 0x0 0x1 &ipic 22 0x8
  321. 0x9000 0x0 0x0 0x2 &ipic 23 0x8
  322. 0x9000 0x0 0x0 0x3 &ipic 20 0x8
  323. 0x9000 0x0 0x0 0x4 &ipic 21 0x8
  324. /* IDSEL 0x13 */
  325. 0x9800 0x0 0x0 0x1 &ipic 23 0x8
  326. 0x9800 0x0 0x0 0x2 &ipic 20 0x8
  327. 0x9800 0x0 0x0 0x3 &ipic 21 0x8
  328. 0x9800 0x0 0x0 0x4 &ipic 22 0x8
  329. /* IDSEL 0x15 */
  330. 0xa800 0x0 0x0 0x1 &ipic 20 0x8
  331. 0xa800 0x0 0x0 0x2 &ipic 21 0x8
  332. 0xa800 0x0 0x0 0x3 &ipic 22 0x8
  333. 0xa800 0x0 0x0 0x4 &ipic 23 0x8
  334. /* IDSEL 0x16 */
  335. 0xb000 0x0 0x0 0x1 &ipic 23 0x8
  336. 0xb000 0x0 0x0 0x2 &ipic 20 0x8
  337. 0xb000 0x0 0x0 0x3 &ipic 21 0x8
  338. 0xb000 0x0 0x0 0x4 &ipic 22 0x8
  339. /* IDSEL 0x17 */
  340. 0xb800 0x0 0x0 0x1 &ipic 22 0x8
  341. 0xb800 0x0 0x0 0x2 &ipic 23 0x8
  342. 0xb800 0x0 0x0 0x3 &ipic 20 0x8
  343. 0xb800 0x0 0x0 0x4 &ipic 21 0x8
  344. /* IDSEL 0x18 */
  345. 0xc000 0x0 0x0 0x1 &ipic 21 0x8
  346. 0xc000 0x0 0x0 0x2 &ipic 22 0x8
  347. 0xc000 0x0 0x0 0x3 &ipic 23 0x8
  348. 0xc000 0x0 0x0 0x4 &ipic 20 0x8>;
  349. interrupt-parent = <&ipic>;
  350. interrupts = <67 0x8>;
  351. bus-range = <0 0>;
  352. ranges = <0x02000000 0x0 0xb0000000 0xb0000000 0x0 0x10000000
  353. 0x42000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
  354. 0x01000000 0x0 0x00000000 0xe2100000 0x0 0x00100000>;
  355. clock-frequency = <66666666>;
  356. #interrupt-cells = <1>;
  357. #size-cells = <2>;
  358. #address-cells = <3>;
  359. reg = <0xe0008600 0x100 /* internal registers */
  360. 0xe0008380 0x8>; /* config space access registers */
  361. compatible = "fsl,mpc8349-pci";
  362. device_type = "pci";
  363. };
  364. };