mpc834x_mds.dts 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * MPC8349E MDS Device Tree Source
  4. *
  5. * Copyright 2005, 2006 Freescale Semiconductor Inc.
  6. */
  7. /dts-v1/;
  8. / {
  9. model = "MPC8349EMDS";
  10. compatible = "MPC8349EMDS", "MPC834xMDS", "MPC83xxMDS";
  11. #address-cells = <1>;
  12. #size-cells = <1>;
  13. aliases {
  14. ethernet0 = &enet0;
  15. ethernet1 = &enet1;
  16. serial0 = &serial0;
  17. serial1 = &serial1;
  18. pci0 = &pci0;
  19. pci1 = &pci1;
  20. };
  21. cpus {
  22. #address-cells = <1>;
  23. #size-cells = <0>;
  24. PowerPC,8349@0 {
  25. device_type = "cpu";
  26. reg = <0x0>;
  27. d-cache-line-size = <32>;
  28. i-cache-line-size = <32>;
  29. d-cache-size = <32768>;
  30. i-cache-size = <32768>;
  31. timebase-frequency = <0>; // from bootloader
  32. bus-frequency = <0>; // from bootloader
  33. clock-frequency = <0>; // from bootloader
  34. };
  35. };
  36. memory {
  37. device_type = "memory";
  38. reg = <0x00000000 0x10000000>; // 256MB at 0
  39. };
  40. bcsr@e2400000 {
  41. compatible = "fsl,mpc8349mds-bcsr";
  42. reg = <0xe2400000 0x8000>;
  43. };
  44. soc8349@e0000000 {
  45. #address-cells = <1>;
  46. #size-cells = <1>;
  47. device_type = "soc";
  48. compatible = "simple-bus";
  49. ranges = <0x0 0xe0000000 0x00100000>;
  50. reg = <0xe0000000 0x00000200>;
  51. bus-frequency = <0>;
  52. wdt@200 {
  53. device_type = "watchdog";
  54. compatible = "mpc83xx_wdt";
  55. reg = <0x200 0x100>;
  56. };
  57. i2c@3000 {
  58. #address-cells = <1>;
  59. #size-cells = <0>;
  60. cell-index = <0>;
  61. compatible = "fsl-i2c";
  62. reg = <0x3000 0x100>;
  63. interrupts = <14 0x8>;
  64. interrupt-parent = <&ipic>;
  65. dfsrr;
  66. rtc@68 {
  67. compatible = "dallas,ds1374";
  68. reg = <0x68>;
  69. };
  70. };
  71. i2c@3100 {
  72. #address-cells = <1>;
  73. #size-cells = <0>;
  74. cell-index = <1>;
  75. compatible = "fsl-i2c";
  76. reg = <0x3100 0x100>;
  77. interrupts = <15 0x8>;
  78. interrupt-parent = <&ipic>;
  79. dfsrr;
  80. };
  81. spi@7000 {
  82. cell-index = <0>;
  83. compatible = "fsl,spi";
  84. reg = <0x7000 0x1000>;
  85. interrupts = <16 0x8>;
  86. interrupt-parent = <&ipic>;
  87. mode = "cpu";
  88. };
  89. dma@82a8 {
  90. #address-cells = <1>;
  91. #size-cells = <1>;
  92. compatible = "fsl,mpc8349-dma", "fsl,elo-dma";
  93. reg = <0x82a8 4>;
  94. ranges = <0 0x8100 0x1a8>;
  95. interrupt-parent = <&ipic>;
  96. interrupts = <71 8>;
  97. cell-index = <0>;
  98. dma-channel@0 {
  99. compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
  100. reg = <0 0x80>;
  101. cell-index = <0>;
  102. interrupt-parent = <&ipic>;
  103. interrupts = <71 8>;
  104. };
  105. dma-channel@80 {
  106. compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
  107. reg = <0x80 0x80>;
  108. cell-index = <1>;
  109. interrupt-parent = <&ipic>;
  110. interrupts = <71 8>;
  111. };
  112. dma-channel@100 {
  113. compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
  114. reg = <0x100 0x80>;
  115. cell-index = <2>;
  116. interrupt-parent = <&ipic>;
  117. interrupts = <71 8>;
  118. };
  119. dma-channel@180 {
  120. compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
  121. reg = <0x180 0x28>;
  122. cell-index = <3>;
  123. interrupt-parent = <&ipic>;
  124. interrupts = <71 8>;
  125. };
  126. };
  127. /* phy type (ULPI or SERIAL) are only types supported for MPH */
  128. /* port = 0 or 1 */
  129. usb@22000 {
  130. compatible = "fsl-usb2-mph";
  131. reg = <0x22000 0x1000>;
  132. #address-cells = <1>;
  133. #size-cells = <0>;
  134. interrupt-parent = <&ipic>;
  135. interrupts = <39 0x8>;
  136. phy_type = "ulpi";
  137. port0;
  138. };
  139. /* phy type (ULPI, UTMI, UTMI_WIDE, SERIAL) */
  140. usb@23000 {
  141. compatible = "fsl-usb2-dr";
  142. reg = <0x23000 0x1000>;
  143. #address-cells = <1>;
  144. #size-cells = <0>;
  145. interrupt-parent = <&ipic>;
  146. interrupts = <38 0x8>;
  147. dr_mode = "otg";
  148. phy_type = "ulpi";
  149. };
  150. enet0: ethernet@24000 {
  151. #address-cells = <1>;
  152. #size-cells = <1>;
  153. cell-index = <0>;
  154. device_type = "network";
  155. model = "TSEC";
  156. compatible = "gianfar";
  157. reg = <0x24000 0x1000>;
  158. ranges = <0x0 0x24000 0x1000>;
  159. local-mac-address = [ 00 00 00 00 00 00 ];
  160. interrupts = <32 0x8 33 0x8 34 0x8>;
  161. interrupt-parent = <&ipic>;
  162. tbi-handle = <&tbi0>;
  163. phy-handle = <&phy0>;
  164. linux,network-index = <0>;
  165. mdio@520 {
  166. #address-cells = <1>;
  167. #size-cells = <0>;
  168. compatible = "fsl,gianfar-mdio";
  169. reg = <0x520 0x20>;
  170. phy0: ethernet-phy@0 {
  171. interrupt-parent = <&ipic>;
  172. interrupts = <17 0x8>;
  173. reg = <0x0>;
  174. };
  175. phy1: ethernet-phy@1 {
  176. interrupt-parent = <&ipic>;
  177. interrupts = <18 0x8>;
  178. reg = <0x1>;
  179. };
  180. tbi0: tbi-phy@11 {
  181. reg = <0x11>;
  182. device_type = "tbi-phy";
  183. };
  184. };
  185. };
  186. enet1: ethernet@25000 {
  187. #address-cells = <1>;
  188. #size-cells = <1>;
  189. cell-index = <1>;
  190. device_type = "network";
  191. model = "TSEC";
  192. compatible = "gianfar";
  193. reg = <0x25000 0x1000>;
  194. ranges = <0x0 0x25000 0x1000>;
  195. local-mac-address = [ 00 00 00 00 00 00 ];
  196. interrupts = <35 0x8 36 0x8 37 0x8>;
  197. interrupt-parent = <&ipic>;
  198. tbi-handle = <&tbi1>;
  199. phy-handle = <&phy1>;
  200. linux,network-index = <1>;
  201. mdio@520 {
  202. #address-cells = <1>;
  203. #size-cells = <0>;
  204. compatible = "fsl,gianfar-tbi";
  205. reg = <0x520 0x20>;
  206. tbi1: tbi-phy@11 {
  207. reg = <0x11>;
  208. device_type = "tbi-phy";
  209. };
  210. };
  211. };
  212. serial0: serial@4500 {
  213. cell-index = <0>;
  214. device_type = "serial";
  215. compatible = "fsl,ns16550", "ns16550";
  216. reg = <0x4500 0x100>;
  217. clock-frequency = <0>;
  218. interrupts = <9 0x8>;
  219. interrupt-parent = <&ipic>;
  220. };
  221. serial1: serial@4600 {
  222. cell-index = <1>;
  223. device_type = "serial";
  224. compatible = "fsl,ns16550", "ns16550";
  225. reg = <0x4600 0x100>;
  226. clock-frequency = <0>;
  227. interrupts = <10 0x8>;
  228. interrupt-parent = <&ipic>;
  229. };
  230. crypto@30000 {
  231. compatible = "fsl,sec2.0";
  232. reg = <0x30000 0x10000>;
  233. interrupts = <11 0x8>;
  234. interrupt-parent = <&ipic>;
  235. fsl,num-channels = <4>;
  236. fsl,channel-fifo-len = <24>;
  237. fsl,exec-units-mask = <0x7e>;
  238. fsl,descriptor-types-mask = <0x01010ebf>;
  239. };
  240. /* IPIC
  241. * interrupts cell = <intr #, sense>
  242. * sense values match linux IORESOURCE_IRQ_* defines:
  243. * sense == 8: Level, low assertion
  244. * sense == 2: Edge, high-to-low change
  245. */
  246. ipic: pic@700 {
  247. interrupt-controller;
  248. #address-cells = <0>;
  249. #interrupt-cells = <2>;
  250. reg = <0x700 0x100>;
  251. device_type = "ipic";
  252. };
  253. };
  254. pci0: pci@e0008500 {
  255. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  256. interrupt-map = <
  257. /* IDSEL 0x11 */
  258. 0x8800 0x0 0x0 0x1 &ipic 20 0x8
  259. 0x8800 0x0 0x0 0x2 &ipic 21 0x8
  260. 0x8800 0x0 0x0 0x3 &ipic 22 0x8
  261. 0x8800 0x0 0x0 0x4 &ipic 23 0x8
  262. /* IDSEL 0x12 */
  263. 0x9000 0x0 0x0 0x1 &ipic 22 0x8
  264. 0x9000 0x0 0x0 0x2 &ipic 23 0x8
  265. 0x9000 0x0 0x0 0x3 &ipic 20 0x8
  266. 0x9000 0x0 0x0 0x4 &ipic 21 0x8
  267. /* IDSEL 0x13 */
  268. 0x9800 0x0 0x0 0x1 &ipic 23 0x8
  269. 0x9800 0x0 0x0 0x2 &ipic 20 0x8
  270. 0x9800 0x0 0x0 0x3 &ipic 21 0x8
  271. 0x9800 0x0 0x0 0x4 &ipic 22 0x8
  272. /* IDSEL 0x15 */
  273. 0xa800 0x0 0x0 0x1 &ipic 20 0x8
  274. 0xa800 0x0 0x0 0x2 &ipic 21 0x8
  275. 0xa800 0x0 0x0 0x3 &ipic 22 0x8
  276. 0xa800 0x0 0x0 0x4 &ipic 23 0x8
  277. /* IDSEL 0x16 */
  278. 0xb000 0x0 0x0 0x1 &ipic 23 0x8
  279. 0xb000 0x0 0x0 0x2 &ipic 20 0x8
  280. 0xb000 0x0 0x0 0x3 &ipic 21 0x8
  281. 0xb000 0x0 0x0 0x4 &ipic 22 0x8
  282. /* IDSEL 0x17 */
  283. 0xb800 0x0 0x0 0x1 &ipic 22 0x8
  284. 0xb800 0x0 0x0 0x2 &ipic 23 0x8
  285. 0xb800 0x0 0x0 0x3 &ipic 20 0x8
  286. 0xb800 0x0 0x0 0x4 &ipic 21 0x8
  287. /* IDSEL 0x18 */
  288. 0xc000 0x0 0x0 0x1 &ipic 21 0x8
  289. 0xc000 0x0 0x0 0x2 &ipic 22 0x8
  290. 0xc000 0x0 0x0 0x3 &ipic 23 0x8
  291. 0xc000 0x0 0x0 0x4 &ipic 20 0x8>;
  292. interrupt-parent = <&ipic>;
  293. interrupts = <66 0x8>;
  294. bus-range = <0 0>;
  295. ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
  296. 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
  297. 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>;
  298. clock-frequency = <66666666>;
  299. #interrupt-cells = <1>;
  300. #size-cells = <2>;
  301. #address-cells = <3>;
  302. reg = <0xe0008500 0x100 /* internal registers */
  303. 0xe0008300 0x8>; /* config space access registers */
  304. compatible = "fsl,mpc8349-pci";
  305. device_type = "pci";
  306. };
  307. pci1: pci@e0008600 {
  308. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  309. interrupt-map = <
  310. /* IDSEL 0x11 */
  311. 0x8800 0x0 0x0 0x1 &ipic 20 0x8
  312. 0x8800 0x0 0x0 0x2 &ipic 21 0x8
  313. 0x8800 0x0 0x0 0x3 &ipic 22 0x8
  314. 0x8800 0x0 0x0 0x4 &ipic 23 0x8
  315. /* IDSEL 0x12 */
  316. 0x9000 0x0 0x0 0x1 &ipic 22 0x8
  317. 0x9000 0x0 0x0 0x2 &ipic 23 0x8
  318. 0x9000 0x0 0x0 0x3 &ipic 20 0x8
  319. 0x9000 0x0 0x0 0x4 &ipic 21 0x8
  320. /* IDSEL 0x13 */
  321. 0x9800 0x0 0x0 0x1 &ipic 23 0x8
  322. 0x9800 0x0 0x0 0x2 &ipic 20 0x8
  323. 0x9800 0x0 0x0 0x3 &ipic 21 0x8
  324. 0x9800 0x0 0x0 0x4 &ipic 22 0x8
  325. /* IDSEL 0x15 */
  326. 0xa800 0x0 0x0 0x1 &ipic 20 0x8
  327. 0xa800 0x0 0x0 0x2 &ipic 21 0x8
  328. 0xa800 0x0 0x0 0x3 &ipic 22 0x8
  329. 0xa800 0x0 0x0 0x4 &ipic 23 0x8
  330. /* IDSEL 0x16 */
  331. 0xb000 0x0 0x0 0x1 &ipic 23 0x8
  332. 0xb000 0x0 0x0 0x2 &ipic 20 0x8
  333. 0xb000 0x0 0x0 0x3 &ipic 21 0x8
  334. 0xb000 0x0 0x0 0x4 &ipic 22 0x8
  335. /* IDSEL 0x17 */
  336. 0xb800 0x0 0x0 0x1 &ipic 22 0x8
  337. 0xb800 0x0 0x0 0x2 &ipic 23 0x8
  338. 0xb800 0x0 0x0 0x3 &ipic 20 0x8
  339. 0xb800 0x0 0x0 0x4 &ipic 21 0x8
  340. /* IDSEL 0x18 */
  341. 0xc000 0x0 0x0 0x1 &ipic 21 0x8
  342. 0xc000 0x0 0x0 0x2 &ipic 22 0x8
  343. 0xc000 0x0 0x0 0x3 &ipic 23 0x8
  344. 0xc000 0x0 0x0 0x4 &ipic 20 0x8>;
  345. interrupt-parent = <&ipic>;
  346. interrupts = <67 0x8>;
  347. bus-range = <0 0>;
  348. ranges = <0x02000000 0x0 0xb0000000 0xb0000000 0x0 0x10000000
  349. 0x42000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
  350. 0x01000000 0x0 0x00000000 0xe2100000 0x0 0x00100000>;
  351. clock-frequency = <66666666>;
  352. #interrupt-cells = <1>;
  353. #size-cells = <2>;
  354. #address-cells = <3>;
  355. reg = <0xe0008600 0x100 /* internal registers */
  356. 0xe0008380 0x8>; /* config space access registers */
  357. compatible = "fsl,mpc8349-pci";
  358. device_type = "pci";
  359. };
  360. };