mpc832x_rdb.dts 8.6 KB

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