mpc8377_mds.dts 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * MPC8377E MDS Device Tree Source
  4. *
  5. * Copyright 2007 Freescale Semiconductor Inc.
  6. */
  7. /dts-v1/;
  8. / {
  9. model = "fsl,mpc8377emds";
  10. compatible = "fsl,mpc8377emds","fsl,mpc837xmds";
  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. pci2 = &pci2;
  21. };
  22. cpus {
  23. #address-cells = <1>;
  24. #size-cells = <0>;
  25. PowerPC,8377@0 {
  26. device_type = "cpu";
  27. reg = <0x0>;
  28. d-cache-line-size = <32>;
  29. i-cache-line-size = <32>;
  30. d-cache-size = <32768>;
  31. i-cache-size = <32768>;
  32. timebase-frequency = <0>;
  33. bus-frequency = <0>;
  34. clock-frequency = <0>;
  35. };
  36. };
  37. memory {
  38. device_type = "memory";
  39. reg = <0x00000000 0x20000000>; // 512MB at 0
  40. };
  41. localbus@e0005000 {
  42. #address-cells = <2>;
  43. #size-cells = <1>;
  44. compatible = "fsl,mpc8377-elbc", "fsl,elbc", "simple-bus";
  45. reg = <0xe0005000 0x1000>;
  46. interrupts = <77 0x8>;
  47. interrupt-parent = <&ipic>;
  48. // booting from NOR flash
  49. ranges = <0 0x0 0xfe000000 0x02000000
  50. 1 0x0 0xf8000000 0x00008000
  51. 3 0x0 0xe0600000 0x00008000>;
  52. flash@0,0 {
  53. #address-cells = <1>;
  54. #size-cells = <1>;
  55. compatible = "cfi-flash";
  56. reg = <0 0x0 0x2000000>;
  57. bank-width = <2>;
  58. device-width = <1>;
  59. u-boot@0 {
  60. reg = <0x0 0x100000>;
  61. read-only;
  62. };
  63. fs@100000 {
  64. reg = <0x100000 0x800000>;
  65. };
  66. kernel@1d00000 {
  67. reg = <0x1d00000 0x200000>;
  68. };
  69. dtb@1f00000 {
  70. reg = <0x1f00000 0x100000>;
  71. };
  72. };
  73. bcsr@1,0 {
  74. reg = <1 0x0 0x8000>;
  75. compatible = "fsl,mpc837xmds-bcsr";
  76. };
  77. nand@3,0 {
  78. #address-cells = <1>;
  79. #size-cells = <1>;
  80. compatible = "fsl,mpc8377-fcm-nand",
  81. "fsl,elbc-fcm-nand";
  82. reg = <3 0x0 0x8000>;
  83. u-boot@0 {
  84. reg = <0x0 0x100000>;
  85. read-only;
  86. };
  87. kernel@100000 {
  88. reg = <0x100000 0x300000>;
  89. };
  90. fs@400000 {
  91. reg = <0x400000 0x1c00000>;
  92. };
  93. };
  94. };
  95. soc@e0000000 {
  96. #address-cells = <1>;
  97. #size-cells = <1>;
  98. device_type = "soc";
  99. compatible = "simple-bus";
  100. ranges = <0x0 0xe0000000 0x00100000>;
  101. reg = <0xe0000000 0x00000200>;
  102. bus-frequency = <0>;
  103. wdt@200 {
  104. compatible = "mpc83xx_wdt";
  105. reg = <0x200 0x100>;
  106. };
  107. sleep-nexus {
  108. #address-cells = <1>;
  109. #size-cells = <1>;
  110. compatible = "simple-bus";
  111. sleep = <&pmc 0x0c000000>;
  112. ranges;
  113. i2c@3000 {
  114. #address-cells = <1>;
  115. #size-cells = <0>;
  116. cell-index = <0>;
  117. compatible = "fsl-i2c";
  118. reg = <0x3000 0x100>;
  119. interrupts = <14 0x8>;
  120. interrupt-parent = <&ipic>;
  121. dfsrr;
  122. rtc@68 {
  123. compatible = "dallas,ds1374";
  124. reg = <0x68>;
  125. interrupts = <19 0x8>;
  126. interrupt-parent = <&ipic>;
  127. };
  128. };
  129. sdhci@2e000 {
  130. compatible = "fsl,mpc8377-esdhc", "fsl,esdhc";
  131. reg = <0x2e000 0x1000>;
  132. interrupts = <42 0x8>;
  133. interrupt-parent = <&ipic>;
  134. sdhci,wp-inverted;
  135. /* Filled in by U-Boot */
  136. clock-frequency = <0>;
  137. };
  138. };
  139. i2c@3100 {
  140. #address-cells = <1>;
  141. #size-cells = <0>;
  142. cell-index = <1>;
  143. compatible = "fsl-i2c";
  144. reg = <0x3100 0x100>;
  145. interrupts = <15 0x8>;
  146. interrupt-parent = <&ipic>;
  147. dfsrr;
  148. };
  149. spi@7000 {
  150. cell-index = <0>;
  151. compatible = "fsl,spi";
  152. reg = <0x7000 0x1000>;
  153. interrupts = <16 0x8>;
  154. interrupt-parent = <&ipic>;
  155. mode = "cpu";
  156. };
  157. usb@23000 {
  158. compatible = "fsl-usb2-dr";
  159. reg = <0x23000 0x1000>;
  160. #address-cells = <1>;
  161. #size-cells = <0>;
  162. interrupt-parent = <&ipic>;
  163. interrupts = <38 0x8>;
  164. dr_mode = "host";
  165. phy_type = "ulpi";
  166. sleep = <&pmc 0x00c00000>;
  167. };
  168. enet0: ethernet@24000 {
  169. #address-cells = <1>;
  170. #size-cells = <1>;
  171. cell-index = <0>;
  172. device_type = "network";
  173. model = "eTSEC";
  174. compatible = "gianfar";
  175. reg = <0x24000 0x1000>;
  176. ranges = <0x0 0x24000 0x1000>;
  177. local-mac-address = [ 00 00 00 00 00 00 ];
  178. interrupts = <32 0x8 33 0x8 34 0x8>;
  179. phy-connection-type = "mii";
  180. interrupt-parent = <&ipic>;
  181. tbi-handle = <&tbi0>;
  182. phy-handle = <&phy2>;
  183. sleep = <&pmc 0xc0000000>;
  184. fsl,magic-packet;
  185. mdio@520 {
  186. #address-cells = <1>;
  187. #size-cells = <0>;
  188. compatible = "fsl,gianfar-mdio";
  189. reg = <0x520 0x20>;
  190. phy2: ethernet-phy@2 {
  191. interrupt-parent = <&ipic>;
  192. interrupts = <17 0x8>;
  193. reg = <0x2>;
  194. };
  195. phy3: ethernet-phy@3 {
  196. interrupt-parent = <&ipic>;
  197. interrupts = <18 0x8>;
  198. reg = <0x3>;
  199. };
  200. tbi0: tbi-phy@11 {
  201. reg = <0x11>;
  202. device_type = "tbi-phy";
  203. };
  204. };
  205. };
  206. enet1: ethernet@25000 {
  207. #address-cells = <1>;
  208. #size-cells = <1>;
  209. cell-index = <1>;
  210. device_type = "network";
  211. model = "eTSEC";
  212. compatible = "gianfar";
  213. reg = <0x25000 0x1000>;
  214. ranges = <0x0 0x25000 0x1000>;
  215. local-mac-address = [ 00 00 00 00 00 00 ];
  216. interrupts = <35 0x8 36 0x8 37 0x8>;
  217. phy-connection-type = "mii";
  218. interrupt-parent = <&ipic>;
  219. tbi-handle = <&tbi1>;
  220. phy-handle = <&phy3>;
  221. sleep = <&pmc 0x30000000>;
  222. fsl,magic-packet;
  223. mdio@520 {
  224. #address-cells = <1>;
  225. #size-cells = <0>;
  226. compatible = "fsl,gianfar-tbi";
  227. reg = <0x520 0x20>;
  228. tbi1: tbi-phy@11 {
  229. reg = <0x11>;
  230. device_type = "tbi-phy";
  231. };
  232. };
  233. };
  234. serial0: serial@4500 {
  235. cell-index = <0>;
  236. device_type = "serial";
  237. compatible = "fsl,ns16550", "ns16550";
  238. reg = <0x4500 0x100>;
  239. clock-frequency = <0>;
  240. interrupts = <9 0x8>;
  241. interrupt-parent = <&ipic>;
  242. };
  243. serial1: serial@4600 {
  244. cell-index = <1>;
  245. device_type = "serial";
  246. compatible = "fsl,ns16550", "ns16550";
  247. reg = <0x4600 0x100>;
  248. clock-frequency = <0>;
  249. interrupts = <10 0x8>;
  250. interrupt-parent = <&ipic>;
  251. };
  252. dma@82a8 {
  253. #address-cells = <1>;
  254. #size-cells = <1>;
  255. compatible = "fsl,mpc8377-dma", "fsl,elo-dma";
  256. reg = <0x82a8 4>;
  257. ranges = <0 0x8100 0x1a8>;
  258. interrupt-parent = <&ipic>;
  259. interrupts = <0x47 8>;
  260. cell-index = <0>;
  261. dma-channel@0 {
  262. compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
  263. reg = <0 0x80>;
  264. cell-index = <0>;
  265. interrupt-parent = <&ipic>;
  266. interrupts = <0x47 8>;
  267. };
  268. dma-channel@80 {
  269. compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
  270. reg = <0x80 0x80>;
  271. cell-index = <1>;
  272. interrupt-parent = <&ipic>;
  273. interrupts = <0x47 8>;
  274. };
  275. dma-channel@100 {
  276. compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
  277. reg = <0x100 0x80>;
  278. cell-index = <2>;
  279. interrupt-parent = <&ipic>;
  280. interrupts = <0x47 8>;
  281. };
  282. dma-channel@180 {
  283. compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
  284. reg = <0x180 0x28>;
  285. cell-index = <3>;
  286. interrupt-parent = <&ipic>;
  287. interrupts = <0x47 8>;
  288. };
  289. };
  290. crypto@30000 {
  291. compatible = "fsl,sec3.0", "fsl,sec2.4", "fsl,sec2.2",
  292. "fsl,sec2.1", "fsl,sec2.0";
  293. reg = <0x30000 0x10000>;
  294. interrupts = <11 0x8>;
  295. interrupt-parent = <&ipic>;
  296. fsl,num-channels = <4>;
  297. fsl,channel-fifo-len = <24>;
  298. fsl,exec-units-mask = <0x9fe>;
  299. fsl,descriptor-types-mask = <0x3ab0ebf>;
  300. sleep = <&pmc 0x03000000>;
  301. };
  302. sata@18000 {
  303. compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
  304. reg = <0x18000 0x1000>;
  305. interrupts = <44 0x8>;
  306. interrupt-parent = <&ipic>;
  307. sleep = <&pmc 0x000000c0>;
  308. };
  309. sata@19000 {
  310. compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
  311. reg = <0x19000 0x1000>;
  312. interrupts = <45 0x8>;
  313. interrupt-parent = <&ipic>;
  314. sleep = <&pmc 0x00000030>;
  315. };
  316. /* IPIC
  317. * interrupts cell = <intr #, sense>
  318. * sense values match linux IORESOURCE_IRQ_* defines:
  319. * sense == 8: Level, low assertion
  320. * sense == 2: Edge, high-to-low change
  321. */
  322. ipic: pic@700 {
  323. compatible = "fsl,ipic";
  324. interrupt-controller;
  325. #address-cells = <0>;
  326. #interrupt-cells = <2>;
  327. reg = <0x700 0x100>;
  328. };
  329. pmc: power@b00 {
  330. compatible = "fsl,mpc8377-pmc", "fsl,mpc8349-pmc";
  331. reg = <0xb00 0x100 0xa00 0x100>;
  332. interrupts = <80 0x8>;
  333. interrupt-parent = <&ipic>;
  334. };
  335. };
  336. pci0: pci@e0008500 {
  337. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  338. interrupt-map = <
  339. /* IDSEL 0x11 */
  340. 0x8800 0x0 0x0 0x1 &ipic 20 0x8
  341. 0x8800 0x0 0x0 0x2 &ipic 21 0x8
  342. 0x8800 0x0 0x0 0x3 &ipic 22 0x8
  343. 0x8800 0x0 0x0 0x4 &ipic 23 0x8
  344. /* IDSEL 0x12 */
  345. 0x9000 0x0 0x0 0x1 &ipic 22 0x8
  346. 0x9000 0x0 0x0 0x2 &ipic 23 0x8
  347. 0x9000 0x0 0x0 0x3 &ipic 20 0x8
  348. 0x9000 0x0 0x0 0x4 &ipic 21 0x8
  349. /* IDSEL 0x13 */
  350. 0x9800 0x0 0x0 0x1 &ipic 23 0x8
  351. 0x9800 0x0 0x0 0x2 &ipic 20 0x8
  352. 0x9800 0x0 0x0 0x3 &ipic 21 0x8
  353. 0x9800 0x0 0x0 0x4 &ipic 22 0x8
  354. /* IDSEL 0x15 */
  355. 0xa800 0x0 0x0 0x1 &ipic 20 0x8
  356. 0xa800 0x0 0x0 0x2 &ipic 21 0x8
  357. 0xa800 0x0 0x0 0x3 &ipic 22 0x8
  358. 0xa800 0x0 0x0 0x4 &ipic 23 0x8
  359. /* IDSEL 0x16 */
  360. 0xb000 0x0 0x0 0x1 &ipic 23 0x8
  361. 0xb000 0x0 0x0 0x2 &ipic 20 0x8
  362. 0xb000 0x0 0x0 0x3 &ipic 21 0x8
  363. 0xb000 0x0 0x0 0x4 &ipic 22 0x8
  364. /* IDSEL 0x17 */
  365. 0xb800 0x0 0x0 0x1 &ipic 22 0x8
  366. 0xb800 0x0 0x0 0x2 &ipic 23 0x8
  367. 0xb800 0x0 0x0 0x3 &ipic 20 0x8
  368. 0xb800 0x0 0x0 0x4 &ipic 21 0x8
  369. /* IDSEL 0x18 */
  370. 0xc000 0x0 0x0 0x1 &ipic 21 0x8
  371. 0xc000 0x0 0x0 0x2 &ipic 22 0x8
  372. 0xc000 0x0 0x0 0x3 &ipic 23 0x8
  373. 0xc000 0x0 0x0 0x4 &ipic 20 0x8>;
  374. interrupt-parent = <&ipic>;
  375. interrupts = <66 0x8>;
  376. bus-range = <0x0 0x0>;
  377. ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
  378. 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
  379. 0x01000000 0x0 0x00000000 0xe0300000 0x0 0x00100000>;
  380. sleep = <&pmc 0x00010000>;
  381. clock-frequency = <0>;
  382. #interrupt-cells = <1>;
  383. #size-cells = <2>;
  384. #address-cells = <3>;
  385. reg = <0xe0008500 0x100 /* internal registers */
  386. 0xe0008300 0x8>; /* config space access registers */
  387. compatible = "fsl,mpc8349-pci";
  388. device_type = "pci";
  389. };
  390. pci1: pcie@e0009000 {
  391. #address-cells = <3>;
  392. #size-cells = <2>;
  393. #interrupt-cells = <1>;
  394. device_type = "pci";
  395. compatible = "fsl,mpc8377-pcie", "fsl,mpc8314-pcie";
  396. reg = <0xe0009000 0x00001000>;
  397. ranges = <0x02000000 0 0xa8000000 0xa8000000 0 0x10000000
  398. 0x01000000 0 0x00000000 0xb8000000 0 0x00800000>;
  399. bus-range = <0 255>;
  400. interrupt-map-mask = <0xf800 0 0 7>;
  401. interrupt-map = <0 0 0 1 &ipic 1 8
  402. 0 0 0 2 &ipic 1 8
  403. 0 0 0 3 &ipic 1 8
  404. 0 0 0 4 &ipic 1 8>;
  405. sleep = <&pmc 0x00300000>;
  406. clock-frequency = <0>;
  407. pcie@0 {
  408. #address-cells = <3>;
  409. #size-cells = <2>;
  410. device_type = "pci";
  411. reg = <0 0 0 0 0>;
  412. ranges = <0x02000000 0 0xa8000000
  413. 0x02000000 0 0xa8000000
  414. 0 0x10000000
  415. 0x01000000 0 0x00000000
  416. 0x01000000 0 0x00000000
  417. 0 0x00800000>;
  418. };
  419. };
  420. pci2: pcie@e000a000 {
  421. #address-cells = <3>;
  422. #size-cells = <2>;
  423. #interrupt-cells = <1>;
  424. device_type = "pci";
  425. compatible = "fsl,mpc8377-pcie", "fsl,mpc8314-pcie";
  426. reg = <0xe000a000 0x00001000>;
  427. ranges = <0x02000000 0 0xc8000000 0xc8000000 0 0x10000000
  428. 0x01000000 0 0x00000000 0xd8000000 0 0x00800000>;
  429. bus-range = <0 255>;
  430. interrupt-map-mask = <0xf800 0 0 7>;
  431. interrupt-map = <0 0 0 1 &ipic 2 8
  432. 0 0 0 2 &ipic 2 8
  433. 0 0 0 3 &ipic 2 8
  434. 0 0 0 4 &ipic 2 8>;
  435. sleep = <&pmc 0x000c0000>;
  436. clock-frequency = <0>;
  437. pcie@0 {
  438. #address-cells = <3>;
  439. #size-cells = <2>;
  440. device_type = "pci";
  441. reg = <0 0 0 0 0>;
  442. ranges = <0x02000000 0 0xc8000000
  443. 0x02000000 0 0xc8000000
  444. 0 0x10000000
  445. 0x01000000 0 0x00000000
  446. 0x01000000 0 0x00000000
  447. 0 0x00800000>;
  448. };
  449. };
  450. };