mpc832x_rdb.dts 8.5 KB

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