mpc836x_mds.dts 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485
  1. /*
  2. * MPC8360E EMDS Device Tree Source
  3. *
  4. * Copyright 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. /*
  12. /memreserve/ 00000000 1000000;
  13. */
  14. /dts-v1/;
  15. / {
  16. model = "MPC8360MDS";
  17. compatible = "MPC8360EMDS", "MPC836xMDS", "MPC83xxMDS";
  18. #address-cells = <1>;
  19. #size-cells = <1>;
  20. aliases {
  21. ethernet0 = &enet0;
  22. ethernet1 = &enet1;
  23. serial0 = &serial0;
  24. serial1 = &serial1;
  25. pci0 = &pci0;
  26. };
  27. cpus {
  28. #address-cells = <1>;
  29. #size-cells = <0>;
  30. PowerPC,8360@0 {
  31. device_type = "cpu";
  32. reg = <0x0>;
  33. d-cache-line-size = <32>; // 32 bytes
  34. i-cache-line-size = <32>; // 32 bytes
  35. d-cache-size = <32768>; // L1, 32K
  36. i-cache-size = <32768>; // L1, 32K
  37. timebase-frequency = <66000000>;
  38. bus-frequency = <264000000>;
  39. clock-frequency = <528000000>;
  40. };
  41. };
  42. memory {
  43. device_type = "memory";
  44. reg = <0x00000000 0x10000000>;
  45. };
  46. localbus@e0005000 {
  47. #address-cells = <2>;
  48. #size-cells = <1>;
  49. compatible = "fsl,mpc8360-localbus", "fsl,pq2pro-localbus",
  50. "simple-bus";
  51. reg = <0xe0005000 0xd8>;
  52. ranges = <0 0 0xfe000000 0x02000000
  53. 1 0 0xf8000000 0x00008000>;
  54. flash@0,0 {
  55. compatible = "cfi-flash";
  56. reg = <0 0 0x2000000>;
  57. bank-width = <2>;
  58. device-width = <1>;
  59. };
  60. bcsr@1,0 {
  61. #address-cells = <1>;
  62. #size-cells = <1>;
  63. compatible = "fsl,mpc8360mds-bcsr";
  64. reg = <1 0 0x8000>;
  65. ranges = <0 1 0 0x8000>;
  66. bcsr13: gpio-controller@d {
  67. #gpio-cells = <2>;
  68. compatible = "fsl,mpc8360mds-bcsr-gpio";
  69. reg = <0xd 1>;
  70. gpio-controller;
  71. };
  72. };
  73. };
  74. soc8360@e0000000 {
  75. #address-cells = <1>;
  76. #size-cells = <1>;
  77. device_type = "soc";
  78. compatible = "simple-bus";
  79. ranges = <0x0 0xe0000000 0x00100000>;
  80. reg = <0xe0000000 0x00000200>;
  81. bus-frequency = <264000000>;
  82. wdt@200 {
  83. device_type = "watchdog";
  84. compatible = "mpc83xx_wdt";
  85. reg = <0x200 0x100>;
  86. };
  87. pmc: power@b00 {
  88. compatible = "fsl,mpc8360-pmc", "fsl,mpc8349-pmc";
  89. reg = <0xb00 0x100 0xa00 0x100>;
  90. interrupts = <80 0x8>;
  91. interrupt-parent = <&ipic>;
  92. };
  93. i2c@3000 {
  94. #address-cells = <1>;
  95. #size-cells = <0>;
  96. cell-index = <0>;
  97. compatible = "fsl-i2c";
  98. reg = <0x3000 0x100>;
  99. interrupts = <14 0x8>;
  100. interrupt-parent = <&ipic>;
  101. dfsrr;
  102. rtc@68 {
  103. compatible = "dallas,ds1374";
  104. reg = <0x68>;
  105. };
  106. };
  107. i2c@3100 {
  108. #address-cells = <1>;
  109. #size-cells = <0>;
  110. cell-index = <1>;
  111. compatible = "fsl-i2c";
  112. reg = <0x3100 0x100>;
  113. interrupts = <15 0x8>;
  114. interrupt-parent = <&ipic>;
  115. dfsrr;
  116. };
  117. serial0: serial@4500 {
  118. cell-index = <0>;
  119. device_type = "serial";
  120. compatible = "fsl,ns16550", "ns16550";
  121. reg = <0x4500 0x100>;
  122. clock-frequency = <264000000>;
  123. interrupts = <9 0x8>;
  124. interrupt-parent = <&ipic>;
  125. };
  126. serial1: serial@4600 {
  127. cell-index = <1>;
  128. device_type = "serial";
  129. compatible = "fsl,ns16550", "ns16550";
  130. reg = <0x4600 0x100>;
  131. clock-frequency = <264000000>;
  132. interrupts = <10 0x8>;
  133. interrupt-parent = <&ipic>;
  134. };
  135. dma@82a8 {
  136. #address-cells = <1>;
  137. #size-cells = <1>;
  138. compatible = "fsl,mpc8360-dma", "fsl,elo-dma";
  139. reg = <0x82a8 4>;
  140. ranges = <0 0x8100 0x1a8>;
  141. interrupt-parent = <&ipic>;
  142. interrupts = <71 8>;
  143. cell-index = <0>;
  144. dma-channel@0 {
  145. compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
  146. reg = <0 0x80>;
  147. cell-index = <0>;
  148. interrupt-parent = <&ipic>;
  149. interrupts = <71 8>;
  150. };
  151. dma-channel@80 {
  152. compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
  153. reg = <0x80 0x80>;
  154. cell-index = <1>;
  155. interrupt-parent = <&ipic>;
  156. interrupts = <71 8>;
  157. };
  158. dma-channel@100 {
  159. compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
  160. reg = <0x100 0x80>;
  161. cell-index = <2>;
  162. interrupt-parent = <&ipic>;
  163. interrupts = <71 8>;
  164. };
  165. dma-channel@180 {
  166. compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
  167. reg = <0x180 0x28>;
  168. cell-index = <3>;
  169. interrupt-parent = <&ipic>;
  170. interrupts = <71 8>;
  171. };
  172. };
  173. crypto@30000 {
  174. compatible = "fsl,sec2.0";
  175. reg = <0x30000 0x10000>;
  176. interrupts = <11 0x8>;
  177. interrupt-parent = <&ipic>;
  178. fsl,num-channels = <4>;
  179. fsl,channel-fifo-len = <24>;
  180. fsl,exec-units-mask = <0x7e>;
  181. fsl,descriptor-types-mask = <0x01010ebf>;
  182. sleep = <&pmc 0x03000000>;
  183. };
  184. ipic: pic@700 {
  185. interrupt-controller;
  186. #address-cells = <0>;
  187. #interrupt-cells = <2>;
  188. reg = <0x700 0x100>;
  189. device_type = "ipic";
  190. };
  191. par_io@1400 {
  192. #address-cells = <1>;
  193. #size-cells = <1>;
  194. reg = <0x1400 0x100>;
  195. ranges = <0 0x1400 0x100>;
  196. device_type = "par_io";
  197. num-ports = <7>;
  198. qe_pio_b: gpio-controller@18 {
  199. #gpio-cells = <2>;
  200. compatible = "fsl,mpc8360-qe-pario-bank",
  201. "fsl,mpc8323-qe-pario-bank";
  202. reg = <0x18 0x18>;
  203. gpio-controller;
  204. };
  205. pio1: ucc_pin@01 {
  206. pio-map = <
  207. /* port pin dir open_drain assignment has_irq */
  208. 0 3 1 0 1 0 /* TxD0 */
  209. 0 4 1 0 1 0 /* TxD1 */
  210. 0 5 1 0 1 0 /* TxD2 */
  211. 0 6 1 0 1 0 /* TxD3 */
  212. 1 6 1 0 3 0 /* TxD4 */
  213. 1 7 1 0 1 0 /* TxD5 */
  214. 1 9 1 0 2 0 /* TxD6 */
  215. 1 10 1 0 2 0 /* TxD7 */
  216. 0 9 2 0 1 0 /* RxD0 */
  217. 0 10 2 0 1 0 /* RxD1 */
  218. 0 11 2 0 1 0 /* RxD2 */
  219. 0 12 2 0 1 0 /* RxD3 */
  220. 0 13 2 0 1 0 /* RxD4 */
  221. 1 1 2 0 2 0 /* RxD5 */
  222. 1 0 2 0 2 0 /* RxD6 */
  223. 1 4 2 0 2 0 /* RxD7 */
  224. 0 7 1 0 1 0 /* TX_EN */
  225. 0 8 1 0 1 0 /* TX_ER */
  226. 0 15 2 0 1 0 /* RX_DV */
  227. 0 16 2 0 1 0 /* RX_ER */
  228. 0 0 2 0 1 0 /* RX_CLK */
  229. 2 9 1 0 3 0 /* GTX_CLK - CLK10 */
  230. 2 8 2 0 1 0>; /* GTX125 - CLK9 */
  231. };
  232. pio2: ucc_pin@02 {
  233. pio-map = <
  234. /* port pin dir open_drain assignment has_irq */
  235. 0 17 1 0 1 0 /* TxD0 */
  236. 0 18 1 0 1 0 /* TxD1 */
  237. 0 19 1 0 1 0 /* TxD2 */
  238. 0 20 1 0 1 0 /* TxD3 */
  239. 1 2 1 0 1 0 /* TxD4 */
  240. 1 3 1 0 2 0 /* TxD5 */
  241. 1 5 1 0 3 0 /* TxD6 */
  242. 1 8 1 0 3 0 /* TxD7 */
  243. 0 23 2 0 1 0 /* RxD0 */
  244. 0 24 2 0 1 0 /* RxD1 */
  245. 0 25 2 0 1 0 /* RxD2 */
  246. 0 26 2 0 1 0 /* RxD3 */
  247. 0 27 2 0 1 0 /* RxD4 */
  248. 1 12 2 0 2 0 /* RxD5 */
  249. 1 13 2 0 3 0 /* RxD6 */
  250. 1 11 2 0 2 0 /* RxD7 */
  251. 0 21 1 0 1 0 /* TX_EN */
  252. 0 22 1 0 1 0 /* TX_ER */
  253. 0 29 2 0 1 0 /* RX_DV */
  254. 0 30 2 0 1 0 /* RX_ER */
  255. 0 31 2 0 1 0 /* RX_CLK */
  256. 2 2 1 0 2 0 /* GTX_CLK - CLK10 */
  257. 2 3 2 0 1 0 /* GTX125 - CLK4 */
  258. 0 1 3 0 2 0 /* MDIO */
  259. 0 2 1 0 1 0>; /* MDC */
  260. };
  261. };
  262. };
  263. qe@e0100000 {
  264. #address-cells = <1>;
  265. #size-cells = <1>;
  266. device_type = "qe";
  267. compatible = "fsl,qe";
  268. ranges = <0x0 0xe0100000 0x00100000>;
  269. reg = <0xe0100000 0x480>;
  270. brg-frequency = <0>;
  271. bus-frequency = <396000000>;
  272. fsl,qe-num-riscs = <2>;
  273. fsl,qe-num-snums = <28>;
  274. muram@10000 {
  275. #address-cells = <1>;
  276. #size-cells = <1>;
  277. compatible = "fsl,qe-muram", "fsl,cpm-muram";
  278. ranges = <0x0 0x00010000 0x0000c000>;
  279. data-only@0 {
  280. compatible = "fsl,qe-muram-data",
  281. "fsl,cpm-muram-data";
  282. reg = <0x0 0xc000>;
  283. };
  284. };
  285. timer@440 {
  286. compatible = "fsl,mpc8360-qe-gtm",
  287. "fsl,qe-gtm", "fsl,gtm";
  288. reg = <0x440 0x40>;
  289. clock-frequency = <132000000>;
  290. interrupts = <12 13 14 15>;
  291. interrupt-parent = <&qeic>;
  292. };
  293. spi@4c0 {
  294. cell-index = <0>;
  295. compatible = "fsl,spi";
  296. reg = <0x4c0 0x40>;
  297. interrupts = <2>;
  298. interrupt-parent = <&qeic>;
  299. mode = "cpu";
  300. };
  301. spi@500 {
  302. cell-index = <1>;
  303. compatible = "fsl,spi";
  304. reg = <0x500 0x40>;
  305. interrupts = <1>;
  306. interrupt-parent = <&qeic>;
  307. mode = "cpu";
  308. };
  309. usb@6c0 {
  310. compatible = "fsl,mpc8360-qe-usb",
  311. "fsl,mpc8323-qe-usb";
  312. reg = <0x6c0 0x40 0x8b00 0x100>;
  313. interrupts = <11>;
  314. interrupt-parent = <&qeic>;
  315. fsl,fullspeed-clock = "clk21";
  316. fsl,lowspeed-clock = "brg9";
  317. gpios = <&qe_pio_b 2 0 /* USBOE */
  318. &qe_pio_b 3 0 /* USBTP */
  319. &qe_pio_b 8 0 /* USBTN */
  320. &qe_pio_b 9 0 /* USBRP */
  321. &qe_pio_b 11 0 /* USBRN */
  322. &bcsr13 5 0 /* SPEED */
  323. &bcsr13 4 1>; /* POWER */
  324. };
  325. enet0: ucc@2000 {
  326. device_type = "network";
  327. compatible = "ucc_geth";
  328. cell-index = <1>;
  329. reg = <0x2000 0x200>;
  330. interrupts = <32>;
  331. interrupt-parent = <&qeic>;
  332. local-mac-address = [ 00 00 00 00 00 00 ];
  333. rx-clock-name = "none";
  334. tx-clock-name = "clk9";
  335. phy-handle = <&phy0>;
  336. phy-connection-type = "rgmii-id";
  337. pio-handle = <&pio1>;
  338. };
  339. enet1: ucc@3000 {
  340. device_type = "network";
  341. compatible = "ucc_geth";
  342. cell-index = <2>;
  343. reg = <0x3000 0x200>;
  344. interrupts = <33>;
  345. interrupt-parent = <&qeic>;
  346. local-mac-address = [ 00 00 00 00 00 00 ];
  347. rx-clock-name = "none";
  348. tx-clock-name = "clk4";
  349. phy-handle = <&phy1>;
  350. phy-connection-type = "rgmii-id";
  351. pio-handle = <&pio2>;
  352. };
  353. mdio@2120 {
  354. #address-cells = <1>;
  355. #size-cells = <0>;
  356. reg = <0x2120 0x18>;
  357. compatible = "fsl,ucc-mdio";
  358. phy0: ethernet-phy@00 {
  359. interrupt-parent = <&ipic>;
  360. interrupts = <17 0x8>;
  361. reg = <0x0>;
  362. };
  363. phy1: ethernet-phy@01 {
  364. interrupt-parent = <&ipic>;
  365. interrupts = <18 0x8>;
  366. reg = <0x1>;
  367. };
  368. tbi-phy@2 {
  369. device_type = "tbi-phy";
  370. reg = <0x2>;
  371. };
  372. };
  373. qeic: interrupt-controller@80 {
  374. interrupt-controller;
  375. compatible = "fsl,qe-ic";
  376. #address-cells = <0>;
  377. #interrupt-cells = <1>;
  378. reg = <0x80 0x80>;
  379. big-endian;
  380. interrupts = <32 0x8 33 0x8>; // high:32 low:33
  381. interrupt-parent = <&ipic>;
  382. };
  383. };
  384. pci0: pci@e0008500 {
  385. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  386. interrupt-map = <
  387. /* IDSEL 0x11 AD17 */
  388. 0x8800 0x0 0x0 0x1 &ipic 20 0x8
  389. 0x8800 0x0 0x0 0x2 &ipic 21 0x8
  390. 0x8800 0x0 0x0 0x3 &ipic 22 0x8
  391. 0x8800 0x0 0x0 0x4 &ipic 23 0x8
  392. /* IDSEL 0x12 AD18 */
  393. 0x9000 0x0 0x0 0x1 &ipic 22 0x8
  394. 0x9000 0x0 0x0 0x2 &ipic 23 0x8
  395. 0x9000 0x0 0x0 0x3 &ipic 20 0x8
  396. 0x9000 0x0 0x0 0x4 &ipic 21 0x8
  397. /* IDSEL 0x13 AD19 */
  398. 0x9800 0x0 0x0 0x1 &ipic 23 0x8
  399. 0x9800 0x0 0x0 0x2 &ipic 20 0x8
  400. 0x9800 0x0 0x0 0x3 &ipic 21 0x8
  401. 0x9800 0x0 0x0 0x4 &ipic 22 0x8
  402. /* IDSEL 0x15 AD21*/
  403. 0xa800 0x0 0x0 0x1 &ipic 20 0x8
  404. 0xa800 0x0 0x0 0x2 &ipic 21 0x8
  405. 0xa800 0x0 0x0 0x3 &ipic 22 0x8
  406. 0xa800 0x0 0x0 0x4 &ipic 23 0x8
  407. /* IDSEL 0x16 AD22*/
  408. 0xb000 0x0 0x0 0x1 &ipic 23 0x8
  409. 0xb000 0x0 0x0 0x2 &ipic 20 0x8
  410. 0xb000 0x0 0x0 0x3 &ipic 21 0x8
  411. 0xb000 0x0 0x0 0x4 &ipic 22 0x8
  412. /* IDSEL 0x17 AD23*/
  413. 0xb800 0x0 0x0 0x1 &ipic 22 0x8
  414. 0xb800 0x0 0x0 0x2 &ipic 23 0x8
  415. 0xb800 0x0 0x0 0x3 &ipic 20 0x8
  416. 0xb800 0x0 0x0 0x4 &ipic 21 0x8
  417. /* IDSEL 0x18 AD24*/
  418. 0xc000 0x0 0x0 0x1 &ipic 21 0x8
  419. 0xc000 0x0 0x0 0x2 &ipic 22 0x8
  420. 0xc000 0x0 0x0 0x3 &ipic 23 0x8
  421. 0xc000 0x0 0x0 0x4 &ipic 20 0x8>;
  422. interrupt-parent = <&ipic>;
  423. interrupts = <66 0x8>;
  424. bus-range = <0 0>;
  425. ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
  426. 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
  427. 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>;
  428. clock-frequency = <66666666>;
  429. #interrupt-cells = <1>;
  430. #size-cells = <2>;
  431. #address-cells = <3>;
  432. reg = <0xe0008500 0x100 /* internal registers */
  433. 0xe0008300 0x8>; /* config space access registers */
  434. compatible = "fsl,mpc8349-pci";
  435. device_type = "pci";
  436. sleep = <&pmc 0x00010000>;
  437. };
  438. };