mpc836x_rdk.dts 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * MPC8360E RDK Device Tree Source
  4. *
  5. * Copyright 2006 Freescale Semiconductor Inc.
  6. * Copyright 2007-2008 MontaVista Software, Inc.
  7. *
  8. * Author: Anton Vorontsov <[email protected]>
  9. */
  10. /dts-v1/;
  11. / {
  12. #address-cells = <1>;
  13. #size-cells = <1>;
  14. compatible = "fsl,mpc8360rdk";
  15. aliases {
  16. serial0 = &serial0;
  17. serial1 = &serial1;
  18. serial2 = &serial2;
  19. serial3 = &serial3;
  20. ethernet0 = &enet0;
  21. ethernet1 = &enet1;
  22. ethernet2 = &enet2;
  23. ethernet3 = &enet3;
  24. pci0 = &pci0;
  25. };
  26. cpus {
  27. #address-cells = <1>;
  28. #size-cells = <0>;
  29. PowerPC,8360@0 {
  30. device_type = "cpu";
  31. reg = <0>;
  32. d-cache-line-size = <32>;
  33. i-cache-line-size = <32>;
  34. d-cache-size = <32768>;
  35. i-cache-size = <32768>;
  36. /* filled by u-boot */
  37. timebase-frequency = <0>;
  38. bus-frequency = <0>;
  39. clock-frequency = <0>;
  40. };
  41. };
  42. memory {
  43. device_type = "memory";
  44. /* filled by u-boot */
  45. reg = <0 0>;
  46. };
  47. soc@e0000000 {
  48. #address-cells = <1>;
  49. #size-cells = <1>;
  50. device_type = "soc";
  51. compatible = "fsl,mpc8360-immr", "fsl,immr", "fsl,soc",
  52. "simple-bus";
  53. ranges = <0 0xe0000000 0x200000>;
  54. reg = <0xe0000000 0x200>;
  55. /* filled by u-boot */
  56. bus-frequency = <0>;
  57. wdt@200 {
  58. compatible = "mpc83xx_wdt";
  59. reg = <0x200 0x100>;
  60. };
  61. pmc: power@b00 {
  62. compatible = "fsl,mpc8360-pmc", "fsl,mpc8349-pmc";
  63. reg = <0xb00 0x100 0xa00 0x100>;
  64. interrupts = <80 0x8>;
  65. interrupt-parent = <&ipic>;
  66. };
  67. i2c@3000 {
  68. #address-cells = <1>;
  69. #size-cells = <0>;
  70. cell-index = <0>;
  71. compatible = "fsl-i2c";
  72. reg = <0x3000 0x100>;
  73. interrupts = <14 8>;
  74. interrupt-parent = <&ipic>;
  75. dfsrr;
  76. };
  77. i2c@3100 {
  78. #address-cells = <1>;
  79. #size-cells = <0>;
  80. cell-index = <1>;
  81. compatible = "fsl-i2c";
  82. reg = <0x3100 0x100>;
  83. interrupts = <16 8>;
  84. interrupt-parent = <&ipic>;
  85. dfsrr;
  86. };
  87. serial0: serial@4500 {
  88. device_type = "serial";
  89. compatible = "fsl,ns16550", "ns16550";
  90. reg = <0x4500 0x100>;
  91. interrupts = <9 8>;
  92. interrupt-parent = <&ipic>;
  93. /* filled by u-boot */
  94. clock-frequency = <0>;
  95. };
  96. serial1: serial@4600 {
  97. device_type = "serial";
  98. compatible = "fsl,ns16550", "ns16550";
  99. reg = <0x4600 0x100>;
  100. interrupts = <10 8>;
  101. interrupt-parent = <&ipic>;
  102. /* filled by u-boot */
  103. clock-frequency = <0>;
  104. };
  105. dma@82a8 {
  106. #address-cells = <1>;
  107. #size-cells = <1>;
  108. compatible = "fsl,mpc8360-dma", "fsl,elo-dma";
  109. reg = <0x82a8 4>;
  110. ranges = <0 0x8100 0x1a8>;
  111. interrupt-parent = <&ipic>;
  112. interrupts = <71 8>;
  113. cell-index = <0>;
  114. dma-channel@0 {
  115. compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
  116. reg = <0 0x80>;
  117. cell-index = <0>;
  118. interrupt-parent = <&ipic>;
  119. interrupts = <71 8>;
  120. };
  121. dma-channel@80 {
  122. compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
  123. reg = <0x80 0x80>;
  124. cell-index = <1>;
  125. interrupt-parent = <&ipic>;
  126. interrupts = <71 8>;
  127. };
  128. dma-channel@100 {
  129. compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
  130. reg = <0x100 0x80>;
  131. cell-index = <2>;
  132. interrupt-parent = <&ipic>;
  133. interrupts = <71 8>;
  134. };
  135. dma-channel@180 {
  136. compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
  137. reg = <0x180 0x28>;
  138. cell-index = <3>;
  139. interrupt-parent = <&ipic>;
  140. interrupts = <71 8>;
  141. };
  142. };
  143. crypto@30000 {
  144. compatible = "fsl,sec2.0";
  145. reg = <0x30000 0x10000>;
  146. interrupts = <11 0x8>;
  147. interrupt-parent = <&ipic>;
  148. fsl,num-channels = <4>;
  149. fsl,channel-fifo-len = <24>;
  150. fsl,exec-units-mask = <0x7e>;
  151. fsl,descriptor-types-mask = <0x01010ebf>;
  152. sleep = <&pmc 0x03000000>;
  153. };
  154. ipic: interrupt-controller@700 {
  155. #address-cells = <0>;
  156. #interrupt-cells = <2>;
  157. compatible = "fsl,pq2pro-pic", "fsl,ipic";
  158. interrupt-controller;
  159. reg = <0x700 0x100>;
  160. };
  161. qe_pio_b: gpio-controller@1418 {
  162. #gpio-cells = <2>;
  163. compatible = "fsl,mpc8360-qe-pario-bank",
  164. "fsl,mpc8323-qe-pario-bank";
  165. reg = <0x1418 0x18>;
  166. gpio-controller;
  167. };
  168. qe_pio_e: gpio-controller@1460 {
  169. #gpio-cells = <2>;
  170. compatible = "fsl,mpc8360-qe-pario-bank",
  171. "fsl,mpc8323-qe-pario-bank";
  172. reg = <0x1460 0x18>;
  173. gpio-controller;
  174. };
  175. qe@100000 {
  176. #address-cells = <1>;
  177. #size-cells = <1>;
  178. device_type = "qe";
  179. compatible = "fsl,qe", "simple-bus";
  180. ranges = <0 0x100000 0x100000>;
  181. reg = <0x100000 0x480>;
  182. /* filled by u-boot */
  183. clock-frequency = <0>;
  184. bus-frequency = <0>;
  185. brg-frequency = <0>;
  186. fsl,qe-num-riscs = <2>;
  187. fsl,qe-num-snums = <28>;
  188. muram@10000 {
  189. #address-cells = <1>;
  190. #size-cells = <1>;
  191. compatible = "fsl,qe-muram", "fsl,cpm-muram";
  192. ranges = <0 0x10000 0xc000>;
  193. data-only@0 {
  194. compatible = "fsl,qe-muram-data",
  195. "fsl,cpm-muram-data";
  196. reg = <0 0xc000>;
  197. };
  198. };
  199. timer@440 {
  200. compatible = "fsl,mpc8360-qe-gtm",
  201. "fsl,qe-gtm", "fsl,gtm";
  202. reg = <0x440 0x40>;
  203. interrupts = <12 13 14 15>;
  204. interrupt-parent = <&qeic>;
  205. clock-frequency = <166666666>;
  206. };
  207. usb@6c0 {
  208. compatible = "fsl,mpc8360-qe-usb",
  209. "fsl,mpc8323-qe-usb";
  210. reg = <0x6c0 0x40 0x8b00 0x100>;
  211. interrupts = <11>;
  212. interrupt-parent = <&qeic>;
  213. fsl,fullspeed-clock = "clk21";
  214. gpios = <&qe_pio_b 2 0 /* USBOE */
  215. &qe_pio_b 3 0 /* USBTP */
  216. &qe_pio_b 8 0 /* USBTN */
  217. &qe_pio_b 9 0 /* USBRP */
  218. &qe_pio_b 11 0 /* USBRN */
  219. &qe_pio_e 20 0 /* SPEED */
  220. &qe_pio_e 21 1 /* POWER */>;
  221. };
  222. spi@4c0 {
  223. cell-index = <0>;
  224. compatible = "fsl,spi";
  225. reg = <0x4c0 0x40>;
  226. interrupts = <2>;
  227. interrupt-parent = <&qeic>;
  228. mode = "cpu-qe";
  229. };
  230. spi@500 {
  231. cell-index = <1>;
  232. compatible = "fsl,spi";
  233. reg = <0x500 0x40>;
  234. interrupts = <1>;
  235. interrupt-parent = <&qeic>;
  236. mode = "cpu-qe";
  237. };
  238. enet0: ucc@2000 {
  239. device_type = "network";
  240. compatible = "ucc_geth";
  241. cell-index = <1>;
  242. reg = <0x2000 0x200>;
  243. interrupts = <32>;
  244. interrupt-parent = <&qeic>;
  245. rx-clock-name = "none";
  246. tx-clock-name = "clk9";
  247. phy-handle = <&phy2>;
  248. phy-connection-type = "rgmii-rxid";
  249. /* filled by u-boot */
  250. local-mac-address = [ 00 00 00 00 00 00 ];
  251. };
  252. enet1: ucc@3000 {
  253. device_type = "network";
  254. compatible = "ucc_geth";
  255. cell-index = <2>;
  256. reg = <0x3000 0x200>;
  257. interrupts = <33>;
  258. interrupt-parent = <&qeic>;
  259. rx-clock-name = "none";
  260. tx-clock-name = "clk4";
  261. phy-handle = <&phy4>;
  262. phy-connection-type = "rgmii-rxid";
  263. /* filled by u-boot */
  264. local-mac-address = [ 00 00 00 00 00 00 ];
  265. };
  266. enet2: ucc@2600 {
  267. device_type = "network";
  268. compatible = "ucc_geth";
  269. cell-index = <7>;
  270. reg = <0x2600 0x200>;
  271. interrupts = <42>;
  272. interrupt-parent = <&qeic>;
  273. rx-clock-name = "clk20";
  274. tx-clock-name = "clk19";
  275. phy-handle = <&phy1>;
  276. phy-connection-type = "mii";
  277. /* filled by u-boot */
  278. local-mac-address = [ 00 00 00 00 00 00 ];
  279. };
  280. enet3: ucc@3200 {
  281. device_type = "network";
  282. compatible = "ucc_geth";
  283. cell-index = <4>;
  284. reg = <0x3200 0x200>;
  285. interrupts = <35>;
  286. interrupt-parent = <&qeic>;
  287. rx-clock-name = "clk8";
  288. tx-clock-name = "clk7";
  289. phy-handle = <&phy3>;
  290. phy-connection-type = "mii";
  291. /* filled by u-boot */
  292. local-mac-address = [ 00 00 00 00 00 00 ];
  293. };
  294. mdio@2120 {
  295. #address-cells = <1>;
  296. #size-cells = <0>;
  297. compatible = "fsl,ucc-mdio";
  298. reg = <0x2120 0x18>;
  299. phy1: ethernet-phy@1 {
  300. compatible = "national,DP83848VV";
  301. reg = <1>;
  302. };
  303. phy2: ethernet-phy@2 {
  304. compatible = "broadcom,BCM5481UA2KMLG";
  305. reg = <2>;
  306. };
  307. phy3: ethernet-phy@3 {
  308. compatible = "national,DP83848VV";
  309. reg = <3>;
  310. };
  311. phy4: ethernet-phy@4 {
  312. compatible = "broadcom,BCM5481UA2KMLG";
  313. reg = <4>;
  314. };
  315. };
  316. serial2: ucc@2400 {
  317. device_type = "serial";
  318. compatible = "ucc_uart";
  319. reg = <0x2400 0x200>;
  320. cell-index = <5>;
  321. port-number = <0>;
  322. rx-clock-name = "brg7";
  323. tx-clock-name = "brg8";
  324. interrupts = <40>;
  325. interrupt-parent = <&qeic>;
  326. soft-uart;
  327. };
  328. serial3: ucc@3400 {
  329. device_type = "serial";
  330. compatible = "ucc_uart";
  331. reg = <0x3400 0x200>;
  332. cell-index = <6>;
  333. port-number = <1>;
  334. rx-clock-name = "brg13";
  335. tx-clock-name = "brg14";
  336. interrupts = <41>;
  337. interrupt-parent = <&qeic>;
  338. soft-uart;
  339. };
  340. qeic: interrupt-controller@80 {
  341. #address-cells = <0>;
  342. #interrupt-cells = <1>;
  343. compatible = "fsl,qe-ic";
  344. interrupt-controller;
  345. reg = <0x80 0x80>;
  346. big-endian;
  347. interrupts = <32 8 33 8>;
  348. interrupt-parent = <&ipic>;
  349. };
  350. };
  351. };
  352. localbus@e0005000 {
  353. #address-cells = <2>;
  354. #size-cells = <1>;
  355. compatible = "fsl,mpc8360-localbus", "fsl,pq2pro-localbus",
  356. "simple-bus";
  357. reg = <0xe0005000 0xd8>;
  358. ranges = <0 0 0xff800000 0x0800000
  359. 1 0 0x60000000 0x0001000
  360. 2 0 0x70000000 0x4000000>;
  361. flash@0,0 {
  362. compatible = "intel,PC28F640P30T85", "cfi-flash";
  363. reg = <0 0 0x800000>;
  364. bank-width = <2>;
  365. device-width = <1>;
  366. };
  367. upm@1,0 {
  368. compatible = "fsl,upm-nand";
  369. reg = <1 0 1>;
  370. fsl,upm-addr-offset = <16>;
  371. fsl,upm-cmd-offset = <8>;
  372. gpios = <&qe_pio_e 18 0>;
  373. flash {
  374. compatible = "st,nand512-a";
  375. };
  376. };
  377. display@2,0 {
  378. device_type = "display";
  379. compatible = "fujitsu,MB86277", "fujitsu,mint";
  380. reg = <2 0 0x4000000>;
  381. fujitsu,sh3;
  382. little-endian;
  383. /* filled by u-boot */
  384. address = <0>;
  385. depth = <0>;
  386. width = <0>;
  387. height = <0>;
  388. linebytes = <0>;
  389. /* linux,opened; - added by uboot */
  390. };
  391. };
  392. pci0: pci@e0008500 {
  393. #address-cells = <3>;
  394. #size-cells = <2>;
  395. #interrupt-cells = <1>;
  396. device_type = "pci";
  397. compatible = "fsl,mpc8360-pci", "fsl,mpc8349-pci";
  398. reg = <0xe0008500 0x100 /* internal registers */
  399. 0xe0008300 0x8>; /* config space access registers */
  400. ranges = <0x02000000 0 0x90000000 0x90000000 0 0x10000000
  401. 0x42000000 0 0x80000000 0x80000000 0 0x10000000
  402. 0x01000000 0 0xe0300000 0xe0300000 0 0x00100000>;
  403. interrupts = <66 8>;
  404. interrupt-parent = <&ipic>;
  405. interrupt-map-mask = <0xf800 0 0 7>;
  406. interrupt-map = </* miniPCI0 IDSEL 0x14 AD20 */
  407. 0xa000 0 0 1 &ipic 18 8
  408. 0xa000 0 0 2 &ipic 19 8
  409. /* PCI1 IDSEL 0x15 AD21 */
  410. 0xa800 0 0 1 &ipic 19 8
  411. 0xa800 0 0 2 &ipic 20 8
  412. 0xa800 0 0 3 &ipic 21 8
  413. 0xa800 0 0 4 &ipic 18 8>;
  414. sleep = <&pmc 0x00010000>;
  415. /* filled by u-boot */
  416. bus-range = <0 0>;
  417. clock-frequency = <0>;
  418. };
  419. };