mpc836x_rdk.dts 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460
  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. muram@10000 {
  184. #address-cells = <1>;
  185. #size-cells = <1>;
  186. compatible = "fsl,qe-muram", "fsl,cpm-muram";
  187. ranges = <0 0x10000 0xc000>;
  188. data-only@0 {
  189. compatible = "fsl,qe-muram-data",
  190. "fsl,cpm-muram-data";
  191. reg = <0 0xc000>;
  192. };
  193. };
  194. timer@440 {
  195. compatible = "fsl,mpc8360-qe-gtm",
  196. "fsl,qe-gtm", "fsl,gtm";
  197. reg = <0x440 0x40>;
  198. interrupts = <12 13 14 15>;
  199. interrupt-parent = <&qeic>;
  200. clock-frequency = <166666666>;
  201. };
  202. usb@6c0 {
  203. compatible = "fsl,mpc8360-qe-usb",
  204. "fsl,mpc8323-qe-usb";
  205. reg = <0x6c0 0x40 0x8b00 0x100>;
  206. interrupts = <11>;
  207. interrupt-parent = <&qeic>;
  208. fsl,fullspeed-clock = "clk21";
  209. gpios = <&qe_pio_b 2 0 /* USBOE */
  210. &qe_pio_b 3 0 /* USBTP */
  211. &qe_pio_b 8 0 /* USBTN */
  212. &qe_pio_b 9 0 /* USBRP */
  213. &qe_pio_b 11 0 /* USBRN */
  214. &qe_pio_e 20 0 /* SPEED */
  215. &qe_pio_e 21 1 /* POWER */>;
  216. };
  217. spi@4c0 {
  218. cell-index = <0>;
  219. compatible = "fsl,spi";
  220. reg = <0x4c0 0x40>;
  221. interrupts = <2>;
  222. interrupt-parent = <&qeic>;
  223. mode = "cpu-qe";
  224. };
  225. spi@500 {
  226. cell-index = <1>;
  227. compatible = "fsl,spi";
  228. reg = <0x500 0x40>;
  229. interrupts = <1>;
  230. interrupt-parent = <&qeic>;
  231. mode = "cpu-qe";
  232. };
  233. enet0: ucc@2000 {
  234. device_type = "network";
  235. compatible = "ucc_geth";
  236. cell-index = <1>;
  237. reg = <0x2000 0x200>;
  238. interrupts = <32>;
  239. interrupt-parent = <&qeic>;
  240. rx-clock-name = "none";
  241. tx-clock-name = "clk9";
  242. phy-handle = <&phy2>;
  243. phy-connection-type = "rgmii-rxid";
  244. /* filled by u-boot */
  245. local-mac-address = [ 00 00 00 00 00 00 ];
  246. };
  247. enet1: ucc@3000 {
  248. device_type = "network";
  249. compatible = "ucc_geth";
  250. cell-index = <2>;
  251. reg = <0x3000 0x200>;
  252. interrupts = <33>;
  253. interrupt-parent = <&qeic>;
  254. rx-clock-name = "none";
  255. tx-clock-name = "clk4";
  256. phy-handle = <&phy4>;
  257. phy-connection-type = "rgmii-rxid";
  258. /* filled by u-boot */
  259. local-mac-address = [ 00 00 00 00 00 00 ];
  260. };
  261. enet2: ucc@2600 {
  262. device_type = "network";
  263. compatible = "ucc_geth";
  264. cell-index = <7>;
  265. reg = <0x2600 0x200>;
  266. interrupts = <42>;
  267. interrupt-parent = <&qeic>;
  268. rx-clock-name = "clk20";
  269. tx-clock-name = "clk19";
  270. phy-handle = <&phy1>;
  271. phy-connection-type = "mii";
  272. /* filled by u-boot */
  273. local-mac-address = [ 00 00 00 00 00 00 ];
  274. };
  275. enet3: ucc@3200 {
  276. device_type = "network";
  277. compatible = "ucc_geth";
  278. cell-index = <4>;
  279. reg = <0x3200 0x200>;
  280. interrupts = <35>;
  281. interrupt-parent = <&qeic>;
  282. rx-clock-name = "clk8";
  283. tx-clock-name = "clk7";
  284. phy-handle = <&phy3>;
  285. phy-connection-type = "mii";
  286. /* filled by u-boot */
  287. local-mac-address = [ 00 00 00 00 00 00 ];
  288. };
  289. mdio@2120 {
  290. #address-cells = <1>;
  291. #size-cells = <0>;
  292. compatible = "fsl,ucc-mdio";
  293. reg = <0x2120 0x18>;
  294. phy1: ethernet-phy@1 {
  295. device_type = "ethernet-phy";
  296. compatible = "national,DP83848VV";
  297. reg = <1>;
  298. };
  299. phy2: ethernet-phy@2 {
  300. device_type = "ethernet-phy";
  301. compatible = "broadcom,BCM5481UA2KMLG";
  302. reg = <2>;
  303. };
  304. phy3: ethernet-phy@3 {
  305. device_type = "ethernet-phy";
  306. compatible = "national,DP83848VV";
  307. reg = <3>;
  308. };
  309. phy4: ethernet-phy@4 {
  310. device_type = "ethernet-phy";
  311. compatible = "broadcom,BCM5481UA2KMLG";
  312. reg = <4>;
  313. };
  314. };
  315. serial2: ucc@2400 {
  316. device_type = "serial";
  317. compatible = "ucc_uart";
  318. reg = <0x2400 0x200>;
  319. cell-index = <5>;
  320. port-number = <0>;
  321. rx-clock-name = "brg7";
  322. tx-clock-name = "brg8";
  323. interrupts = <40>;
  324. interrupt-parent = <&qeic>;
  325. soft-uart;
  326. };
  327. serial3: ucc@3400 {
  328. device_type = "serial";
  329. compatible = "ucc_uart";
  330. reg = <0x3400 0x200>;
  331. cell-index = <6>;
  332. port-number = <1>;
  333. rx-clock-name = "brg13";
  334. tx-clock-name = "brg14";
  335. interrupts = <41>;
  336. interrupt-parent = <&qeic>;
  337. soft-uart;
  338. };
  339. qeic: interrupt-controller@80 {
  340. #address-cells = <0>;
  341. #interrupt-cells = <1>;
  342. compatible = "fsl,qe-ic";
  343. interrupt-controller;
  344. reg = <0x80 0x80>;
  345. big-endian;
  346. interrupts = <32 8 33 8>;
  347. interrupt-parent = <&ipic>;
  348. };
  349. };
  350. };
  351. localbus@e0005000 {
  352. #address-cells = <2>;
  353. #size-cells = <1>;
  354. compatible = "fsl,mpc8360-localbus", "fsl,pq2pro-localbus",
  355. "simple-bus";
  356. reg = <0xe0005000 0xd8>;
  357. ranges = <0 0 0xff800000 0x0800000
  358. 1 0 0x60000000 0x0001000
  359. 2 0 0x70000000 0x4000000>;
  360. flash@0,0 {
  361. compatible = "intel,PC28F640P30T85", "cfi-flash";
  362. reg = <0 0 0x800000>;
  363. bank-width = <2>;
  364. device-width = <1>;
  365. };
  366. upm@1,0 {
  367. compatible = "fsl,upm-nand";
  368. reg = <1 0 1>;
  369. fsl,upm-addr-offset = <16>;
  370. fsl,upm-cmd-offset = <8>;
  371. gpios = <&qe_pio_e 18 0>;
  372. flash {
  373. compatible = "stm,nand512-a";
  374. };
  375. };
  376. display@2,0 {
  377. device_type = "display";
  378. compatible = "fujitsu,MB86277", "fujitsu,mint";
  379. reg = <2 0 0x4000000>;
  380. fujitsu,sh3;
  381. little-endian;
  382. /* filled by u-boot */
  383. address = <0>;
  384. depth = <0>;
  385. width = <0>;
  386. height = <0>;
  387. linebytes = <0>;
  388. /* linux,opened; - added by uboot */
  389. };
  390. };
  391. pci0: pci@e0008500 {
  392. #address-cells = <3>;
  393. #size-cells = <2>;
  394. #interrupt-cells = <1>;
  395. device_type = "pci";
  396. compatible = "fsl,mpc8360-pci", "fsl,mpc8349-pci";
  397. reg = <0xe0008500 0x100 /* internal registers */
  398. 0xe0008300 0x8>; /* config space access registers */
  399. ranges = <0x02000000 0 0x90000000 0x90000000 0 0x10000000
  400. 0x42000000 0 0x80000000 0x80000000 0 0x10000000
  401. 0x01000000 0 0xe0300000 0xe0300000 0 0x00100000>;
  402. interrupts = <66 8>;
  403. interrupt-parent = <&ipic>;
  404. interrupt-map-mask = <0xf800 0 0 7>;
  405. interrupt-map = </* miniPCI0 IDSEL 0x14 AD20 */
  406. 0xa000 0 0 1 &ipic 18 8
  407. 0xa000 0 0 2 &ipic 19 8
  408. /* PCI1 IDSEL 0x15 AD21 */
  409. 0xa800 0 0 1 &ipic 19 8
  410. 0xa800 0 0 2 &ipic 20 8
  411. 0xa800 0 0 3 &ipic 21 8
  412. 0xa800 0 0 4 &ipic 18 8>;
  413. /* filled by u-boot */
  414. bus-range = <0 0>;
  415. clock-frequency = <0>;
  416. };
  417. };