mpc836x_rdk.dts 11 KB

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