mpc836x_rdk.dts 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472
  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 = "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 = "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. device_type = "ethernet-phy";
  305. compatible = "national,DP83848VV";
  306. reg = <1>;
  307. };
  308. phy2: ethernet-phy@2 {
  309. device_type = "ethernet-phy";
  310. compatible = "broadcom,BCM5481UA2KMLG";
  311. reg = <2>;
  312. };
  313. phy3: ethernet-phy@3 {
  314. device_type = "ethernet-phy";
  315. compatible = "national,DP83848VV";
  316. reg = <3>;
  317. };
  318. phy4: ethernet-phy@4 {
  319. device_type = "ethernet-phy";
  320. compatible = "broadcom,BCM5481UA2KMLG";
  321. reg = <4>;
  322. };
  323. };
  324. serial2: ucc@2400 {
  325. device_type = "serial";
  326. compatible = "ucc_uart";
  327. reg = <0x2400 0x200>;
  328. cell-index = <5>;
  329. port-number = <0>;
  330. rx-clock-name = "brg7";
  331. tx-clock-name = "brg8";
  332. interrupts = <40>;
  333. interrupt-parent = <&qeic>;
  334. soft-uart;
  335. };
  336. serial3: ucc@3400 {
  337. device_type = "serial";
  338. compatible = "ucc_uart";
  339. reg = <0x3400 0x200>;
  340. cell-index = <6>;
  341. port-number = <1>;
  342. rx-clock-name = "brg13";
  343. tx-clock-name = "brg14";
  344. interrupts = <41>;
  345. interrupt-parent = <&qeic>;
  346. soft-uart;
  347. };
  348. qeic: interrupt-controller@80 {
  349. #address-cells = <0>;
  350. #interrupt-cells = <1>;
  351. compatible = "fsl,qe-ic";
  352. interrupt-controller;
  353. reg = <0x80 0x80>;
  354. big-endian;
  355. interrupts = <32 8 33 8>;
  356. interrupt-parent = <&ipic>;
  357. };
  358. };
  359. };
  360. localbus@e0005000 {
  361. #address-cells = <2>;
  362. #size-cells = <1>;
  363. compatible = "fsl,mpc8360-localbus", "fsl,pq2pro-localbus",
  364. "simple-bus";
  365. reg = <0xe0005000 0xd8>;
  366. ranges = <0 0 0xff800000 0x0800000
  367. 1 0 0x60000000 0x0001000
  368. 2 0 0x70000000 0x4000000>;
  369. flash@0,0 {
  370. compatible = "intel,PC28F640P30T85", "cfi-flash";
  371. reg = <0 0 0x800000>;
  372. bank-width = <2>;
  373. device-width = <1>;
  374. };
  375. upm@1,0 {
  376. compatible = "fsl,upm-nand";
  377. reg = <1 0 1>;
  378. fsl,upm-addr-offset = <16>;
  379. fsl,upm-cmd-offset = <8>;
  380. gpios = <&qe_pio_e 18 0>;
  381. flash {
  382. compatible = "stm,nand512-a";
  383. };
  384. };
  385. display@2,0 {
  386. device_type = "display";
  387. compatible = "fujitsu,MB86277", "fujitsu,mint";
  388. reg = <2 0 0x4000000>;
  389. fujitsu,sh3;
  390. little-endian;
  391. /* filled by u-boot */
  392. address = <0>;
  393. depth = <0>;
  394. width = <0>;
  395. height = <0>;
  396. linebytes = <0>;
  397. /* linux,opened; - added by uboot */
  398. };
  399. };
  400. pci0: pci@e0008500 {
  401. #address-cells = <3>;
  402. #size-cells = <2>;
  403. #interrupt-cells = <1>;
  404. device_type = "pci";
  405. compatible = "fsl,mpc8360-pci", "fsl,mpc8349-pci";
  406. reg = <0xe0008500 0x100 /* internal registers */
  407. 0xe0008300 0x8>; /* config space access registers */
  408. ranges = <0x02000000 0 0x90000000 0x90000000 0 0x10000000
  409. 0x42000000 0 0x80000000 0x80000000 0 0x10000000
  410. 0x01000000 0 0xe0300000 0xe0300000 0 0x00100000>;
  411. interrupts = <66 8>;
  412. interrupt-parent = <&ipic>;
  413. interrupt-map-mask = <0xf800 0 0 7>;
  414. interrupt-map = </* miniPCI0 IDSEL 0x14 AD20 */
  415. 0xa000 0 0 1 &ipic 18 8
  416. 0xa000 0 0 2 &ipic 19 8
  417. /* PCI1 IDSEL 0x15 AD21 */
  418. 0xa800 0 0 1 &ipic 19 8
  419. 0xa800 0 0 2 &ipic 20 8
  420. 0xa800 0 0 3 &ipic 21 8
  421. 0xa800 0 0 4 &ipic 18 8>;
  422. sleep = <&pmc 0x00010000>;
  423. /* filled by u-boot */
  424. bus-range = <0 0>;
  425. clock-frequency = <0>;
  426. };
  427. };