prima2.dtsi 20 KB

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