prima2.dtsi 19 KB

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