prima2.dtsi 18 KB

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