mpc836x_rdk.dts 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462
  1. /*
  2. * MPC8360E RDK Device Tree Source
  3. *
  4. * Copyright 2006 Freescale Semiconductor Inc.
  5. * Copyright 2007-2008 MontaVista Software, Inc.
  6. *
  7. * Author: Anton Vorontsov <avorontsov@ru.mvista.com>
  8. *
  9. * This program is free software; you can redistribute it and/or modify it
  10. * under the terms of the GNU General Public License as published by the
  11. * Free Software Foundation; either version 2 of the License, or (at your
  12. * option) any later version.
  13. */
  14. /dts-v1/;
  15. / {
  16. #address-cells = <1>;
  17. #size-cells = <1>;
  18. compatible = "fsl,mpc8360rdk";
  19. aliases {
  20. serial0 = &serial0;
  21. serial1 = &serial1;
  22. serial2 = &serial2;
  23. serial3 = &serial3;
  24. ethernet0 = &enet0;
  25. ethernet1 = &enet1;
  26. ethernet2 = &enet2;
  27. ethernet3 = &enet3;
  28. pci0 = &pci0;
  29. };
  30. cpus {
  31. #address-cells = <1>;
  32. #size-cells = <0>;
  33. PowerPC,8360@0 {
  34. device_type = "cpu";
  35. reg = <0>;
  36. d-cache-line-size = <32>;
  37. i-cache-line-size = <32>;
  38. d-cache-size = <32768>;
  39. i-cache-size = <32768>;
  40. /* filled by u-boot */
  41. timebase-frequency = <0>;
  42. bus-frequency = <0>;
  43. clock-frequency = <0>;
  44. };
  45. };
  46. memory {
  47. device_type = "memory";
  48. /* filled by u-boot */
  49. reg = <0 0>;
  50. };
  51. soc@e0000000 {
  52. #address-cells = <1>;
  53. #size-cells = <1>;
  54. device_type = "soc";
  55. compatible = "fsl,mpc8360-immr", "fsl,immr", "fsl,soc",
  56. "simple-bus";
  57. ranges = <0 0xe0000000 0x200000>;
  58. reg = <0xe0000000 0x200>;
  59. /* filled by u-boot */
  60. bus-frequency = <0>;
  61. wdt@200 {
  62. compatible = "mpc83xx_wdt";
  63. reg = <0x200 0x100>;
  64. };
  65. i2c@3000 {
  66. #address-cells = <1>;
  67. #size-cells = <0>;
  68. cell-index = <0>;
  69. compatible = "fsl-i2c";
  70. reg = <0x3000 0x100>;
  71. interrupts = <14 8>;
  72. interrupt-parent = <&ipic>;
  73. dfsrr;
  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 = <16 8>;
  82. interrupt-parent = <&ipic>;
  83. dfsrr;
  84. };
  85. serial0: serial@4500 {
  86. device_type = "serial";
  87. compatible = "ns16550";
  88. reg = <0x4500 0x100>;
  89. interrupts = <9 8>;
  90. interrupt-parent = <&ipic>;
  91. /* filled by u-boot */
  92. clock-frequency = <0>;
  93. };
  94. serial1: serial@4600 {
  95. device_type = "serial";
  96. compatible = "ns16550";
  97. reg = <0x4600 0x100>;
  98. interrupts = <10 8>;
  99. interrupt-parent = <&ipic>;
  100. /* filled by u-boot */
  101. clock-frequency = <0>;
  102. };
  103. dma@82a8 {
  104. #address-cells = <1>;
  105. #size-cells = <1>;
  106. compatible = "fsl,mpc8360-dma", "fsl,elo-dma";
  107. reg = <0x82a8 4>;
  108. ranges = <0 0x8100 0x1a8>;
  109. interrupt-parent = <&ipic>;
  110. interrupts = <71 8>;
  111. cell-index = <0>;
  112. dma-channel@0 {
  113. compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
  114. reg = <0 0x80>;
  115. cell-index = <0>;
  116. interrupt-parent = <&ipic>;
  117. interrupts = <71 8>;
  118. };
  119. dma-channel@80 {
  120. compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
  121. reg = <0x80 0x80>;
  122. cell-index = <1>;
  123. interrupt-parent = <&ipic>;
  124. interrupts = <71 8>;
  125. };
  126. dma-channel@100 {
  127. compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
  128. reg = <0x100 0x80>;
  129. cell-index = <2>;
  130. interrupt-parent = <&ipic>;
  131. interrupts = <71 8>;
  132. };
  133. dma-channel@180 {
  134. compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
  135. reg = <0x180 0x28>;
  136. cell-index = <3>;
  137. interrupt-parent = <&ipic>;
  138. interrupts = <71 8>;
  139. };
  140. };
  141. crypto@30000 {
  142. compatible = "fsl,sec2.0";
  143. reg = <0x30000 0x10000>;
  144. interrupts = <11 0x8>;
  145. interrupt-parent = <&ipic>;
  146. fsl,num-channels = <4>;
  147. fsl,channel-fifo-len = <24>;
  148. fsl,exec-units-mask = <0x7e>;
  149. fsl,descriptor-types-mask = <0x01010ebf>;
  150. };
  151. ipic: interrupt-controller@700 {
  152. #address-cells = <0>;
  153. #interrupt-cells = <2>;
  154. compatible = "fsl,pq2pro-pic", "fsl,ipic";
  155. interrupt-controller;
  156. reg = <0x700 0x100>;
  157. };
  158. qe_pio_b: gpio-controller@1418 {
  159. #gpio-cells = <2>;
  160. compatible = "fsl,mpc8360-qe-pario-bank",
  161. "fsl,mpc8323-qe-pario-bank";
  162. reg = <0x1418 0x18>;
  163. gpio-controller;
  164. };
  165. qe_pio_e: gpio-controller@1460 {
  166. #gpio-cells = <2>;
  167. compatible = "fsl,mpc8360-qe-pario-bank",
  168. "fsl,mpc8323-qe-pario-bank";
  169. reg = <0x1460 0x18>;
  170. gpio-controller;
  171. };
  172. qe@100000 {
  173. #address-cells = <1>;
  174. #size-cells = <1>;
  175. device_type = "qe";
  176. compatible = "fsl,qe", "simple-bus";
  177. ranges = <0 0x100000 0x100000>;
  178. reg = <0x100000 0x480>;
  179. /* filled by u-boot */
  180. clock-frequency = <0>;
  181. bus-frequency = <0>;
  182. brg-frequency = <0>;
  183. fsl,qe-num-riscs = <2>;
  184. fsl,qe-num-snums = <28>;
  185. muram@10000 {
  186. #address-cells = <1>;
  187. #size-cells = <1>;
  188. compatible = "fsl,qe-muram", "fsl,cpm-muram";
  189. ranges = <0 0x10000 0xc000>;
  190. data-only@0 {
  191. compatible = "fsl,qe-muram-data",
  192. "fsl,cpm-muram-data";
  193. reg = <0 0xc000>;
  194. };
  195. };
  196. timer@440 {
  197. compatible = "fsl,mpc8360-qe-gtm",
  198. "fsl,qe-gtm", "fsl,gtm";
  199. reg = <0x440 0x40>;
  200. interrupts = <12 13 14 15>;
  201. interrupt-parent = <&qeic>;
  202. clock-frequency = <166666666>;
  203. };
  204. usb@6c0 {
  205. compatible = "fsl,mpc8360-qe-usb",
  206. "fsl,mpc8323-qe-usb";
  207. reg = <0x6c0 0x40 0x8b00 0x100>;
  208. interrupts = <11>;
  209. interrupt-parent = <&qeic>;
  210. fsl,fullspeed-clock = "clk21";
  211. gpios = <&qe_pio_b 2 0 /* USBOE */
  212. &qe_pio_b 3 0 /* USBTP */
  213. &qe_pio_b 8 0 /* USBTN */
  214. &qe_pio_b 9 0 /* USBRP */
  215. &qe_pio_b 11 0 /* USBRN */
  216. &qe_pio_e 20 0 /* SPEED */
  217. &qe_pio_e 21 1 /* POWER */>;
  218. };
  219. spi@4c0 {
  220. cell-index = <0>;
  221. compatible = "fsl,spi";
  222. reg = <0x4c0 0x40>;
  223. interrupts = <2>;
  224. interrupt-parent = <&qeic>;
  225. mode = "cpu-qe";
  226. };
  227. spi@500 {
  228. cell-index = <1>;
  229. compatible = "fsl,spi";
  230. reg = <0x500 0x40>;
  231. interrupts = <1>;
  232. interrupt-parent = <&qeic>;
  233. mode = "cpu-qe";
  234. };
  235. enet0: ucc@2000 {
  236. device_type = "network";
  237. compatible = "ucc_geth";
  238. cell-index = <1>;
  239. reg = <0x2000 0x200>;
  240. interrupts = <32>;
  241. interrupt-parent = <&qeic>;
  242. rx-clock-name = "none";
  243. tx-clock-name = "clk9";
  244. phy-handle = <&phy2>;
  245. phy-connection-type = "rgmii-rxid";
  246. /* filled by u-boot */
  247. local-mac-address = [ 00 00 00 00 00 00 ];
  248. };
  249. enet1: ucc@3000 {
  250. device_type = "network";
  251. compatible = "ucc_geth";
  252. cell-index = <2>;
  253. reg = <0x3000 0x200>;
  254. interrupts = <33>;
  255. interrupt-parent = <&qeic>;
  256. rx-clock-name = "none";
  257. tx-clock-name = "clk4";
  258. phy-handle = <&phy4>;
  259. phy-connection-type = "rgmii-rxid";
  260. /* filled by u-boot */
  261. local-mac-address = [ 00 00 00 00 00 00 ];
  262. };
  263. enet2: ucc@2600 {
  264. device_type = "network";
  265. compatible = "ucc_geth";
  266. cell-index = <7>;
  267. reg = <0x2600 0x200>;
  268. interrupts = <42>;
  269. interrupt-parent = <&qeic>;
  270. rx-clock-name = "clk20";
  271. tx-clock-name = "clk19";
  272. phy-handle = <&phy1>;
  273. phy-connection-type = "mii";
  274. /* filled by u-boot */
  275. local-mac-address = [ 00 00 00 00 00 00 ];
  276. };
  277. enet3: ucc@3200 {
  278. device_type = "network";
  279. compatible = "ucc_geth";
  280. cell-index = <4>;
  281. reg = <0x3200 0x200>;
  282. interrupts = <35>;
  283. interrupt-parent = <&qeic>;
  284. rx-clock-name = "clk8";
  285. tx-clock-name = "clk7";
  286. phy-handle = <&phy3>;
  287. phy-connection-type = "mii";
  288. /* filled by u-boot */
  289. local-mac-address = [ 00 00 00 00 00 00 ];
  290. };
  291. mdio@2120 {
  292. #address-cells = <1>;
  293. #size-cells = <0>;
  294. compatible = "fsl,ucc-mdio";
  295. reg = <0x2120 0x18>;
  296. phy1: ethernet-phy@1 {
  297. device_type = "ethernet-phy";
  298. compatible = "national,DP83848VV";
  299. reg = <1>;
  300. };
  301. phy2: ethernet-phy@2 {
  302. device_type = "ethernet-phy";
  303. compatible = "broadcom,BCM5481UA2KMLG";
  304. reg = <2>;
  305. };
  306. phy3: ethernet-phy@3 {
  307. device_type = "ethernet-phy";
  308. compatible = "national,DP83848VV";
  309. reg = <3>;
  310. };
  311. phy4: ethernet-phy@4 {
  312. device_type = "ethernet-phy";
  313. compatible = "broadcom,BCM5481UA2KMLG";
  314. reg = <4>;
  315. };
  316. };
  317. serial2: ucc@2400 {
  318. device_type = "serial";
  319. compatible = "ucc_uart";
  320. reg = <0x2400 0x200>;
  321. cell-index = <5>;
  322. port-number = <0>;
  323. rx-clock-name = "brg7";
  324. tx-clock-name = "brg8";
  325. interrupts = <40>;
  326. interrupt-parent = <&qeic>;
  327. soft-uart;
  328. };
  329. serial3: ucc@3400 {
  330. device_type = "serial";
  331. compatible = "ucc_uart";
  332. reg = <0x3400 0x200>;
  333. cell-index = <6>;
  334. port-number = <1>;
  335. rx-clock-name = "brg13";
  336. tx-clock-name = "brg14";
  337. interrupts = <41>;
  338. interrupt-parent = <&qeic>;
  339. soft-uart;
  340. };
  341. qeic: interrupt-controller@80 {
  342. #address-cells = <0>;
  343. #interrupt-cells = <1>;
  344. compatible = "fsl,qe-ic";
  345. interrupt-controller;
  346. reg = <0x80 0x80>;
  347. big-endian;
  348. interrupts = <32 8 33 8>;
  349. interrupt-parent = <&ipic>;
  350. };
  351. };
  352. };
  353. localbus@e0005000 {
  354. #address-cells = <2>;
  355. #size-cells = <1>;
  356. compatible = "fsl,mpc8360-localbus", "fsl,pq2pro-localbus",
  357. "simple-bus";
  358. reg = <0xe0005000 0xd8>;
  359. ranges = <0 0 0xff800000 0x0800000
  360. 1 0 0x60000000 0x0001000
  361. 2 0 0x70000000 0x4000000>;
  362. flash@0,0 {
  363. compatible = "intel,PC28F640P30T85", "cfi-flash";
  364. reg = <0 0 0x800000>;
  365. bank-width = <2>;
  366. device-width = <1>;
  367. };
  368. upm@1,0 {
  369. compatible = "fsl,upm-nand";
  370. reg = <1 0 1>;
  371. fsl,upm-addr-offset = <16>;
  372. fsl,upm-cmd-offset = <8>;
  373. gpios = <&qe_pio_e 18 0>;
  374. flash {
  375. compatible = "stm,nand512-a";
  376. };
  377. };
  378. display@2,0 {
  379. device_type = "display";
  380. compatible = "fujitsu,MB86277", "fujitsu,mint";
  381. reg = <2 0 0x4000000>;
  382. fujitsu,sh3;
  383. little-endian;
  384. /* filled by u-boot */
  385. address = <0>;
  386. depth = <0>;
  387. width = <0>;
  388. height = <0>;
  389. linebytes = <0>;
  390. /* linux,opened; - added by uboot */
  391. };
  392. };
  393. pci0: pci@e0008500 {
  394. #address-cells = <3>;
  395. #size-cells = <2>;
  396. #interrupt-cells = <1>;
  397. device_type = "pci";
  398. compatible = "fsl,mpc8360-pci", "fsl,mpc8349-pci";
  399. reg = <0xe0008500 0x100 /* internal registers */
  400. 0xe0008300 0x8>; /* config space access registers */
  401. ranges = <0x02000000 0 0x90000000 0x90000000 0 0x10000000
  402. 0x42000000 0 0x80000000 0x80000000 0 0x10000000
  403. 0x01000000 0 0xe0300000 0xe0300000 0 0x00100000>;
  404. interrupts = <66 8>;
  405. interrupt-parent = <&ipic>;
  406. interrupt-map-mask = <0xf800 0 0 7>;
  407. interrupt-map = </* miniPCI0 IDSEL 0x14 AD20 */
  408. 0xa000 0 0 1 &ipic 18 8
  409. 0xa000 0 0 2 &ipic 19 8
  410. /* PCI1 IDSEL 0x15 AD21 */
  411. 0xa800 0 0 1 &ipic 19 8
  412. 0xa800 0 0 2 &ipic 20 8
  413. 0xa800 0 0 3 &ipic 21 8
  414. 0xa800 0 0 4 &ipic 18 8>;
  415. /* filled by u-boot */
  416. bus-range = <0 0>;
  417. clock-frequency = <0>;
  418. };
  419. };