p1021mds.dts 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699
  1. /*
  2. * P1021 MDS Device Tree Source
  3. *
  4. * Copyright 2010 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 = "fsl,P1021";
  14. compatible = "fsl,P1021MDS";
  15. #address-cells = <2>;
  16. #size-cells = <2>;
  17. aliases {
  18. serial0 = &serial0;
  19. serial1 = &serial1;
  20. ethernet0 = &enet0;
  21. ethernet1 = &enet1;
  22. ethernet2 = &enet2;
  23. ethernet3 = &enet3;
  24. ethernet4 = &enet4;
  25. pci0 = &pci0;
  26. pci1 = &pci1;
  27. };
  28. cpus {
  29. #address-cells = <1>;
  30. #size-cells = <0>;
  31. PowerPC,P1021@0 {
  32. device_type = "cpu";
  33. reg = <0x0>;
  34. next-level-cache = <&L2>;
  35. };
  36. PowerPC,P1021@1 {
  37. device_type = "cpu";
  38. reg = <0x1>;
  39. next-level-cache = <&L2>;
  40. };
  41. };
  42. memory {
  43. device_type = "memory";
  44. };
  45. localbus@ffe05000 {
  46. #address-cells = <2>;
  47. #size-cells = <1>;
  48. compatible = "fsl,p1021-elbc", "fsl,elbc", "simple-bus";
  49. reg = <0 0xffe05000 0 0x1000>;
  50. interrupts = <19 2>;
  51. interrupt-parent = <&mpic>;
  52. /* NAND Flash, BCSR, PMC0/1*/
  53. ranges = <0x0 0x0 0x0 0xfc000000 0x02000000
  54. 0x1 0x0 0x0 0xf8000000 0x00008000
  55. 0x2 0x0 0x0 0xf8010000 0x00020000
  56. 0x3 0x0 0x0 0xf8020000 0x00020000>;
  57. nand@0,0 {
  58. #address-cells = <1>;
  59. #size-cells = <1>;
  60. compatible = "fsl,p1021-fcm-nand",
  61. "fsl,elbc-fcm-nand";
  62. reg = <0x0 0x0 0x40000>;
  63. partition@0 {
  64. /* This location must not be altered */
  65. /* 1MB for u-boot Bootloader Image */
  66. reg = <0x0 0x00100000>;
  67. label = "NAND (RO) U-Boot Image";
  68. read-only;
  69. };
  70. partition@100000 {
  71. /* 1MB for DTB Image */
  72. reg = <0x00100000 0x00100000>;
  73. label = "NAND (RO) DTB Image";
  74. read-only;
  75. };
  76. partition@200000 {
  77. /* 4MB for Linux Kernel Image */
  78. reg = <0x00200000 0x00400000>;
  79. label = "NAND (RO) Linux Kernel Image";
  80. read-only;
  81. };
  82. partition@600000 {
  83. /* 5MB for Compressed Root file System Image */
  84. reg = <0x00600000 0x00500000>;
  85. label = "NAND (RO) Compressed RFS Image";
  86. read-only;
  87. };
  88. partition@b00000 {
  89. /* 6MB for JFFS2 based Root file System */
  90. reg = <0x00a00000 0x00600000>;
  91. label = "NAND (RW) JFFS2 Root File System";
  92. };
  93. partition@1100000 {
  94. /* 14MB for JFFS2 based Root file System */
  95. reg = <0x01100000 0x00e00000>;
  96. label = "NAND (RW) Writable User area";
  97. };
  98. partition@1f00000 {
  99. /* 1MB for microcode */
  100. reg = <0x01f00000 0x00100000>;
  101. label = "NAND (RO) QE Ucode";
  102. read-only;
  103. };
  104. };
  105. bcsr@1,0 {
  106. #address-cells = <1>;
  107. #size-cells = <1>;
  108. compatible = "fsl,p1021mds-bcsr";
  109. reg = <1 0 0x8000>;
  110. ranges = <0 1 0 0x8000>;
  111. };
  112. pib@2,0 {
  113. compatible = "fsl,p1021mds-pib";
  114. reg = <2 0 0x10000>;
  115. };
  116. pib@3,0 {
  117. compatible = "fsl,p1021mds-pib";
  118. reg = <3 0 0x10000>;
  119. };
  120. };
  121. soc@ffe00000 {
  122. #address-cells = <1>;
  123. #size-cells = <1>;
  124. device_type = "soc";
  125. compatible = "fsl,p1021-immr", "simple-bus";
  126. ranges = <0x0 0x0 0xffe00000 0x100000>;
  127. bus-frequency = <0>; // Filled out by uboot.
  128. ecm-law@0 {
  129. compatible = "fsl,ecm-law";
  130. reg = <0x0 0x1000>;
  131. fsl,num-laws = <12>;
  132. };
  133. ecm@1000 {
  134. compatible = "fsl,p1021-ecm", "fsl,ecm";
  135. reg = <0x1000 0x1000>;
  136. interrupts = <16 2>;
  137. interrupt-parent = <&mpic>;
  138. };
  139. memory-controller@2000 {
  140. compatible = "fsl,p1021-memory-controller";
  141. reg = <0x2000 0x1000>;
  142. interrupt-parent = <&mpic>;
  143. interrupts = <16 2>;
  144. };
  145. i2c@3000 {
  146. #address-cells = <1>;
  147. #size-cells = <0>;
  148. cell-index = <0>;
  149. compatible = "fsl-i2c";
  150. reg = <0x3000 0x100>;
  151. interrupts = <43 2>;
  152. interrupt-parent = <&mpic>;
  153. dfsrr;
  154. rtc@68 {
  155. compatible = "dallas,ds1374";
  156. reg = <0x68>;
  157. };
  158. };
  159. i2c@3100 {
  160. #address-cells = <1>;
  161. #size-cells = <0>;
  162. cell-index = <1>;
  163. compatible = "fsl-i2c";
  164. reg = <0x3100 0x100>;
  165. interrupts = <43 2>;
  166. interrupt-parent = <&mpic>;
  167. dfsrr;
  168. };
  169. serial0: serial@4500 {
  170. cell-index = <0>;
  171. device_type = "serial";
  172. compatible = "ns16550";
  173. reg = <0x4500 0x100>;
  174. clock-frequency = <0>;
  175. interrupts = <42 2>;
  176. interrupt-parent = <&mpic>;
  177. };
  178. serial1: serial@4600 {
  179. cell-index = <1>;
  180. device_type = "serial";
  181. compatible = "ns16550";
  182. reg = <0x4600 0x100>;
  183. clock-frequency = <0>;
  184. interrupts = <42 2>;
  185. interrupt-parent = <&mpic>;
  186. };
  187. spi@7000 {
  188. cell-index = <0>;
  189. #address-cells = <1>;
  190. #size-cells = <0>;
  191. compatible = "fsl,espi";
  192. reg = <0x7000 0x1000>;
  193. interrupts = <59 0x2>;
  194. interrupt-parent = <&mpic>;
  195. espi,num-ss-bits = <4>;
  196. mode = "cpu";
  197. fsl_m25p80@0 {
  198. #address-cells = <1>;
  199. #size-cells = <1>;
  200. compatible = "fsl,espi-flash";
  201. reg = <0>;
  202. linux,modalias = "fsl_m25p80";
  203. spi-max-frequency = <40000000>; /* input clock */
  204. partition@u-boot {
  205. label = "u-boot-spi";
  206. reg = <0x00000000 0x00100000>;
  207. read-only;
  208. };
  209. partition@kernel {
  210. label = "kernel-spi";
  211. reg = <0x00100000 0x00500000>;
  212. read-only;
  213. };
  214. partition@dtb {
  215. label = "dtb-spi";
  216. reg = <0x00600000 0x00100000>;
  217. read-only;
  218. };
  219. partition@fs {
  220. label = "file system-spi";
  221. reg = <0x00700000 0x00900000>;
  222. };
  223. };
  224. };
  225. gpio: gpio-controller@f000 {
  226. #gpio-cells = <2>;
  227. compatible = "fsl,mpc8572-gpio";
  228. reg = <0xf000 0x100>;
  229. interrupts = <47 0x2>;
  230. interrupt-parent = <&mpic>;
  231. gpio-controller;
  232. };
  233. L2: l2-cache-controller@20000 {
  234. compatible = "fsl,p1021-l2-cache-controller";
  235. reg = <0x20000 0x1000>;
  236. cache-line-size = <32>; // 32 bytes
  237. cache-size = <0x40000>; // L2,256K
  238. interrupt-parent = <&mpic>;
  239. interrupts = <16 2>;
  240. };
  241. dma@21300 {
  242. #address-cells = <1>;
  243. #size-cells = <1>;
  244. compatible = "fsl,eloplus-dma";
  245. reg = <0x21300 0x4>;
  246. ranges = <0x0 0x21100 0x200>;
  247. cell-index = <0>;
  248. dma-channel@0 {
  249. compatible = "fsl,eloplus-dma-channel";
  250. reg = <0x0 0x80>;
  251. cell-index = <0>;
  252. interrupt-parent = <&mpic>;
  253. interrupts = <20 2>;
  254. };
  255. dma-channel@80 {
  256. compatible = "fsl,eloplus-dma-channel";
  257. reg = <0x80 0x80>;
  258. cell-index = <1>;
  259. interrupt-parent = <&mpic>;
  260. interrupts = <21 2>;
  261. };
  262. dma-channel@100 {
  263. compatible = "fsl,eloplus-dma-channel";
  264. reg = <0x100 0x80>;
  265. cell-index = <2>;
  266. interrupt-parent = <&mpic>;
  267. interrupts = <22 2>;
  268. };
  269. dma-channel@180 {
  270. compatible = "fsl,eloplus-dma-channel";
  271. reg = <0x180 0x80>;
  272. cell-index = <3>;
  273. interrupt-parent = <&mpic>;
  274. interrupts = <23 2>;
  275. };
  276. };
  277. usb@22000 {
  278. #address-cells = <1>;
  279. #size-cells = <0>;
  280. compatible = "fsl-usb2-dr";
  281. reg = <0x22000 0x1000>;
  282. interrupt-parent = <&mpic>;
  283. interrupts = <28 0x2>;
  284. phy_type = "ulpi";
  285. };
  286. mdio@24000 {
  287. #address-cells = <1>;
  288. #size-cells = <0>;
  289. compatible = "fsl,etsec2-mdio";
  290. reg = <0x24000 0x1000 0xb0030 0x4>;
  291. phy0: ethernet-phy@0 {
  292. interrupt-parent = <&mpic>;
  293. interrupts = <1 1>;
  294. reg = <0x0>;
  295. };
  296. phy1: ethernet-phy@1 {
  297. interrupt-parent = <&mpic>;
  298. interrupts = <2 1>;
  299. reg = <0x1>;
  300. };
  301. phy4: ethernet-phy@4 {
  302. interrupt-parent = <&mpic>;
  303. reg = <0x4>;
  304. };
  305. };
  306. mdio@25000 {
  307. #address-cells = <1>;
  308. #size-cells = <0>;
  309. compatible = "fsl,etsec2-tbi";
  310. reg = <0x25000 0x1000 0xb1030 0x4>;
  311. tbi0: tbi-phy@11 {
  312. reg = <0x11>;
  313. device_type = "tbi-phy";
  314. };
  315. };
  316. enet0: ethernet@B0000 {
  317. #address-cells = <1>;
  318. #size-cells = <1>;
  319. cell-index = <0>;
  320. device_type = "network";
  321. model = "eTSEC";
  322. compatible = "fsl,etsec2";
  323. fsl,num_rx_queues = <0x8>;
  324. fsl,num_tx_queues = <0x8>;
  325. local-mac-address = [ 00 00 00 00 00 00 ];
  326. interrupt-parent = <&mpic>;
  327. phy-handle = <&phy0>;
  328. phy-connection-type = "rgmii-id";
  329. queue-group@0{
  330. #address-cells = <1>;
  331. #size-cells = <1>;
  332. reg = <0xB0000 0x1000>;
  333. interrupts = <29 2 30 2 34 2>;
  334. };
  335. queue-group@1{
  336. #address-cells = <1>;
  337. #size-cells = <1>;
  338. reg = <0xB4000 0x1000>;
  339. interrupts = <17 2 18 2 24 2>;
  340. };
  341. };
  342. enet1: ethernet@B1000 {
  343. #address-cells = <1>;
  344. #size-cells = <1>;
  345. cell-index = <0>;
  346. device_type = "network";
  347. model = "eTSEC";
  348. compatible = "fsl,etsec2";
  349. fsl,num_rx_queues = <0x8>;
  350. fsl,num_tx_queues = <0x8>;
  351. local-mac-address = [ 00 00 00 00 00 00 ];
  352. interrupt-parent = <&mpic>;
  353. phy-handle = <&phy4>;
  354. tbi-handle = <&tbi0>;
  355. phy-connection-type = "sgmii";
  356. queue-group@0{
  357. #address-cells = <1>;
  358. #size-cells = <1>;
  359. reg = <0xB1000 0x1000>;
  360. interrupts = <35 2 36 2 40 2>;
  361. };
  362. queue-group@1{
  363. #address-cells = <1>;
  364. #size-cells = <1>;
  365. reg = <0xB5000 0x1000>;
  366. interrupts = <51 2 52 2 67 2>;
  367. };
  368. };
  369. enet2: ethernet@B2000 {
  370. #address-cells = <1>;
  371. #size-cells = <1>;
  372. cell-index = <0>;
  373. device_type = "network";
  374. model = "eTSEC";
  375. compatible = "fsl,etsec2";
  376. fsl,num_rx_queues = <0x8>;
  377. fsl,num_tx_queues = <0x8>;
  378. local-mac-address = [ 00 00 00 00 00 00 ];
  379. interrupt-parent = <&mpic>;
  380. phy-handle = <&phy1>;
  381. phy-connection-type = "rgmii-id";
  382. queue-group@0{
  383. #address-cells = <1>;
  384. #size-cells = <1>;
  385. reg = <0xB2000 0x1000>;
  386. interrupts = <31 2 32 2 33 2>;
  387. };
  388. queue-group@1{
  389. #address-cells = <1>;
  390. #size-cells = <1>;
  391. reg = <0xB6000 0x1000>;
  392. interrupts = <25 2 26 2 27 2>;
  393. };
  394. };
  395. sdhci@2e000 {
  396. compatible = "fsl,p1021-esdhc", "fsl,esdhc";
  397. reg = <0x2e000 0x1000>;
  398. interrupts = <72 0x2>;
  399. interrupt-parent = <&mpic>;
  400. /* Filled in by U-Boot */
  401. clock-frequency = <0>;
  402. };
  403. crypto@30000 {
  404. compatible = "fsl,sec3.3", "fsl,sec3.1",
  405. "fsl,sec3.0", "fsl,sec2.4",
  406. "fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0";
  407. reg = <0x30000 0x10000>;
  408. interrupts = <45 2 58 2>;
  409. interrupt-parent = <&mpic>;
  410. fsl,num-channels = <4>;
  411. fsl,channel-fifo-len = <24>;
  412. fsl,exec-units-mask = <0x97c>;
  413. fsl,descriptor-types-mask = <0x3a30abf>;
  414. };
  415. mpic: pic@40000 {
  416. interrupt-controller;
  417. #address-cells = <0>;
  418. #interrupt-cells = <2>;
  419. reg = <0x40000 0x40000>;
  420. compatible = "chrp,open-pic";
  421. device_type = "open-pic";
  422. };
  423. msi@41600 {
  424. compatible = "fsl,p1021-msi", "fsl,mpic-msi";
  425. reg = <0x41600 0x80>;
  426. msi-available-ranges = <0 0x100>;
  427. interrupts = <
  428. 0xe0 0
  429. 0xe1 0
  430. 0xe2 0
  431. 0xe3 0
  432. 0xe4 0
  433. 0xe5 0
  434. 0xe6 0
  435. 0xe7 0>;
  436. interrupt-parent = <&mpic>;
  437. };
  438. global-utilities@e0000 { //global utilities block
  439. compatible = "fsl,p1021-guts";
  440. reg = <0xe0000 0x1000>;
  441. fsl,has-rstcr;
  442. };
  443. par_io@e0100 {
  444. #address-cells = <1>;
  445. #size-cells = <1>;
  446. reg = <0xe0100 0x60>;
  447. ranges = <0x0 0xe0100 0x60>;
  448. device_type = "par_io";
  449. num-ports = <3>;
  450. pio1: ucc_pin@01 {
  451. pio-map = <
  452. /* port pin dir open_drain assignment has_irq */
  453. 0x1 0x13 0x1 0x0 0x1 0x0 /* QE_MUX_MDC */
  454. 0x1 0x14 0x3 0x0 0x1 0x0 /* QE_MUX_MDIO */
  455. 0x0 0x17 0x2 0x0 0x2 0x0 /* CLK12 */
  456. 0x0 0x18 0x2 0x0 0x1 0x0 /* CLK9
  457. */
  458. 0x0 0x7 0x1 0x0 0x2 0x0 /* ENET1_TXD0_SER1_TXD0 */
  459. 0x0 0x9 0x1 0x0 0x2 0x0 /* ENET1_TXD1_SER1_TXD1 */
  460. 0x0 0xb 0x1 0x0 0x2 0x0 /* ENET1_TXD2_SER1_TXD2 */
  461. 0x0 0xc 0x1 0x0 0x2 0x0 /* ENET1_TXD3_SER1_TXD3 */
  462. 0x0 0x6 0x2 0x0 0x2 0x0 /* ENET1_RXD0_SER1_RXD0 */
  463. 0x0 0xa 0x2 0x0 0x2 0x0 /* ENET1_RXD1_SER1_RXD1 */
  464. 0x0 0xe 0x2 0x0 0x2 0x0 /* ENET1_RXD2_SER1_RXD2 */
  465. 0x0 0xf 0x2 0x0 0x2 0x0 /* ENET1_RXD3_SER1_RXD3 */
  466. 0x0 0x5 0x1 0x0 0x2 0x0 /* ENET1_TX_EN_SER1_RTS_B */
  467. 0x0 0xd 0x1 0x0 0x2 0x0 /* ENET1_TX_ER */
  468. 0x0 0x4 0x2 0x0 0x2 0x0 /* ENET1_RX_DV_SER1_CTS_B */
  469. 0x0 0x8 0x2 0x0 0x2 0x0 /* ENET1_RX_ER_SER1_CD_B */
  470. 0x0 0x11 0x2 0x0 0x2 0x0 /* ENET1_CRS */
  471. 0x0 0x10 0x2 0x0 0x2 0x0>; /* ENET1_COL */
  472. };
  473. pio2: ucc_pin@02 {
  474. pio-map = <
  475. /* port pin dir open_drain assignment has_irq */
  476. 0x1 0x13 0x1 0x0 0x1 0x0 /* QE_MUX_MDC */
  477. 0x1 0x14 0x3 0x0 0x1 0x0 /* QE_MUX_MDIO */
  478. 0x1 0xb 0x2 0x0 0x1 0x0 /* CLK13 */
  479. 0x1 0x7 0x1 0x0 0x2 0x0 /* ENET5_TXD0_SER5_TXD0 */
  480. 0x1 0xa 0x1 0x0 0x2 0x0 /* ENET5_TXD1_SER5_TXD1 */
  481. 0x1 0x6 0x2 0x0 0x2 0x0 /* ENET5_RXD0_SER5_RXD0 */
  482. 0x1 0x9 0x2 0x0 0x2 0x0 /* ENET5_RXD1_SER5_RXD1 */
  483. 0x1 0x5 0x1 0x0 0x2 0x0 /* ENET5_TX_EN_SER5_RTS_B */
  484. 0x1 0x4 0x2 0x0 0x2 0x0 /* ENET5_RX_DV_SER5_CTS_B */
  485. 0x1 0x8 0x2 0x0 0x2 0x0>; /* ENET5_RX_ER_SER5_CD_B */
  486. };
  487. };
  488. };
  489. pci0: pcie@ffe09000 {
  490. compatible = "fsl,mpc8548-pcie";
  491. device_type = "pci";
  492. #interrupt-cells = <1>;
  493. #size-cells = <2>;
  494. #address-cells = <3>;
  495. reg = <0 0xffe09000 0 0x1000>;
  496. bus-range = <0 255>;
  497. ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000
  498. 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>;
  499. clock-frequency = <33333333>;
  500. interrupt-parent = <&mpic>;
  501. interrupts = <16 2>;
  502. interrupt-map-mask = <0xf800 0 0 7>;
  503. interrupt-map = <
  504. /* IDSEL 0x0 */
  505. 0000 0 0 1 &mpic 4 1
  506. 0000 0 0 2 &mpic 5 1
  507. 0000 0 0 3 &mpic 6 1
  508. 0000 0 0 4 &mpic 7 1
  509. >;
  510. pcie@0 {
  511. reg = <0x0 0x0 0x0 0x0 0x0>;
  512. #size-cells = <2>;
  513. #address-cells = <3>;
  514. device_type = "pci";
  515. ranges = <0x2000000 0x0 0xa0000000
  516. 0x2000000 0x0 0xa0000000
  517. 0x0 0x20000000
  518. 0x1000000 0x0 0x0
  519. 0x1000000 0x0 0x0
  520. 0x0 0x100000>;
  521. };
  522. };
  523. pci1: pcie@ffe0a000 {
  524. compatible = "fsl,mpc8548-pcie";
  525. device_type = "pci";
  526. #interrupt-cells = <1>;
  527. #size-cells = <2>;
  528. #address-cells = <3>;
  529. reg = <0 0xffe0a000 0 0x1000>;
  530. bus-range = <0 255>;
  531. ranges = <0x2000000 0x0 0xc0000000 0 0xc0000000 0x0 0x20000000
  532. 0x1000000 0x0 0x00000000 0 0xffc20000 0x0 0x10000>;
  533. clock-frequency = <33333333>;
  534. interrupt-parent = <&mpic>;
  535. interrupts = <16 2>;
  536. interrupt-map-mask = <0xf800 0 0 7>;
  537. interrupt-map = <
  538. /* IDSEL 0x0 */
  539. 0000 0 0 1 &mpic 0 1
  540. 0000 0 0 2 &mpic 1 1
  541. 0000 0 0 3 &mpic 2 1
  542. 0000 0 0 4 &mpic 3 1
  543. >;
  544. pcie@0 {
  545. reg = <0x0 0x0 0x0 0x0 0x0>;
  546. #size-cells = <2>;
  547. #address-cells = <3>;
  548. device_type = "pci";
  549. ranges = <0x2000000 0x0 0xc0000000
  550. 0x2000000 0x0 0xc0000000
  551. 0x0 0x20000000
  552. 0x1000000 0x0 0x0
  553. 0x1000000 0x0 0x0
  554. 0x0 0x100000>;
  555. };
  556. };
  557. qe@ffe80000 {
  558. #address-cells = <1>;
  559. #size-cells = <1>;
  560. device_type = "qe";
  561. compatible = "fsl,qe";
  562. ranges = <0x0 0x0 0xffe80000 0x40000>;
  563. reg = <0 0xffe80000 0 0x480>;
  564. brg-frequency = <0>;
  565. bus-frequency = <0>;
  566. fsl,qe-num-riscs = <1>;
  567. fsl,qe-num-snums = <28>;
  568. status = "disabled"; /* no firmware loaded */
  569. qeic: interrupt-controller@80 {
  570. interrupt-controller;
  571. compatible = "fsl,qe-ic";
  572. #address-cells = <0>;
  573. #interrupt-cells = <1>;
  574. reg = <0x80 0x80>;
  575. interrupts = <63 2 60 2>; //high:47 low:44
  576. interrupt-parent = <&mpic>;
  577. };
  578. enet3: ucc@2000 {
  579. device_type = "network";
  580. compatible = "ucc_geth";
  581. cell-index = <1>;
  582. reg = <0x2000 0x200>;
  583. interrupts = <32>;
  584. interrupt-parent = <&qeic>;
  585. local-mac-address = [ 00 00 00 00 00 00 ];
  586. rx-clock-name = "clk12";
  587. tx-clock-name = "clk9";
  588. pio-handle = <&pio1>;
  589. phy-handle = <&qe_phy0>;
  590. phy-connection-type = "mii";
  591. };
  592. mdio@2120 {
  593. #address-cells = <1>;
  594. #size-cells = <0>;
  595. reg = <0x2120 0x18>;
  596. compatible = "fsl,ucc-mdio";
  597. qe_phy0: ethernet-phy@0 {
  598. interrupt-parent = <&mpic>;
  599. interrupts = <4 1>;
  600. reg = <0x0>;
  601. device_type = "ethernet-phy";
  602. };
  603. qe_phy1: ethernet-phy@03 {
  604. interrupt-parent = <&mpic>;
  605. interrupts = <5 1>;
  606. reg = <0x3>;
  607. device_type = "ethernet-phy";
  608. };
  609. tbi-phy@11 {
  610. reg = <0x11>;
  611. device_type = "tbi-phy";
  612. };
  613. };
  614. enet4: ucc@2400 {
  615. device_type = "network";
  616. compatible = "ucc_geth";
  617. cell-index = <5>;
  618. reg = <0x2400 0x200>;
  619. interrupts = <40>;
  620. interrupt-parent = <&qeic>;
  621. local-mac-address = [ 00 00 00 00 00 00 ];
  622. rx-clock-name = "none";
  623. tx-clock-name = "clk13";
  624. pio-handle = <&pio2>;
  625. phy-handle = <&qe_phy1>;
  626. phy-connection-type = "rmii";
  627. };
  628. muram@10000 {
  629. #address-cells = <1>;
  630. #size-cells = <1>;
  631. compatible = "fsl,qe-muram", "fsl,cpm-muram";
  632. ranges = <0x0 0x10000 0x6000>;
  633. data-only@0 {
  634. compatible = "fsl,qe-muram-data",
  635. "fsl,cpm-muram-data";
  636. reg = <0x0 0x6000>;
  637. };
  638. };
  639. };
  640. };