prima2.dtsi 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690
  1. /*
  2. * DTS file for CSR SiRFprimaII SoC
  3. *
  4. * Copyright (c) 2012 Cambridge Silicon Radio Limited, a CSR plc group company.
  5. *
  6. * Licensed under GPLv2 or later.
  7. */
  8. /include/ "skeleton.dtsi"
  9. / {
  10. compatible = "sirf,prima2";
  11. #address-cells = <1>;
  12. #size-cells = <1>;
  13. interrupt-parent = <&intc>;
  14. cpus {
  15. #address-cells = <1>;
  16. #size-cells = <0>;
  17. cpu@0 {
  18. compatible = "arm,cortex-a9";
  19. device_type = "cpu";
  20. reg = <0x0>;
  21. d-cache-line-size = <32>;
  22. i-cache-line-size = <32>;
  23. d-cache-size = <32768>;
  24. i-cache-size = <32768>;
  25. /* from bootloader */
  26. timebase-frequency = <0>;
  27. bus-frequency = <0>;
  28. clock-frequency = <0>;
  29. };
  30. };
  31. axi {
  32. compatible = "simple-bus";
  33. #address-cells = <1>;
  34. #size-cells = <1>;
  35. ranges = <0x40000000 0x40000000 0x80000000>;
  36. l2-cache-controller@80040000 {
  37. compatible = "arm,pl310-cache", "sirf,prima2-pl310-cache";
  38. reg = <0x80040000 0x1000>;
  39. interrupts = <59>;
  40. arm,tag-latency = <1 1 1>;
  41. arm,data-latency = <1 1 1>;
  42. arm,filter-ranges = <0 0x40000000>;
  43. };
  44. intc: interrupt-controller@80020000 {
  45. #interrupt-cells = <1>;
  46. interrupt-controller;
  47. compatible = "sirf,prima2-intc";
  48. reg = <0x80020000 0x1000>;
  49. };
  50. sys-iobg {
  51. compatible = "simple-bus";
  52. #address-cells = <1>;
  53. #size-cells = <1>;
  54. ranges = <0x88000000 0x88000000 0x40000>;
  55. clks: clock-controller@88000000 {
  56. compatible = "sirf,prima2-clkc";
  57. reg = <0x88000000 0x1000>;
  58. interrupts = <3>;
  59. #clock-cells = <1>;
  60. };
  61. reset-controller@88010000 {
  62. compatible = "sirf,prima2-rstc";
  63. reg = <0x88010000 0x1000>;
  64. };
  65. rsc-controller@88020000 {
  66. compatible = "sirf,prima2-rsc";
  67. reg = <0x88020000 0x1000>;
  68. };
  69. };
  70. mem-iobg {
  71. compatible = "simple-bus";
  72. #address-cells = <1>;
  73. #size-cells = <1>;
  74. ranges = <0x90000000 0x90000000 0x10000>;
  75. memory-controller@90000000 {
  76. compatible = "sirf,prima2-memc";
  77. reg = <0x90000000 0x10000>;
  78. interrupts = <27>;
  79. clocks = <&clks 5>;
  80. };
  81. };
  82. disp-iobg {
  83. compatible = "simple-bus";
  84. #address-cells = <1>;
  85. #size-cells = <1>;
  86. ranges = <0x90010000 0x90010000 0x30000>;
  87. display@90010000 {
  88. compatible = "sirf,prima2-lcd";
  89. reg = <0x90010000 0x20000>;
  90. interrupts = <30>;
  91. };
  92. vpp@90020000 {
  93. compatible = "sirf,prima2-vpp";
  94. reg = <0x90020000 0x10000>;
  95. interrupts = <31>;
  96. clocks = <&clks 35>;
  97. };
  98. };
  99. graphics-iobg {
  100. compatible = "simple-bus";
  101. #address-cells = <1>;
  102. #size-cells = <1>;
  103. ranges = <0x98000000 0x98000000 0x8000000>;
  104. graphics@98000000 {
  105. compatible = "powervr,sgx531";
  106. reg = <0x98000000 0x8000000>;
  107. interrupts = <6>;
  108. clocks = <&clks 32>;
  109. };
  110. };
  111. multimedia-iobg {
  112. compatible = "simple-bus";
  113. #address-cells = <1>;
  114. #size-cells = <1>;
  115. ranges = <0xa0000000 0xa0000000 0x8000000>;
  116. multimedia@a0000000 {
  117. compatible = "sirf,prima2-video-codec";
  118. reg = <0xa0000000 0x8000000>;
  119. interrupts = <5>;
  120. clocks = <&clks 33>;
  121. };
  122. };
  123. dsp-iobg {
  124. compatible = "simple-bus";
  125. #address-cells = <1>;
  126. #size-cells = <1>;
  127. ranges = <0xa8000000 0xa8000000 0x2000000>;
  128. dspif@a8000000 {
  129. compatible = "sirf,prima2-dspif";
  130. reg = <0xa8000000 0x10000>;
  131. interrupts = <9>;
  132. };
  133. gps@a8010000 {
  134. compatible = "sirf,prima2-gps";
  135. reg = <0xa8010000 0x10000>;
  136. interrupts = <7>;
  137. clocks = <&clks 9>;
  138. };
  139. dsp@a9000000 {
  140. compatible = "sirf,prima2-dsp";
  141. reg = <0xa9000000 0x1000000>;
  142. interrupts = <8>;
  143. clocks = <&clks 8>;
  144. };
  145. };
  146. peri-iobg {
  147. compatible = "simple-bus";
  148. #address-cells = <1>;
  149. #size-cells = <1>;
  150. ranges = <0xb0000000 0xb0000000 0x180000>,
  151. <0x56000000 0x56000000 0x1b00000>;
  152. timer@b0020000 {
  153. compatible = "sirf,prima2-tick";
  154. reg = <0xb0020000 0x1000>;
  155. interrupts = <0>;
  156. };
  157. nand@b0030000 {
  158. compatible = "sirf,prima2-nand";
  159. reg = <0xb0030000 0x10000>;
  160. interrupts = <41>;
  161. clocks = <&clks 26>;
  162. };
  163. audio@b0040000 {
  164. compatible = "sirf,prima2-audio";
  165. reg = <0xb0040000 0x10000>;
  166. interrupts = <35>;
  167. clocks = <&clks 27>;
  168. };
  169. uart0: uart@b0050000 {
  170. cell-index = <0>;
  171. compatible = "sirf,prima2-uart";
  172. reg = <0xb0050000 0x1000>;
  173. interrupts = <17>;
  174. fifosize = <128>;
  175. clocks = <&clks 13>;
  176. sirf,uart-dma-rx-channel = <21>;
  177. sirf,uart-dma-tx-channel = <2>;
  178. };
  179. uart1: uart@b0060000 {
  180. cell-index = <1>;
  181. compatible = "sirf,prima2-uart";
  182. reg = <0xb0060000 0x1000>;
  183. interrupts = <18>;
  184. fifosize = <32>;
  185. clocks = <&clks 14>;
  186. };
  187. uart2: uart@b0070000 {
  188. cell-index = <2>;
  189. compatible = "sirf,prima2-uart";
  190. reg = <0xb0070000 0x1000>;
  191. interrupts = <19>;
  192. fifosize = <128>;
  193. clocks = <&clks 15>;
  194. sirf,uart-dma-rx-channel = <6>;
  195. sirf,uart-dma-tx-channel = <7>;
  196. };
  197. usp0: usp@b0080000 {
  198. cell-index = <0>;
  199. compatible = "sirf,prima2-usp";
  200. reg = <0xb0080000 0x10000>;
  201. interrupts = <20>;
  202. fifosize = <128>;
  203. clocks = <&clks 28>;
  204. sirf,usp-dma-rx-channel = <17>;
  205. sirf,usp-dma-tx-channel = <18>;
  206. };
  207. usp1: usp@b0090000 {
  208. cell-index = <1>;
  209. compatible = "sirf,prima2-usp";
  210. reg = <0xb0090000 0x10000>;
  211. interrupts = <21>;
  212. fifosize = <128>;
  213. clocks = <&clks 29>;
  214. sirf,usp-dma-rx-channel = <14>;
  215. sirf,usp-dma-tx-channel = <15>;
  216. };
  217. usp2: usp@b00a0000 {
  218. cell-index = <2>;
  219. compatible = "sirf,prima2-usp";
  220. reg = <0xb00a0000 0x10000>;
  221. interrupts = <22>;
  222. fifosize = <128>;
  223. clocks = <&clks 30>;
  224. sirf,usp-dma-rx-channel = <10>;
  225. sirf,usp-dma-tx-channel = <11>;
  226. };
  227. dmac0: dma-controller@b00b0000 {
  228. cell-index = <0>;
  229. compatible = "sirf,prima2-dmac";
  230. reg = <0xb00b0000 0x10000>;
  231. interrupts = <12>;
  232. clocks = <&clks 24>;
  233. };
  234. dmac1: dma-controller@b0160000 {
  235. cell-index = <1>;
  236. compatible = "sirf,prima2-dmac";
  237. reg = <0xb0160000 0x10000>;
  238. interrupts = <13>;
  239. clocks = <&clks 25>;
  240. };
  241. vip@b00C0000 {
  242. compatible = "sirf,prima2-vip";
  243. reg = <0xb00C0000 0x10000>;
  244. clocks = <&clks 31>;
  245. interrupts = <14>;
  246. sirf,vip-dma-rx-channel = <16>;
  247. };
  248. spi0: spi@b00d0000 {
  249. cell-index = <0>;
  250. compatible = "sirf,prima2-spi";
  251. reg = <0xb00d0000 0x10000>;
  252. interrupts = <15>;
  253. clocks = <&clks 19>;
  254. };
  255. spi1: spi@b0170000 {
  256. cell-index = <1>;
  257. compatible = "sirf,prima2-spi";
  258. reg = <0xb0170000 0x10000>;
  259. interrupts = <16>;
  260. clocks = <&clks 20>;
  261. };
  262. i2c0: i2c@b00e0000 {
  263. cell-index = <0>;
  264. compatible = "sirf,prima2-i2c";
  265. reg = <0xb00e0000 0x10000>;
  266. interrupts = <24>;
  267. clocks = <&clks 17>;
  268. };
  269. i2c1: i2c@b00f0000 {
  270. cell-index = <1>;
  271. compatible = "sirf,prima2-i2c";
  272. reg = <0xb00f0000 0x10000>;
  273. interrupts = <25>;
  274. clocks = <&clks 18>;
  275. };
  276. tsc@b0110000 {
  277. compatible = "sirf,prima2-tsc";
  278. reg = <0xb0110000 0x10000>;
  279. interrupts = <33>;
  280. clocks = <&clks 16>;
  281. };
  282. gpio: pinctrl@b0120000 {
  283. #gpio-cells = <2>;
  284. #interrupt-cells = <2>;
  285. compatible = "sirf,prima2-pinctrl";
  286. reg = <0xb0120000 0x10000>;
  287. interrupts = <43 44 45 46 47>;
  288. gpio-controller;
  289. interrupt-controller;
  290. lcd_16pins_a: lcd0@0 {
  291. lcd {
  292. sirf,pins = "lcd_16bitsgrp";
  293. sirf,function = "lcd_16bits";
  294. };
  295. };
  296. lcd_18pins_a: lcd0@1 {
  297. lcd {
  298. sirf,pins = "lcd_18bitsgrp";
  299. sirf,function = "lcd_18bits";
  300. };
  301. };
  302. lcd_24pins_a: lcd0@2 {
  303. lcd {
  304. sirf,pins = "lcd_24bitsgrp";
  305. sirf,function = "lcd_24bits";
  306. };
  307. };
  308. lcdrom_pins_a: lcdrom0@0 {
  309. lcd {
  310. sirf,pins = "lcdromgrp";
  311. sirf,function = "lcdrom";
  312. };
  313. };
  314. uart0_pins_a: uart0@0 {
  315. uart {
  316. sirf,pins = "uart0grp";
  317. sirf,function = "uart0";
  318. };
  319. };
  320. uart1_pins_a: uart1@0 {
  321. uart {
  322. sirf,pins = "uart1grp";
  323. sirf,function = "uart1";
  324. };
  325. };
  326. uart2_pins_a: uart2@0 {
  327. uart {
  328. sirf,pins = "uart2grp";
  329. sirf,function = "uart2";
  330. };
  331. };
  332. uart2_noflow_pins_a: uart2@1 {
  333. uart {
  334. sirf,pins = "uart2_nostreamctrlgrp";
  335. sirf,function = "uart2_nostreamctrl";
  336. };
  337. };
  338. spi0_pins_a: spi0@0 {
  339. spi {
  340. sirf,pins = "spi0grp";
  341. sirf,function = "spi0";
  342. };
  343. };
  344. spi1_pins_a: spi1@0 {
  345. spi {
  346. sirf,pins = "spi1grp";
  347. sirf,function = "spi1";
  348. };
  349. };
  350. i2c0_pins_a: i2c0@0 {
  351. i2c {
  352. sirf,pins = "i2c0grp";
  353. sirf,function = "i2c0";
  354. };
  355. };
  356. i2c1_pins_a: i2c1@0 {
  357. i2c {
  358. sirf,pins = "i2c1grp";
  359. sirf,function = "i2c1";
  360. };
  361. };
  362. pwm0_pins_a: pwm0@0 {
  363. pwm {
  364. sirf,pins = "pwm0grp";
  365. sirf,function = "pwm0";
  366. };
  367. };
  368. pwm1_pins_a: pwm1@0 {
  369. pwm {
  370. sirf,pins = "pwm1grp";
  371. sirf,function = "pwm1";
  372. };
  373. };
  374. pwm2_pins_a: pwm2@0 {
  375. pwm {
  376. sirf,pins = "pwm2grp";
  377. sirf,function = "pwm2";
  378. };
  379. };
  380. pwm3_pins_a: pwm3@0 {
  381. pwm {
  382. sirf,pins = "pwm3grp";
  383. sirf,function = "pwm3";
  384. };
  385. };
  386. gps_pins_a: gps@0 {
  387. gps {
  388. sirf,pins = "gpsgrp";
  389. sirf,function = "gps";
  390. };
  391. };
  392. vip_pins_a: vip@0 {
  393. vip {
  394. sirf,pins = "vipgrp";
  395. sirf,function = "vip";
  396. };
  397. };
  398. sdmmc0_pins_a: sdmmc0@0 {
  399. sdmmc0 {
  400. sirf,pins = "sdmmc0grp";
  401. sirf,function = "sdmmc0";
  402. };
  403. };
  404. sdmmc1_pins_a: sdmmc1@0 {
  405. sdmmc1 {
  406. sirf,pins = "sdmmc1grp";
  407. sirf,function = "sdmmc1";
  408. };
  409. };
  410. sdmmc2_pins_a: sdmmc2@0 {
  411. sdmmc2 {
  412. sirf,pins = "sdmmc2grp";
  413. sirf,function = "sdmmc2";
  414. };
  415. };
  416. sdmmc3_pins_a: sdmmc3@0 {
  417. sdmmc3 {
  418. sirf,pins = "sdmmc3grp";
  419. sirf,function = "sdmmc3";
  420. };
  421. };
  422. sdmmc4_pins_a: sdmmc4@0 {
  423. sdmmc4 {
  424. sirf,pins = "sdmmc4grp";
  425. sirf,function = "sdmmc4";
  426. };
  427. };
  428. sdmmc5_pins_a: sdmmc5@0 {
  429. sdmmc5 {
  430. sirf,pins = "sdmmc5grp";
  431. sirf,function = "sdmmc5";
  432. };
  433. };
  434. i2s_pins_a: i2s@0 {
  435. i2s {
  436. sirf,pins = "i2sgrp";
  437. sirf,function = "i2s";
  438. };
  439. };
  440. ac97_pins_a: ac97@0 {
  441. ac97 {
  442. sirf,pins = "ac97grp";
  443. sirf,function = "ac97";
  444. };
  445. };
  446. nand_pins_a: nand@0 {
  447. nand {
  448. sirf,pins = "nandgrp";
  449. sirf,function = "nand";
  450. };
  451. };
  452. usp0_pins_a: usp0@0 {
  453. usp0 {
  454. sirf,pins = "usp0grp";
  455. sirf,function = "usp0";
  456. };
  457. };
  458. usp1_pins_a: usp1@0 {
  459. usp1 {
  460. sirf,pins = "usp1grp";
  461. sirf,function = "usp1";
  462. };
  463. };
  464. usp2_pins_a: usp2@0 {
  465. usp2 {
  466. sirf,pins = "usp2grp";
  467. sirf,function = "usp2";
  468. };
  469. };
  470. usb0_utmi_drvbus_pins_a: usb0_utmi_drvbus@0 {
  471. usb0_utmi_drvbus {
  472. sirf,pins = "usb0_utmi_drvbusgrp";
  473. sirf,function = "usb0_utmi_drvbus";
  474. };
  475. };
  476. usb1_utmi_drvbus_pins_a: usb1_utmi_drvbus@0 {
  477. usb1_utmi_drvbus {
  478. sirf,pins = "usb1_utmi_drvbusgrp";
  479. sirf,function = "usb1_utmi_drvbus";
  480. };
  481. };
  482. warm_rst_pins_a: warm_rst@0 {
  483. warm_rst {
  484. sirf,pins = "warm_rstgrp";
  485. sirf,function = "warm_rst";
  486. };
  487. };
  488. pulse_count_pins_a: pulse_count@0 {
  489. pulse_count {
  490. sirf,pins = "pulse_countgrp";
  491. sirf,function = "pulse_count";
  492. };
  493. };
  494. cko0_pins_a: cko0@0 {
  495. cko0 {
  496. sirf,pins = "cko0grp";
  497. sirf,function = "cko0";
  498. };
  499. };
  500. cko1_pins_a: cko1@0 {
  501. cko1 {
  502. sirf,pins = "cko1grp";
  503. sirf,function = "cko1";
  504. };
  505. };
  506. };
  507. pwm@b0130000 {
  508. compatible = "sirf,prima2-pwm";
  509. reg = <0xb0130000 0x10000>;
  510. clocks = <&clks 21>;
  511. };
  512. efusesys@b0140000 {
  513. compatible = "sirf,prima2-efuse";
  514. reg = <0xb0140000 0x10000>;
  515. clocks = <&clks 22>;
  516. };
  517. pulsec@b0150000 {
  518. compatible = "sirf,prima2-pulsec";
  519. reg = <0xb0150000 0x10000>;
  520. interrupts = <48>;
  521. clocks = <&clks 23>;
  522. };
  523. pci-iobg {
  524. compatible = "sirf,prima2-pciiobg", "simple-bus";
  525. #address-cells = <1>;
  526. #size-cells = <1>;
  527. ranges = <0x56000000 0x56000000 0x1b00000>;
  528. sd0: sdhci@56000000 {
  529. cell-index = <0>;
  530. compatible = "sirf,prima2-sdhc";
  531. reg = <0x56000000 0x100000>;
  532. interrupts = <38>;
  533. };
  534. sd1: sdhci@56100000 {
  535. cell-index = <1>;
  536. compatible = "sirf,prima2-sdhc";
  537. reg = <0x56100000 0x100000>;
  538. interrupts = <38>;
  539. };
  540. sd2: sdhci@56200000 {
  541. cell-index = <2>;
  542. compatible = "sirf,prima2-sdhc";
  543. reg = <0x56200000 0x100000>;
  544. interrupts = <23>;
  545. };
  546. sd3: sdhci@56300000 {
  547. cell-index = <3>;
  548. compatible = "sirf,prima2-sdhc";
  549. reg = <0x56300000 0x100000>;
  550. interrupts = <23>;
  551. };
  552. sd4: sdhci@56400000 {
  553. cell-index = <4>;
  554. compatible = "sirf,prima2-sdhc";
  555. reg = <0x56400000 0x100000>;
  556. interrupts = <39>;
  557. };
  558. sd5: sdhci@56500000 {
  559. cell-index = <5>;
  560. compatible = "sirf,prima2-sdhc";
  561. reg = <0x56500000 0x100000>;
  562. interrupts = <39>;
  563. };
  564. pci-copy@57900000 {
  565. compatible = "sirf,prima2-pcicp";
  566. reg = <0x57900000 0x100000>;
  567. interrupts = <40>;
  568. };
  569. rom-interface@57a00000 {
  570. compatible = "sirf,prima2-romif";
  571. reg = <0x57a00000 0x100000>;
  572. };
  573. };
  574. };
  575. rtc-iobg {
  576. compatible = "sirf,prima2-rtciobg", "sirf-prima2-rtciobg-bus", "simple-bus";
  577. #address-cells = <1>;
  578. #size-cells = <1>;
  579. reg = <0x80030000 0x10000>;
  580. gpsrtc@1000 {
  581. compatible = "sirf,prima2-gpsrtc";
  582. reg = <0x1000 0x1000>;
  583. interrupts = <55 56 57>;
  584. };
  585. sysrtc@2000 {
  586. compatible = "sirf,prima2-sysrtc";
  587. reg = <0x2000 0x1000>;
  588. interrupts = <52 53 54>;
  589. };
  590. pwrc@3000 {
  591. compatible = "sirf,prima2-pwrc";
  592. reg = <0x3000 0x1000>;
  593. interrupts = <32>;
  594. };
  595. };
  596. uus-iobg {
  597. compatible = "simple-bus";
  598. #address-cells = <1>;
  599. #size-cells = <1>;
  600. ranges = <0xb8000000 0xb8000000 0x40000>;
  601. usb0: usb@b00e0000 {
  602. compatible = "chipidea,ci13611a-prima2";
  603. reg = <0xb8000000 0x10000>;
  604. interrupts = <10>;
  605. clocks = <&clks 40>;
  606. };
  607. usb1: usb@b00f0000 {
  608. compatible = "chipidea,ci13611a-prima2";
  609. reg = <0xb8010000 0x10000>;
  610. interrupts = <11>;
  611. clocks = <&clks 41>;
  612. };
  613. sata@b00f0000 {
  614. compatible = "synopsys,dwc-ahsata";
  615. reg = <0xb8020000 0x10000>;
  616. interrupts = <37>;
  617. };
  618. security@b00f0000 {
  619. compatible = "sirf,prima2-security";
  620. reg = <0xb8030000 0x10000>;
  621. interrupts = <42>;
  622. clocks = <&clks 7>;
  623. };
  624. };
  625. };
  626. };