p1022ds.dts 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633
  1. /*
  2. * P1022 DS 36Bit Physical Address Map Device Tree Source
  3. *
  4. * Copyright 2010 Freescale Semiconductor, Inc.
  5. *
  6. * This file is licensed under the terms of the GNU General Public License
  7. * version 2. This program is licensed "as is" without any warranty of any
  8. * kind, whether express or implied.
  9. */
  10. /dts-v1/;
  11. / {
  12. model = "fsl,P1022";
  13. compatible = "fsl,P1022DS";
  14. #address-cells = <2>;
  15. #size-cells = <2>;
  16. interrupt-parent = <&mpic>;
  17. aliases {
  18. ethernet0 = &enet0;
  19. ethernet1 = &enet1;
  20. serial0 = &serial0;
  21. serial1 = &serial1;
  22. pci0 = &pci0;
  23. pci1 = &pci1;
  24. pci2 = &pci2;
  25. };
  26. cpus {
  27. #address-cells = <1>;
  28. #size-cells = <0>;
  29. PowerPC,P1022@0 {
  30. device_type = "cpu";
  31. reg = <0x0>;
  32. next-level-cache = <&L2>;
  33. };
  34. PowerPC,P1022@1 {
  35. device_type = "cpu";
  36. reg = <0x1>;
  37. next-level-cache = <&L2>;
  38. };
  39. };
  40. memory {
  41. device_type = "memory";
  42. };
  43. localbus@fffe05000 {
  44. #address-cells = <2>;
  45. #size-cells = <1>;
  46. compatible = "fsl,p1022-elbc", "fsl,elbc", "simple-bus";
  47. reg = <0 0xffe05000 0 0x1000>;
  48. interrupts = <19 2>;
  49. ranges = <0x0 0x0 0xf 0xe8000000 0x08000000
  50. 0x1 0x0 0xf 0xe0000000 0x08000000
  51. 0x2 0x0 0x0 0xffa00000 0x00040000
  52. 0x3 0x0 0xf 0xffdf0000 0x00008000>;
  53. nor@0,0 {
  54. #address-cells = <1>;
  55. #size-cells = <1>;
  56. compatible = "cfi-flash";
  57. reg = <0x0 0x0 0x8000000>;
  58. bank-width = <2>;
  59. device-width = <1>;
  60. partition@0 {
  61. reg = <0x0 0x03000000>;
  62. label = "ramdisk-nor";
  63. read-only;
  64. };
  65. partition@3000000 {
  66. reg = <0x03000000 0x00e00000>;
  67. label = "diagnostic-nor";
  68. read-only;
  69. };
  70. partition@3e00000 {
  71. reg = <0x03e00000 0x00200000>;
  72. label = "dink-nor";
  73. read-only;
  74. };
  75. partition@4000000 {
  76. reg = <0x04000000 0x00400000>;
  77. label = "kernel-nor";
  78. read-only;
  79. };
  80. partition@4400000 {
  81. reg = <0x04400000 0x03b00000>;
  82. label = "jffs2-nor";
  83. };
  84. partition@7f00000 {
  85. reg = <0x07f00000 0x00080000>;
  86. label = "dtb-nor";
  87. read-only;
  88. };
  89. partition@7f80000 {
  90. reg = <0x07f80000 0x00080000>;
  91. label = "u-boot-nor";
  92. read-only;
  93. };
  94. };
  95. nand@2,0 {
  96. #address-cells = <1>;
  97. #size-cells = <1>;
  98. compatible = "fsl,elbc-fcm-nand";
  99. reg = <0x2 0x0 0x40000>;
  100. partition@0 {
  101. reg = <0x0 0x02000000>;
  102. label = "u-boot-nand";
  103. read-only;
  104. };
  105. partition@2000000 {
  106. reg = <0x02000000 0x10000000>;
  107. label = "jffs2-nand";
  108. };
  109. partition@12000000 {
  110. reg = <0x12000000 0x10000000>;
  111. label = "ramdisk-nand";
  112. read-only;
  113. };
  114. partition@22000000 {
  115. reg = <0x22000000 0x04000000>;
  116. label = "kernel-nand";
  117. };
  118. partition@26000000 {
  119. reg = <0x26000000 0x01000000>;
  120. label = "dtb-nand";
  121. read-only;
  122. };
  123. partition@27000000 {
  124. reg = <0x27000000 0x19000000>;
  125. label = "reserved-nand";
  126. };
  127. };
  128. };
  129. soc@fffe00000 {
  130. #address-cells = <1>;
  131. #size-cells = <1>;
  132. device_type = "soc";
  133. compatible = "fsl,p1022-immr", "simple-bus";
  134. ranges = <0x0 0xf 0xffe00000 0x100000>;
  135. bus-frequency = <0>; // Filled out by uboot.
  136. ecm-law@0 {
  137. compatible = "fsl,ecm-law";
  138. reg = <0x0 0x1000>;
  139. fsl,num-laws = <12>;
  140. };
  141. ecm@1000 {
  142. compatible = "fsl,p1022-ecm", "fsl,ecm";
  143. reg = <0x1000 0x1000>;
  144. interrupts = <16 2>;
  145. };
  146. memory-controller@2000 {
  147. compatible = "fsl,p1022-memory-controller";
  148. reg = <0x2000 0x1000>;
  149. interrupts = <16 2>;
  150. };
  151. i2c@3000 {
  152. #address-cells = <1>;
  153. #size-cells = <0>;
  154. cell-index = <0>;
  155. compatible = "fsl-i2c";
  156. reg = <0x3000 0x100>;
  157. interrupts = <43 2>;
  158. dfsrr;
  159. };
  160. i2c@3100 {
  161. #address-cells = <1>;
  162. #size-cells = <0>;
  163. cell-index = <1>;
  164. compatible = "fsl-i2c";
  165. reg = <0x3100 0x100>;
  166. interrupts = <43 2>;
  167. dfsrr;
  168. wm8776:codec@1a {
  169. compatible = "wlf,wm8776";
  170. reg = <0x1a>;
  171. /* MCLK source is a stand-alone oscillator */
  172. clock-frequency = <12288000>;
  173. };
  174. };
  175. serial0: serial@4500 {
  176. cell-index = <0>;
  177. device_type = "serial";
  178. compatible = "ns16550";
  179. reg = <0x4500 0x100>;
  180. clock-frequency = <0>;
  181. interrupts = <42 2>;
  182. };
  183. serial1: serial@4600 {
  184. cell-index = <1>;
  185. device_type = "serial";
  186. compatible = "ns16550";
  187. reg = <0x4600 0x100>;
  188. clock-frequency = <0>;
  189. interrupts = <42 2>;
  190. };
  191. spi@7000 {
  192. cell-index = <0>;
  193. #address-cells = <1>;
  194. #size-cells = <0>;
  195. compatible = "fsl,espi";
  196. reg = <0x7000 0x1000>;
  197. interrupts = <59 0x2>;
  198. espi,num-ss-bits = <4>;
  199. mode = "cpu";
  200. fsl_m25p80@0 {
  201. #address-cells = <1>;
  202. #size-cells = <1>;
  203. compatible = "fsl,espi-flash";
  204. reg = <0>;
  205. linux,modalias = "fsl_m25p80";
  206. spi-max-frequency = <40000000>; /* input clock */
  207. partition@0 {
  208. label = "u-boot-spi";
  209. reg = <0x00000000 0x00100000>;
  210. read-only;
  211. };
  212. partition@100000 {
  213. label = "kernel-spi";
  214. reg = <0x00100000 0x00500000>;
  215. read-only;
  216. };
  217. partition@600000 {
  218. label = "dtb-spi";
  219. reg = <0x00600000 0x00100000>;
  220. read-only;
  221. };
  222. partition@700000 {
  223. label = "file system-spi";
  224. reg = <0x00700000 0x00900000>;
  225. };
  226. };
  227. };
  228. ssi@15000 {
  229. compatible = "fsl,mpc8610-ssi";
  230. cell-index = <0>;
  231. reg = <0x15000 0x100>;
  232. interrupts = <75 2>;
  233. fsl,mode = "i2s-slave";
  234. codec-handle = <&wm8776>;
  235. fsl,playback-dma = <&dma00>;
  236. fsl,capture-dma = <&dma01>;
  237. fsl,fifo-depth = <16>;
  238. };
  239. dma@c300 {
  240. #address-cells = <1>;
  241. #size-cells = <1>;
  242. compatible = "fsl,eloplus-dma";
  243. reg = <0xc300 0x4>;
  244. ranges = <0x0 0xc100 0x200>;
  245. cell-index = <1>;
  246. dma00: dma-channel@0 {
  247. compatible = "fsl,eloplus-dma-channel";
  248. reg = <0x0 0x80>;
  249. cell-index = <0>;
  250. interrupts = <76 2>;
  251. };
  252. dma01: dma-channel@80 {
  253. compatible = "fsl,eloplus-dma-channel";
  254. reg = <0x80 0x80>;
  255. cell-index = <1>;
  256. interrupts = <77 2>;
  257. };
  258. dma-channel@100 {
  259. compatible = "fsl,eloplus-dma-channel";
  260. reg = <0x100 0x80>;
  261. cell-index = <2>;
  262. interrupts = <78 2>;
  263. };
  264. dma-channel@180 {
  265. compatible = "fsl,eloplus-dma-channel";
  266. reg = <0x180 0x80>;
  267. cell-index = <3>;
  268. interrupts = <79 2>;
  269. };
  270. };
  271. gpio: gpio-controller@f000 {
  272. #gpio-cells = <2>;
  273. compatible = "fsl,mpc8572-gpio";
  274. reg = <0xf000 0x100>;
  275. interrupts = <47 0x2>;
  276. gpio-controller;
  277. };
  278. L2: l2-cache-controller@20000 {
  279. compatible = "fsl,p1022-l2-cache-controller";
  280. reg = <0x20000 0x1000>;
  281. cache-line-size = <32>; // 32 bytes
  282. cache-size = <0x40000>; // L2, 256K
  283. interrupts = <16 2>;
  284. };
  285. dma@21300 {
  286. #address-cells = <1>;
  287. #size-cells = <1>;
  288. compatible = "fsl,eloplus-dma";
  289. reg = <0x21300 0x4>;
  290. ranges = <0x0 0x21100 0x200>;
  291. cell-index = <0>;
  292. dma-channel@0 {
  293. compatible = "fsl,eloplus-dma-channel";
  294. reg = <0x0 0x80>;
  295. cell-index = <0>;
  296. interrupts = <20 2>;
  297. };
  298. dma-channel@80 {
  299. compatible = "fsl,eloplus-dma-channel";
  300. reg = <0x80 0x80>;
  301. cell-index = <1>;
  302. interrupts = <21 2>;
  303. };
  304. dma-channel@100 {
  305. compatible = "fsl,eloplus-dma-channel";
  306. reg = <0x100 0x80>;
  307. cell-index = <2>;
  308. interrupts = <22 2>;
  309. };
  310. dma-channel@180 {
  311. compatible = "fsl,eloplus-dma-channel";
  312. reg = <0x180 0x80>;
  313. cell-index = <3>;
  314. interrupts = <23 2>;
  315. };
  316. };
  317. usb@22000 {
  318. #address-cells = <1>;
  319. #size-cells = <0>;
  320. compatible = "fsl-usb2-dr";
  321. reg = <0x22000 0x1000>;
  322. interrupts = <28 0x2>;
  323. phy_type = "ulpi";
  324. };
  325. mdio@24000 {
  326. #address-cells = <1>;
  327. #size-cells = <0>;
  328. compatible = "fsl,etsec2-mdio";
  329. reg = <0x24000 0x1000 0xb0030 0x4>;
  330. phy0: ethernet-phy@0 {
  331. interrupts = <3 1>;
  332. reg = <0x1>;
  333. };
  334. phy1: ethernet-phy@1 {
  335. interrupts = <9 1>;
  336. reg = <0x2>;
  337. };
  338. };
  339. mdio@25000 {
  340. #address-cells = <1>;
  341. #size-cells = <0>;
  342. compatible = "fsl,etsec2-mdio";
  343. reg = <0x25000 0x1000 0xb1030 0x4>;
  344. };
  345. enet0: ethernet@B0000 {
  346. #address-cells = <1>;
  347. #size-cells = <1>;
  348. cell-index = <0>;
  349. device_type = "network";
  350. model = "eTSEC";
  351. compatible = "fsl,etsec2";
  352. fsl,num_rx_queues = <0x8>;
  353. fsl,num_tx_queues = <0x8>;
  354. fsl,magic-packet;
  355. fsl,wake-on-filer;
  356. local-mac-address = [ 00 00 00 00 00 00 ];
  357. fixed-link = <1 1 1000 0 0>;
  358. phy-handle = <&phy0>;
  359. phy-connection-type = "rgmii-id";
  360. queue-group@0{
  361. #address-cells = <1>;
  362. #size-cells = <1>;
  363. reg = <0xB0000 0x1000>;
  364. interrupts = <29 2 30 2 34 2>;
  365. };
  366. queue-group@1{
  367. #address-cells = <1>;
  368. #size-cells = <1>;
  369. reg = <0xB4000 0x1000>;
  370. interrupts = <17 2 18 2 24 2>;
  371. };
  372. };
  373. enet1: ethernet@B1000 {
  374. #address-cells = <1>;
  375. #size-cells = <1>;
  376. cell-index = <0>;
  377. device_type = "network";
  378. model = "eTSEC";
  379. compatible = "fsl,etsec2";
  380. fsl,num_rx_queues = <0x8>;
  381. fsl,num_tx_queues = <0x8>;
  382. local-mac-address = [ 00 00 00 00 00 00 ];
  383. fixed-link = <1 1 1000 0 0>;
  384. phy-handle = <&phy1>;
  385. phy-connection-type = "rgmii-id";
  386. queue-group@0{
  387. #address-cells = <1>;
  388. #size-cells = <1>;
  389. reg = <0xB1000 0x1000>;
  390. interrupts = <35 2 36 2 40 2>;
  391. };
  392. queue-group@1{
  393. #address-cells = <1>;
  394. #size-cells = <1>;
  395. reg = <0xB5000 0x1000>;
  396. interrupts = <51 2 52 2 67 2>;
  397. };
  398. };
  399. sdhci@2e000 {
  400. compatible = "fsl,p1022-esdhc", "fsl,esdhc";
  401. reg = <0x2e000 0x1000>;
  402. interrupts = <72 0x2>;
  403. fsl,sdhci-auto-cmd12;
  404. /* Filled in by U-Boot */
  405. clock-frequency = <0>;
  406. };
  407. crypto@30000 {
  408. compatible = "fsl,sec3.3", "fsl,sec3.1", "fsl,sec3.0",
  409. "fsl,sec2.4", "fsl,sec2.2", "fsl,sec2.1",
  410. "fsl,sec2.0";
  411. reg = <0x30000 0x10000>;
  412. interrupts = <45 2 58 2>;
  413. fsl,num-channels = <4>;
  414. fsl,channel-fifo-len = <24>;
  415. fsl,exec-units-mask = <0x97c>;
  416. fsl,descriptor-types-mask = <0x3a30abf>;
  417. };
  418. sata@18000 {
  419. compatible = "fsl,mpc8536-sata", "fsl,pq-sata";
  420. reg = <0x18000 0x1000>;
  421. cell-index = <1>;
  422. interrupts = <74 0x2>;
  423. };
  424. sata@19000 {
  425. compatible = "fsl,mpc8536-sata", "fsl,pq-sata";
  426. reg = <0x19000 0x1000>;
  427. cell-index = <2>;
  428. interrupts = <41 0x2>;
  429. };
  430. power@e0070{
  431. compatible = "fsl,mpc8536-pmc", "fsl,mpc8548-pmc";
  432. reg = <0xe0070 0x20>;
  433. };
  434. display@10000 {
  435. compatible = "fsl,diu", "fsl,p1022-diu";
  436. reg = <0x10000 1000>;
  437. interrupts = <64 2>;
  438. };
  439. timer@41100 {
  440. compatible = "fsl,mpic-global-timer";
  441. reg = <0x41100 0x204>;
  442. interrupts = <0xf7 0x2>;
  443. };
  444. mpic: pic@40000 {
  445. interrupt-controller;
  446. #address-cells = <0>;
  447. #interrupt-cells = <2>;
  448. reg = <0x40000 0x40000>;
  449. compatible = "chrp,open-pic";
  450. device_type = "open-pic";
  451. };
  452. msi@41600 {
  453. compatible = "fsl,p1022-msi", "fsl,mpic-msi";
  454. reg = <0x41600 0x80>;
  455. msi-available-ranges = <0 0x100>;
  456. interrupts = <
  457. 0xe0 0
  458. 0xe1 0
  459. 0xe2 0
  460. 0xe3 0
  461. 0xe4 0
  462. 0xe5 0
  463. 0xe6 0
  464. 0xe7 0>;
  465. };
  466. global-utilities@e0000 { //global utilities block
  467. compatible = "fsl,p1022-guts";
  468. reg = <0xe0000 0x1000>;
  469. fsl,has-rstcr;
  470. };
  471. };
  472. pci0: pcie@fffe09000 {
  473. compatible = "fsl,p1022-pcie";
  474. device_type = "pci";
  475. #interrupt-cells = <1>;
  476. #size-cells = <2>;
  477. #address-cells = <3>;
  478. reg = <0xf 0xffe09000 0 0x1000>;
  479. bus-range = <0 255>;
  480. ranges = <0x2000000 0x0 0xa0000000 0xc 0x20000000 0x0 0x20000000
  481. 0x1000000 0x0 0x00000000 0xf 0xffc10000 0x0 0x10000>;
  482. clock-frequency = <33333333>;
  483. interrupts = <16 2>;
  484. interrupt-map-mask = <0xf800 0 0 7>;
  485. interrupt-map = <
  486. /* IDSEL 0x0 */
  487. 0000 0 0 1 &mpic 4 1
  488. 0000 0 0 2 &mpic 5 1
  489. 0000 0 0 3 &mpic 6 1
  490. 0000 0 0 4 &mpic 7 1
  491. >;
  492. pcie@0 {
  493. reg = <0x0 0x0 0x0 0x0 0x0>;
  494. #size-cells = <2>;
  495. #address-cells = <3>;
  496. device_type = "pci";
  497. ranges = <0x2000000 0x0 0xe0000000
  498. 0x2000000 0x0 0xe0000000
  499. 0x0 0x20000000
  500. 0x1000000 0x0 0x0
  501. 0x1000000 0x0 0x0
  502. 0x0 0x100000>;
  503. };
  504. };
  505. pci1: pcie@fffe0a000 {
  506. compatible = "fsl,p1022-pcie";
  507. device_type = "pci";
  508. #interrupt-cells = <1>;
  509. #size-cells = <2>;
  510. #address-cells = <3>;
  511. reg = <0xf 0xffe0a000 0 0x1000>;
  512. bus-range = <0 255>;
  513. ranges = <0x2000000 0x0 0xc0000000 0xc 0x40000000 0x0 0x20000000
  514. 0x1000000 0x0 0x00000000 0xf 0xffc20000 0x0 0x10000>;
  515. clock-frequency = <33333333>;
  516. interrupts = <16 2>;
  517. interrupt-map-mask = <0xf800 0 0 7>;
  518. interrupt-map = <
  519. /* IDSEL 0x0 */
  520. 0000 0 0 1 &mpic 0 1
  521. 0000 0 0 2 &mpic 1 1
  522. 0000 0 0 3 &mpic 2 1
  523. 0000 0 0 4 &mpic 3 1
  524. >;
  525. pcie@0 {
  526. reg = <0x0 0x0 0x0 0x0 0x0>;
  527. #size-cells = <2>;
  528. #address-cells = <3>;
  529. device_type = "pci";
  530. ranges = <0x2000000 0x0 0xe0000000
  531. 0x2000000 0x0 0xe0000000
  532. 0x0 0x20000000
  533. 0x1000000 0x0 0x0
  534. 0x1000000 0x0 0x0
  535. 0x0 0x100000>;
  536. };
  537. };
  538. pci2: pcie@fffe0b000 {
  539. compatible = "fsl,p1022-pcie";
  540. device_type = "pci";
  541. #interrupt-cells = <1>;
  542. #size-cells = <2>;
  543. #address-cells = <3>;
  544. reg = <0xf 0xffe0b000 0 0x1000>;
  545. bus-range = <0 255>;
  546. ranges = <0x2000000 0x0 0x80000000 0xc 0x00000000 0x0 0x20000000
  547. 0x1000000 0x0 0x00000000 0xf 0xffc00000 0x0 0x10000>;
  548. clock-frequency = <33333333>;
  549. interrupts = <16 2>;
  550. interrupt-map-mask = <0xf800 0 0 7>;
  551. interrupt-map = <
  552. /* IDSEL 0x0 */
  553. 0000 0 0 1 &mpic 8 1
  554. 0000 0 0 2 &mpic 9 1
  555. 0000 0 0 3 &mpic 10 1
  556. 0000 0 0 4 &mpic 11 1
  557. >;
  558. pcie@0 {
  559. reg = <0x0 0x0 0x0 0x0 0x0>;
  560. #size-cells = <2>;
  561. #address-cells = <3>;
  562. device_type = "pci";
  563. ranges = <0x2000000 0x0 0xe0000000
  564. 0x2000000 0x0 0xe0000000
  565. 0x0 0x20000000
  566. 0x1000000 0x0 0x0
  567. 0x1000000 0x0 0x0
  568. 0x0 0x100000>;
  569. };
  570. };
  571. };