atlas6.dtsi 20 KB

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