mpc832x_rdb.dts 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372
  1. /*
  2. * MPC832x RDB Device Tree Source
  3. *
  4. * Copyright 2007 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. /dts-v1/;
  12. / {
  13. model = "MPC8323ERDB";
  14. compatible = "MPC8323ERDB", "MPC832xRDB", "MPC83xxRDB";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. aliases {
  18. ethernet0 = &enet1;
  19. ethernet1 = &enet0;
  20. serial0 = &serial0;
  21. serial1 = &serial1;
  22. pci0 = &pci0;
  23. };
  24. cpus {
  25. #address-cells = <1>;
  26. #size-cells = <0>;
  27. PowerPC,8323@0 {
  28. device_type = "cpu";
  29. reg = <0x0>;
  30. d-cache-line-size = <0x20>; // 32 bytes
  31. i-cache-line-size = <0x20>; // 32 bytes
  32. d-cache-size = <16384>; // L1, 16K
  33. i-cache-size = <16384>; // L1, 16K
  34. timebase-frequency = <0>;
  35. bus-frequency = <0>;
  36. clock-frequency = <0>;
  37. };
  38. };
  39. memory {
  40. device_type = "memory";
  41. reg = <0x00000000 0x04000000>;
  42. };
  43. soc8323@e0000000 {
  44. #address-cells = <1>;
  45. #size-cells = <1>;
  46. device_type = "soc";
  47. compatible = "simple-bus";
  48. ranges = <0x0 0xe0000000 0x00100000>;
  49. reg = <0xe0000000 0x00000200>;
  50. bus-frequency = <0>;
  51. wdt@200 {
  52. device_type = "watchdog";
  53. compatible = "mpc83xx_wdt";
  54. reg = <0x200 0x100>;
  55. };
  56. pmc: power@b00 {
  57. compatible = "fsl,mpc8323-pmc", "fsl,mpc8349-pmc";
  58. reg = <0xb00 0x100 0xa00 0x100>;
  59. interrupts = <80 0x8>;
  60. interrupt-parent = <&ipic>;
  61. };
  62. i2c@3000 {
  63. #address-cells = <1>;
  64. #size-cells = <0>;
  65. cell-index = <0>;
  66. compatible = "fsl-i2c";
  67. reg = <0x3000 0x100>;
  68. interrupts = <14 0x8>;
  69. interrupt-parent = <&ipic>;
  70. dfsrr;
  71. };
  72. serial0: serial@4500 {
  73. cell-index = <0>;
  74. device_type = "serial";
  75. compatible = "fsl,ns16550", "ns16550";
  76. reg = <0x4500 0x100>;
  77. clock-frequency = <0>;
  78. interrupts = <9 0x8>;
  79. interrupt-parent = <&ipic>;
  80. };
  81. serial1: serial@4600 {
  82. cell-index = <1>;
  83. device_type = "serial";
  84. compatible = "fsl,ns16550", "ns16550";
  85. reg = <0x4600 0x100>;
  86. clock-frequency = <0>;
  87. interrupts = <10 0x8>;
  88. interrupt-parent = <&ipic>;
  89. };
  90. dma@82a8 {
  91. #address-cells = <1>;
  92. #size-cells = <1>;
  93. compatible = "fsl,mpc8323-dma", "fsl,elo-dma";
  94. reg = <0x82a8 4>;
  95. ranges = <0 0x8100 0x1a8>;
  96. interrupt-parent = <&ipic>;
  97. interrupts = <71 8>;
  98. cell-index = <0>;
  99. dma-channel@0 {
  100. compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
  101. reg = <0 0x80>;
  102. cell-index = <0>;
  103. interrupt-parent = <&ipic>;
  104. interrupts = <71 8>;
  105. };
  106. dma-channel@80 {
  107. compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
  108. reg = <0x80 0x80>;
  109. cell-index = <1>;
  110. interrupt-parent = <&ipic>;
  111. interrupts = <71 8>;
  112. };
  113. dma-channel@100 {
  114. compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
  115. reg = <0x100 0x80>;
  116. cell-index = <2>;
  117. interrupt-parent = <&ipic>;
  118. interrupts = <71 8>;
  119. };
  120. dma-channel@180 {
  121. compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
  122. reg = <0x180 0x28>;
  123. cell-index = <3>;
  124. interrupt-parent = <&ipic>;
  125. interrupts = <71 8>;
  126. };
  127. };
  128. crypto@30000 {
  129. compatible = "fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0";
  130. reg = <0x30000 0x10000>;
  131. interrupts = <11 0x8>;
  132. interrupt-parent = <&ipic>;
  133. fsl,num-channels = <1>;
  134. fsl,channel-fifo-len = <24>;
  135. fsl,exec-units-mask = <0x4c>;
  136. fsl,descriptor-types-mask = <0x0122003f>;
  137. sleep = <&pmc 0x03000000>;
  138. };
  139. ipic:pic@700 {
  140. interrupt-controller;
  141. #address-cells = <0>;
  142. #interrupt-cells = <2>;
  143. reg = <0x700 0x100>;
  144. device_type = "ipic";
  145. };
  146. par_io@1400 {
  147. #address-cells = <1>;
  148. #size-cells = <1>;
  149. reg = <0x1400 0x100>;
  150. ranges = <3 0x1448 0x18>;
  151. compatible = "fsl,mpc8323-qe-pario";
  152. device_type = "par_io";
  153. num-ports = <7>;
  154. qe_pio_d: gpio-controller@1448 {
  155. #gpio-cells = <2>;
  156. compatible = "fsl,mpc8323-qe-pario-bank";
  157. reg = <3 0x18>;
  158. gpio-controller;
  159. };
  160. ucc2pio:ucc_pin@02 {
  161. pio-map = <
  162. /* port pin dir open_drain assignment has_irq */
  163. 3 4 3 0 2 0 /* MDIO */
  164. 3 5 1 0 2 0 /* MDC */
  165. 3 21 2 0 1 0 /* RX_CLK (CLK16) */
  166. 3 23 2 0 1 0 /* TX_CLK (CLK3) */
  167. 0 18 1 0 1 0 /* TxD0 */
  168. 0 19 1 0 1 0 /* TxD1 */
  169. 0 20 1 0 1 0 /* TxD2 */
  170. 0 21 1 0 1 0 /* TxD3 */
  171. 0 22 2 0 1 0 /* RxD0 */
  172. 0 23 2 0 1 0 /* RxD1 */
  173. 0 24 2 0 1 0 /* RxD2 */
  174. 0 25 2 0 1 0 /* RxD3 */
  175. 0 26 2 0 1 0 /* RX_ER */
  176. 0 27 1 0 1 0 /* TX_ER */
  177. 0 28 2 0 1 0 /* RX_DV */
  178. 0 29 2 0 1 0 /* COL */
  179. 0 30 1 0 1 0 /* TX_EN */
  180. 0 31 2 0 1 0>; /* CRS */
  181. };
  182. ucc3pio:ucc_pin@03 {
  183. pio-map = <
  184. /* port pin dir open_drain assignment has_irq */
  185. 0 13 2 0 1 0 /* RX_CLK (CLK9) */
  186. 3 24 2 0 1 0 /* TX_CLK (CLK10) */
  187. 1 0 1 0 1 0 /* TxD0 */
  188. 1 1 1 0 1 0 /* TxD1 */
  189. 1 2 1 0 1 0 /* TxD2 */
  190. 1 3 1 0 1 0 /* TxD3 */
  191. 1 4 2 0 1 0 /* RxD0 */
  192. 1 5 2 0 1 0 /* RxD1 */
  193. 1 6 2 0 1 0 /* RxD2 */
  194. 1 7 2 0 1 0 /* RxD3 */
  195. 1 8 2 0 1 0 /* RX_ER */
  196. 1 9 1 0 1 0 /* TX_ER */
  197. 1 10 2 0 1 0 /* RX_DV */
  198. 1 11 2 0 1 0 /* COL */
  199. 1 12 1 0 1 0 /* TX_EN */
  200. 1 13 2 0 1 0>; /* CRS */
  201. };
  202. };
  203. };
  204. qe@e0100000 {
  205. #address-cells = <1>;
  206. #size-cells = <1>;
  207. device_type = "qe";
  208. compatible = "fsl,qe";
  209. ranges = <0x0 0xe0100000 0x00100000>;
  210. reg = <0xe0100000 0x480>;
  211. brg-frequency = <0>;
  212. bus-frequency = <198000000>;
  213. fsl,qe-num-riscs = <1>;
  214. fsl,qe-num-snums = <28>;
  215. muram@10000 {
  216. #address-cells = <1>;
  217. #size-cells = <1>;
  218. compatible = "fsl,qe-muram", "fsl,cpm-muram";
  219. ranges = <0x0 0x00010000 0x00004000>;
  220. data-only@0 {
  221. compatible = "fsl,qe-muram-data",
  222. "fsl,cpm-muram-data";
  223. reg = <0x0 0x4000>;
  224. };
  225. };
  226. spi@4c0 {
  227. #address-cells = <1>;
  228. #size-cells = <0>;
  229. cell-index = <0>;
  230. compatible = "fsl,spi";
  231. reg = <0x4c0 0x40>;
  232. interrupts = <2>;
  233. interrupt-parent = <&qeic>;
  234. gpios = <&qe_pio_d 13 0>;
  235. mode = "cpu-qe";
  236. mmc-slot@0 {
  237. compatible = "fsl,mpc8323rdb-mmc-slot",
  238. "mmc-spi-slot";
  239. reg = <0>;
  240. gpios = <&qe_pio_d 14 1
  241. &qe_pio_d 15 0>;
  242. voltage-ranges = <3300 3300>;
  243. spi-max-frequency = <50000000>;
  244. };
  245. };
  246. spi@500 {
  247. cell-index = <1>;
  248. compatible = "fsl,spi";
  249. reg = <0x500 0x40>;
  250. interrupts = <1>;
  251. interrupt-parent = <&qeic>;
  252. mode = "cpu";
  253. };
  254. enet0: ucc@3000 {
  255. device_type = "network";
  256. compatible = "ucc_geth";
  257. cell-index = <2>;
  258. reg = <0x3000 0x200>;
  259. interrupts = <33>;
  260. interrupt-parent = <&qeic>;
  261. local-mac-address = [ 00 00 00 00 00 00 ];
  262. rx-clock-name = "clk16";
  263. tx-clock-name = "clk3";
  264. phy-handle = <&phy00>;
  265. pio-handle = <&ucc2pio>;
  266. };
  267. enet1: ucc@2200 {
  268. device_type = "network";
  269. compatible = "ucc_geth";
  270. cell-index = <3>;
  271. reg = <0x2200 0x200>;
  272. interrupts = <34>;
  273. interrupt-parent = <&qeic>;
  274. local-mac-address = [ 00 00 00 00 00 00 ];
  275. rx-clock-name = "clk9";
  276. tx-clock-name = "clk10";
  277. phy-handle = <&phy04>;
  278. pio-handle = <&ucc3pio>;
  279. };
  280. mdio@3120 {
  281. #address-cells = <1>;
  282. #size-cells = <0>;
  283. reg = <0x3120 0x18>;
  284. compatible = "fsl,ucc-mdio";
  285. phy00:ethernet-phy@00 {
  286. interrupt-parent = <&ipic>;
  287. interrupts = <0>;
  288. reg = <0x0>;
  289. };
  290. phy04:ethernet-phy@04 {
  291. interrupt-parent = <&ipic>;
  292. interrupts = <0>;
  293. reg = <0x4>;
  294. };
  295. };
  296. qeic:interrupt-controller@80 {
  297. interrupt-controller;
  298. compatible = "fsl,qe-ic";
  299. #address-cells = <0>;
  300. #interrupt-cells = <1>;
  301. reg = <0x80 0x80>;
  302. big-endian;
  303. interrupts = <32 0x8 33 0x8>; //high:32 low:33
  304. interrupt-parent = <&ipic>;
  305. };
  306. };
  307. pci0: pci@e0008500 {
  308. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  309. interrupt-map = <
  310. /* IDSEL 0x10 AD16 (USB) */
  311. 0x8000 0x0 0x0 0x1 &ipic 17 0x8
  312. /* IDSEL 0x11 AD17 (Mini1)*/
  313. 0x8800 0x0 0x0 0x1 &ipic 18 0x8
  314. 0x8800 0x0 0x0 0x2 &ipic 19 0x8
  315. 0x8800 0x0 0x0 0x3 &ipic 20 0x8
  316. 0x8800 0x0 0x0 0x4 &ipic 48 0x8
  317. /* IDSEL 0x12 AD18 (PCI/Mini2) */
  318. 0x9000 0x0 0x0 0x1 &ipic 19 0x8
  319. 0x9000 0x0 0x0 0x2 &ipic 20 0x8
  320. 0x9000 0x0 0x0 0x3 &ipic 48 0x8
  321. 0x9000 0x0 0x0 0x4 &ipic 17 0x8>;
  322. interrupt-parent = <&ipic>;
  323. interrupts = <66 0x8>;
  324. bus-range = <0x0 0x0>;
  325. ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
  326. 0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
  327. 0x01000000 0x0 0xd0000000 0xd0000000 0x0 0x04000000>;
  328. clock-frequency = <0>;
  329. #interrupt-cells = <1>;
  330. #size-cells = <2>;
  331. #address-cells = <3>;
  332. reg = <0xe0008500 0x100 /* internal registers */
  333. 0xe0008300 0x8>; /* config space access registers */
  334. compatible = "fsl,mpc8349-pci";
  335. device_type = "pci";
  336. sleep = <&pmc 0x00010000>;
  337. };
  338. };