p1022ds.dts 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660
  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 0 0>;
  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. board-control@3,0 {
  129. compatible = "fsl,p1022ds-pixis";
  130. reg = <3 0 0x30>;
  131. interrupt-parent = <&mpic>;
  132. /*
  133. * IRQ8 is generated if the "EVENT" switch is pressed
  134. * and PX_CTL[EVESEL] is set to 00.
  135. */
  136. interrupts = <8 8 0 0>;
  137. };
  138. };
  139. soc@fffe00000 {
  140. #address-cells = <1>;
  141. #size-cells = <1>;
  142. device_type = "soc";
  143. compatible = "fsl,p1022-immr", "simple-bus";
  144. ranges = <0x0 0xf 0xffe00000 0x100000>;
  145. bus-frequency = <0>; // Filled out by uboot.
  146. ecm-law@0 {
  147. compatible = "fsl,ecm-law";
  148. reg = <0x0 0x1000>;
  149. fsl,num-laws = <12>;
  150. };
  151. ecm@1000 {
  152. compatible = "fsl,p1022-ecm", "fsl,ecm";
  153. reg = <0x1000 0x1000>;
  154. interrupts = <16 2 0 0>;
  155. };
  156. memory-controller@2000 {
  157. compatible = "fsl,p1022-memory-controller";
  158. reg = <0x2000 0x1000>;
  159. interrupts = <16 2 0 0>;
  160. };
  161. i2c@3000 {
  162. #address-cells = <1>;
  163. #size-cells = <0>;
  164. cell-index = <0>;
  165. compatible = "fsl-i2c";
  166. reg = <0x3000 0x100>;
  167. interrupts = <43 2 0 0>;
  168. dfsrr;
  169. };
  170. i2c@3100 {
  171. #address-cells = <1>;
  172. #size-cells = <0>;
  173. cell-index = <1>;
  174. compatible = "fsl-i2c";
  175. reg = <0x3100 0x100>;
  176. interrupts = <43 2 0 0>;
  177. dfsrr;
  178. wm8776:codec@1a {
  179. compatible = "wlf,wm8776";
  180. reg = <0x1a>;
  181. /*
  182. * clock-frequency will be set by U-Boot if
  183. * the clock is enabled.
  184. */
  185. };
  186. };
  187. serial0: serial@4500 {
  188. cell-index = <0>;
  189. device_type = "serial";
  190. compatible = "ns16550";
  191. reg = <0x4500 0x100>;
  192. clock-frequency = <0>;
  193. interrupts = <42 2 0 0>;
  194. };
  195. serial1: serial@4600 {
  196. cell-index = <1>;
  197. device_type = "serial";
  198. compatible = "ns16550";
  199. reg = <0x4600 0x100>;
  200. clock-frequency = <0>;
  201. interrupts = <42 2 0 0>;
  202. };
  203. spi@7000 {
  204. cell-index = <0>;
  205. #address-cells = <1>;
  206. #size-cells = <0>;
  207. compatible = "fsl,espi";
  208. reg = <0x7000 0x1000>;
  209. interrupts = <59 0x2 0 0>;
  210. espi,num-ss-bits = <4>;
  211. mode = "cpu";
  212. fsl_m25p80@0 {
  213. #address-cells = <1>;
  214. #size-cells = <1>;
  215. compatible = "fsl,espi-flash";
  216. reg = <0>;
  217. linux,modalias = "fsl_m25p80";
  218. spi-max-frequency = <40000000>; /* input clock */
  219. partition@0 {
  220. label = "u-boot-spi";
  221. reg = <0x00000000 0x00100000>;
  222. read-only;
  223. };
  224. partition@100000 {
  225. label = "kernel-spi";
  226. reg = <0x00100000 0x00500000>;
  227. read-only;
  228. };
  229. partition@600000 {
  230. label = "dtb-spi";
  231. reg = <0x00600000 0x00100000>;
  232. read-only;
  233. };
  234. partition@700000 {
  235. label = "file system-spi";
  236. reg = <0x00700000 0x00900000>;
  237. };
  238. };
  239. };
  240. ssi@15000 {
  241. compatible = "fsl,mpc8610-ssi";
  242. cell-index = <0>;
  243. reg = <0x15000 0x100>;
  244. interrupts = <75 2 0 0>;
  245. fsl,mode = "i2s-slave";
  246. codec-handle = <&wm8776>;
  247. fsl,playback-dma = <&dma00>;
  248. fsl,capture-dma = <&dma01>;
  249. fsl,fifo-depth = <15>;
  250. fsl,ssi-asynchronous;
  251. };
  252. dma@c300 {
  253. #address-cells = <1>;
  254. #size-cells = <1>;
  255. compatible = "fsl,eloplus-dma";
  256. reg = <0xc300 0x4>;
  257. ranges = <0x0 0xc100 0x200>;
  258. cell-index = <1>;
  259. dma00: dma-channel@0 {
  260. compatible = "fsl,ssi-dma-channel";
  261. reg = <0x0 0x80>;
  262. cell-index = <0>;
  263. interrupts = <76 2 0 0>;
  264. };
  265. dma01: dma-channel@80 {
  266. compatible = "fsl,ssi-dma-channel";
  267. reg = <0x80 0x80>;
  268. cell-index = <1>;
  269. interrupts = <77 2 0 0>;
  270. };
  271. dma-channel@100 {
  272. compatible = "fsl,eloplus-dma-channel";
  273. reg = <0x100 0x80>;
  274. cell-index = <2>;
  275. interrupts = <78 2 0 0>;
  276. };
  277. dma-channel@180 {
  278. compatible = "fsl,eloplus-dma-channel";
  279. reg = <0x180 0x80>;
  280. cell-index = <3>;
  281. interrupts = <79 2 0 0>;
  282. };
  283. };
  284. gpio: gpio-controller@f000 {
  285. #gpio-cells = <2>;
  286. compatible = "fsl,mpc8572-gpio";
  287. reg = <0xf000 0x100>;
  288. interrupts = <47 0x2 0 0>;
  289. gpio-controller;
  290. };
  291. L2: l2-cache-controller@20000 {
  292. compatible = "fsl,p1022-l2-cache-controller";
  293. reg = <0x20000 0x1000>;
  294. cache-line-size = <32>; // 32 bytes
  295. cache-size = <0x40000>; // L2, 256K
  296. interrupts = <16 2 0 0>;
  297. };
  298. dma@21300 {
  299. #address-cells = <1>;
  300. #size-cells = <1>;
  301. compatible = "fsl,eloplus-dma";
  302. reg = <0x21300 0x4>;
  303. ranges = <0x0 0x21100 0x200>;
  304. cell-index = <0>;
  305. dma-channel@0 {
  306. compatible = "fsl,eloplus-dma-channel";
  307. reg = <0x0 0x80>;
  308. cell-index = <0>;
  309. interrupts = <20 2 0 0>;
  310. };
  311. dma-channel@80 {
  312. compatible = "fsl,eloplus-dma-channel";
  313. reg = <0x80 0x80>;
  314. cell-index = <1>;
  315. interrupts = <21 2 0 0>;
  316. };
  317. dma-channel@100 {
  318. compatible = "fsl,eloplus-dma-channel";
  319. reg = <0x100 0x80>;
  320. cell-index = <2>;
  321. interrupts = <22 2 0 0>;
  322. };
  323. dma-channel@180 {
  324. compatible = "fsl,eloplus-dma-channel";
  325. reg = <0x180 0x80>;
  326. cell-index = <3>;
  327. interrupts = <23 2 0 0>;
  328. };
  329. };
  330. usb@22000 {
  331. #address-cells = <1>;
  332. #size-cells = <0>;
  333. compatible = "fsl-usb2-dr";
  334. reg = <0x22000 0x1000>;
  335. interrupts = <28 0x2 0 0>;
  336. phy_type = "ulpi";
  337. };
  338. mdio@24000 {
  339. #address-cells = <1>;
  340. #size-cells = <0>;
  341. compatible = "fsl,etsec2-mdio";
  342. reg = <0x24000 0x1000 0xb0030 0x4>;
  343. phy0: ethernet-phy@0 {
  344. interrupts = <3 1 0 0>;
  345. reg = <0x1>;
  346. };
  347. phy1: ethernet-phy@1 {
  348. interrupts = <9 1 0 0>;
  349. reg = <0x2>;
  350. };
  351. };
  352. mdio@25000 {
  353. #address-cells = <1>;
  354. #size-cells = <0>;
  355. compatible = "fsl,etsec2-mdio";
  356. reg = <0x25000 0x1000 0xb1030 0x4>;
  357. };
  358. enet0: ethernet@B0000 {
  359. #address-cells = <1>;
  360. #size-cells = <1>;
  361. cell-index = <0>;
  362. device_type = "network";
  363. model = "eTSEC";
  364. compatible = "fsl,etsec2";
  365. fsl,num_rx_queues = <0x8>;
  366. fsl,num_tx_queues = <0x8>;
  367. fsl,magic-packet;
  368. fsl,wake-on-filer;
  369. local-mac-address = [ 00 00 00 00 00 00 ];
  370. fixed-link = <1 1 1000 0 0>;
  371. phy-handle = <&phy0>;
  372. phy-connection-type = "rgmii-id";
  373. queue-group@0{
  374. #address-cells = <1>;
  375. #size-cells = <1>;
  376. reg = <0xB0000 0x1000>;
  377. interrupts = <29 2 0 0 30 2 0 0 34 2 0 0>;
  378. };
  379. queue-group@1{
  380. #address-cells = <1>;
  381. #size-cells = <1>;
  382. reg = <0xB4000 0x1000>;
  383. interrupts = <17 2 0 0 18 2 0 0 24 2 0 0>;
  384. };
  385. };
  386. enet1: ethernet@B1000 {
  387. #address-cells = <1>;
  388. #size-cells = <1>;
  389. cell-index = <0>;
  390. device_type = "network";
  391. model = "eTSEC";
  392. compatible = "fsl,etsec2";
  393. fsl,num_rx_queues = <0x8>;
  394. fsl,num_tx_queues = <0x8>;
  395. local-mac-address = [ 00 00 00 00 00 00 ];
  396. fixed-link = <1 1 1000 0 0>;
  397. phy-handle = <&phy1>;
  398. phy-connection-type = "rgmii-id";
  399. queue-group@0{
  400. #address-cells = <1>;
  401. #size-cells = <1>;
  402. reg = <0xB1000 0x1000>;
  403. interrupts = <35 2 0 0 36 2 0 0 40 2 0 0>;
  404. };
  405. queue-group@1{
  406. #address-cells = <1>;
  407. #size-cells = <1>;
  408. reg = <0xB5000 0x1000>;
  409. interrupts = <51 2 0 0 52 2 0 0 67 2 0 0>;
  410. };
  411. };
  412. sdhci@2e000 {
  413. compatible = "fsl,p1022-esdhc", "fsl,esdhc";
  414. reg = <0x2e000 0x1000>;
  415. interrupts = <72 0x2 0 0>;
  416. fsl,sdhci-auto-cmd12;
  417. /* Filled in by U-Boot */
  418. clock-frequency = <0>;
  419. };
  420. crypto@30000 {
  421. compatible = "fsl,sec3.3", "fsl,sec3.1", "fsl,sec3.0",
  422. "fsl,sec2.4", "fsl,sec2.2", "fsl,sec2.1",
  423. "fsl,sec2.0";
  424. reg = <0x30000 0x10000>;
  425. interrupts = <45 2 0 0 58 2 0 0>;
  426. fsl,num-channels = <4>;
  427. fsl,channel-fifo-len = <24>;
  428. fsl,exec-units-mask = <0x97c>;
  429. fsl,descriptor-types-mask = <0x3a30abf>;
  430. };
  431. sata@18000 {
  432. compatible = "fsl,p1022-sata", "fsl,pq-sata-v2";
  433. reg = <0x18000 0x1000>;
  434. cell-index = <1>;
  435. interrupts = <74 0x2 0 0>;
  436. };
  437. sata@19000 {
  438. compatible = "fsl,p1022-sata", "fsl,pq-sata-v2";
  439. reg = <0x19000 0x1000>;
  440. cell-index = <2>;
  441. interrupts = <41 0x2 0 0>;
  442. };
  443. power@e0070{
  444. compatible = "fsl,mpc8536-pmc", "fsl,mpc8548-pmc";
  445. reg = <0xe0070 0x20>;
  446. };
  447. display@10000 {
  448. compatible = "fsl,diu", "fsl,p1022-diu";
  449. reg = <0x10000 1000>;
  450. interrupts = <64 2 0 0>;
  451. };
  452. timer@41100 {
  453. compatible = "fsl,mpic-global-timer";
  454. reg = <0x41100 0x100 0x41300 4>;
  455. interrupts = <0 0 3 0
  456. 1 0 3 0
  457. 2 0 3 0
  458. 3 0 3 0>;
  459. };
  460. timer@42100 {
  461. compatible = "fsl,mpic-global-timer";
  462. reg = <0x42100 0x100 0x42300 4>;
  463. interrupts = <4 0 3 0
  464. 5 0 3 0
  465. 6 0 3 0
  466. 7 0 3 0>;
  467. };
  468. mpic: pic@40000 {
  469. interrupt-controller;
  470. #address-cells = <0>;
  471. #interrupt-cells = <4>;
  472. reg = <0x40000 0x40000>;
  473. compatible = "fsl,mpic";
  474. device_type = "open-pic";
  475. };
  476. msi@41600 {
  477. compatible = "fsl,p1022-msi", "fsl,mpic-msi";
  478. reg = <0x41600 0x80>;
  479. msi-available-ranges = <0 0x100>;
  480. interrupts = <
  481. 0xe0 0 0 0
  482. 0xe1 0 0 0
  483. 0xe2 0 0 0
  484. 0xe3 0 0 0
  485. 0xe4 0 0 0
  486. 0xe5 0 0 0
  487. 0xe6 0 0 0
  488. 0xe7 0 0 0>;
  489. };
  490. global-utilities@e0000 { //global utilities block
  491. compatible = "fsl,p1022-guts";
  492. reg = <0xe0000 0x1000>;
  493. fsl,has-rstcr;
  494. };
  495. };
  496. pci0: pcie@fffe09000 {
  497. compatible = "fsl,p1022-pcie";
  498. device_type = "pci";
  499. #interrupt-cells = <1>;
  500. #size-cells = <2>;
  501. #address-cells = <3>;
  502. reg = <0xf 0xffe09000 0 0x1000>;
  503. bus-range = <0 255>;
  504. ranges = <0x2000000 0x0 0xa0000000 0xc 0x20000000 0x0 0x20000000
  505. 0x1000000 0x0 0x00000000 0xf 0xffc10000 0x0 0x10000>;
  506. clock-frequency = <33333333>;
  507. interrupts = <16 2 0 0>;
  508. interrupt-map-mask = <0xf800 0 0 7>;
  509. interrupt-map = <
  510. /* IDSEL 0x0 */
  511. 0000 0 0 1 &mpic 4 1
  512. 0000 0 0 2 &mpic 5 1
  513. 0000 0 0 3 &mpic 6 1
  514. 0000 0 0 4 &mpic 7 1
  515. >;
  516. pcie@0 {
  517. reg = <0x0 0x0 0x0 0x0 0x0>;
  518. #size-cells = <2>;
  519. #address-cells = <3>;
  520. device_type = "pci";
  521. ranges = <0x2000000 0x0 0xe0000000
  522. 0x2000000 0x0 0xe0000000
  523. 0x0 0x20000000
  524. 0x1000000 0x0 0x0
  525. 0x1000000 0x0 0x0
  526. 0x0 0x100000>;
  527. };
  528. };
  529. pci1: pcie@fffe0a000 {
  530. compatible = "fsl,p1022-pcie";
  531. device_type = "pci";
  532. #interrupt-cells = <1>;
  533. #size-cells = <2>;
  534. #address-cells = <3>;
  535. reg = <0xf 0xffe0a000 0 0x1000>;
  536. bus-range = <0 255>;
  537. ranges = <0x2000000 0x0 0xc0000000 0xc 0x40000000 0x0 0x20000000
  538. 0x1000000 0x0 0x00000000 0xf 0xffc20000 0x0 0x10000>;
  539. clock-frequency = <33333333>;
  540. interrupts = <16 2 0 0>;
  541. interrupt-map-mask = <0xf800 0 0 7>;
  542. interrupt-map = <
  543. /* IDSEL 0x0 */
  544. 0000 0 0 1 &mpic 0 1
  545. 0000 0 0 2 &mpic 1 1
  546. 0000 0 0 3 &mpic 2 1
  547. 0000 0 0 4 &mpic 3 1
  548. >;
  549. pcie@0 {
  550. reg = <0x0 0x0 0x0 0x0 0x0>;
  551. #size-cells = <2>;
  552. #address-cells = <3>;
  553. device_type = "pci";
  554. ranges = <0x2000000 0x0 0xe0000000
  555. 0x2000000 0x0 0xe0000000
  556. 0x0 0x20000000
  557. 0x1000000 0x0 0x0
  558. 0x1000000 0x0 0x0
  559. 0x0 0x100000>;
  560. };
  561. };
  562. pci2: pcie@fffe0b000 {
  563. compatible = "fsl,p1022-pcie";
  564. device_type = "pci";
  565. #interrupt-cells = <1>;
  566. #size-cells = <2>;
  567. #address-cells = <3>;
  568. reg = <0xf 0xffe0b000 0 0x1000>;
  569. bus-range = <0 255>;
  570. ranges = <0x2000000 0x0 0x80000000 0xc 0x00000000 0x0 0x20000000
  571. 0x1000000 0x0 0x00000000 0xf 0xffc00000 0x0 0x10000>;
  572. clock-frequency = <33333333>;
  573. interrupts = <16 2 0 0>;
  574. interrupt-map-mask = <0xf800 0 0 7>;
  575. interrupt-map = <
  576. /* IDSEL 0x0 */
  577. 0000 0 0 1 &mpic 8 1
  578. 0000 0 0 2 &mpic 9 1
  579. 0000 0 0 3 &mpic 10 1
  580. 0000 0 0 4 &mpic 11 1
  581. >;
  582. pcie@0 {
  583. reg = <0x0 0x0 0x0 0x0 0x0>;
  584. #size-cells = <2>;
  585. #address-cells = <3>;
  586. device_type = "pci";
  587. ranges = <0x2000000 0x0 0xe0000000
  588. 0x2000000 0x0 0xe0000000
  589. 0x0 0x20000000
  590. 0x1000000 0x0 0x0
  591. 0x1000000 0x0 0x0
  592. 0x0 0x100000>;
  593. };
  594. };
  595. };