Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

i2s.yaml 16 KiB

1 rok temu
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619
  1. !!omap
  2. - I2S0_DAO:
  3. fields: !!omap
  4. - WORDWIDTH:
  5. access: rw
  6. description: Selects the number of bytes in data
  7. lsb: 0
  8. reset_value: '1'
  9. width: 2
  10. - MONO:
  11. access: rw
  12. description: When 1, data is of monaural format. When 0, the data is in stereo
  13. format
  14. lsb: 2
  15. reset_value: '0'
  16. width: 1
  17. - STOP:
  18. access: rw
  19. description: When 1, disables accesses on FIFOs, places the transmit channel
  20. in mute mode
  21. lsb: 3
  22. reset_value: '0'
  23. width: 1
  24. - RESET:
  25. access: rw
  26. description: When 1, asynchronously resets the transmit channel and FIFO
  27. lsb: 4
  28. reset_value: '0'
  29. width: 1
  30. - WS_SEL:
  31. access: rw
  32. description: When 0, the interface is in master mode. When 1, the interface
  33. is in slave mode
  34. lsb: 5
  35. reset_value: '1'
  36. width: 1
  37. - WS_HALFPERIOD:
  38. access: rw
  39. description: Word select half period minus 1, i.e. WS 64clk period -> ws_halfperiod
  40. = 31.
  41. lsb: 6
  42. reset_value: '0x1f'
  43. width: 9
  44. - MUTE:
  45. access: rw
  46. description: When 1, the transmit channel sends only zeroes
  47. lsb: 15
  48. reset_value: '1'
  49. width: 1
  50. - I2S1_DAO:
  51. fields: !!omap
  52. - WORDWIDTH:
  53. access: rw
  54. description: Selects the number of bytes in data
  55. lsb: 0
  56. reset_value: '1'
  57. width: 2
  58. - MONO:
  59. access: rw
  60. description: When 1, data is of monaural format. When 0, the data is in stereo
  61. format
  62. lsb: 2
  63. reset_value: '0'
  64. width: 1
  65. - STOP:
  66. access: rw
  67. description: When 1, disables accesses on FIFOs, places the transmit channel
  68. in mute mode
  69. lsb: 3
  70. reset_value: '0'
  71. width: 1
  72. - RESET:
  73. access: rw
  74. description: When 1, asynchronously resets the transmit channel and FIFO
  75. lsb: 4
  76. reset_value: '0'
  77. width: 1
  78. - WS_SEL:
  79. access: rw
  80. description: When 0, the interface is in master mode. When 1, the interface
  81. is in slave mode
  82. lsb: 5
  83. reset_value: '1'
  84. width: 1
  85. - WS_HALFPERIOD:
  86. access: rw
  87. description: Word select half period minus 1, i.e. WS 64clk period -> ws_halfperiod
  88. = 31.
  89. lsb: 6
  90. reset_value: '0x1f'
  91. width: 9
  92. - MUTE:
  93. access: rw
  94. description: When 1, the transmit channel sends only zeroes
  95. lsb: 15
  96. reset_value: '1'
  97. width: 1
  98. - I2S0_DAI:
  99. fields: !!omap
  100. - WORDWIDTH:
  101. access: rw
  102. description: Selects the number of bytes in data
  103. lsb: 0
  104. reset_value: '1'
  105. width: 2
  106. - MONO:
  107. access: rw
  108. description: When 1, data is of monaural format. When 0, the data is in stereo
  109. format
  110. lsb: 2
  111. reset_value: '0'
  112. width: 1
  113. - STOP:
  114. access: rw
  115. description: When 1, disables accesses on FIFOs, places the transmit channel
  116. in mute mode
  117. lsb: 3
  118. reset_value: '0'
  119. width: 1
  120. - RESET:
  121. access: rw
  122. description: When 1, asynchronously resets the transmit channel and FIFO
  123. lsb: 4
  124. reset_value: '0'
  125. width: 1
  126. - WS_SEL:
  127. access: rw
  128. description: When 0, the interface is in master mode. When 1, the interface
  129. is in slave mode
  130. lsb: 5
  131. reset_value: '1'
  132. width: 1
  133. - WS_HALFPERIOD:
  134. access: rw
  135. description: Word select half period minus 1, i.e. WS 64clk period -> ws_halfperiod
  136. = 31.
  137. lsb: 6
  138. reset_value: '0x1f'
  139. width: 9
  140. - MUTE:
  141. access: rw
  142. description: When 1, the transmit channel sends only zeroes
  143. lsb: 15
  144. reset_value: '1'
  145. width: 1
  146. - I2S1_DAI:
  147. fields: !!omap
  148. - WORDWIDTH:
  149. access: rw
  150. description: Selects the number of bytes in data
  151. lsb: 0
  152. reset_value: '1'
  153. width: 2
  154. - MONO:
  155. access: rw
  156. description: When 1, data is of monaural format. When 0, the data is in stereo
  157. format
  158. lsb: 2
  159. reset_value: '0'
  160. width: 1
  161. - STOP:
  162. access: rw
  163. description: When 1, disables accesses on FIFOs, places the transmit channel
  164. in mute mode
  165. lsb: 3
  166. reset_value: '0'
  167. width: 1
  168. - RESET:
  169. access: rw
  170. description: When 1, asynchronously resets the transmit channel and FIFO
  171. lsb: 4
  172. reset_value: '0'
  173. width: 1
  174. - WS_SEL:
  175. access: rw
  176. description: When 0, the interface is in master mode. When 1, the interface
  177. is in slave mode
  178. lsb: 5
  179. reset_value: '1'
  180. width: 1
  181. - WS_HALFPERIOD:
  182. access: rw
  183. description: Word select half period minus 1, i.e. WS 64clk period -> ws_halfperiod
  184. = 31.
  185. lsb: 6
  186. reset_value: '0x1f'
  187. width: 9
  188. - MUTE:
  189. access: rw
  190. description: When 1, the transmit channel sends only zeroes
  191. lsb: 15
  192. reset_value: '1'
  193. width: 1
  194. - I2S0_TXFIFO:
  195. fields: !!omap
  196. - I2STXFIFO:
  197. access: w
  198. description: 8 x 32-bit transmit FIFO
  199. lsb: 0
  200. reset_value: '0'
  201. width: 32
  202. - I2S1_TXFIFO:
  203. fields: !!omap
  204. - I2STXFIFO:
  205. access: w
  206. description: 8 x 32-bit transmit FIFO
  207. lsb: 0
  208. reset_value: '0'
  209. width: 32
  210. - I2S0_RXFIFO:
  211. fields: !!omap
  212. - I2SRXFIFO:
  213. access: r
  214. description: 8 x 32-bit receive FIFO
  215. lsb: 0
  216. reset_value: '0'
  217. width: 32
  218. - I2S1_RXFIFO:
  219. fields: !!omap
  220. - I2SRXFIFO:
  221. access: r
  222. description: 8 x 32-bit receive FIFO
  223. lsb: 0
  224. reset_value: '0'
  225. width: 32
  226. - I2S0_STATE:
  227. fields: !!omap
  228. - IRQ:
  229. access: r
  230. description: This bit reflects the presence of Receive Interrupt or Transmit
  231. Interrupt
  232. lsb: 0
  233. reset_value: '1'
  234. width: 1
  235. - DMAREQ1:
  236. access: r
  237. description: This bit reflects the presence of Receive or Transmit DMA Request
  238. 1
  239. lsb: 1
  240. reset_value: '1'
  241. width: 1
  242. - DMAREQ2:
  243. access: r
  244. description: This bit reflects the presence of Receive or Transmit DMA Request
  245. 2
  246. lsb: 2
  247. reset_value: '1'
  248. width: 1
  249. - RX_LEVEL:
  250. access: r
  251. description: Reflects the current level of the Receive FIFO
  252. lsb: 8
  253. reset_value: '0'
  254. width: 4
  255. - TX_LEVEL:
  256. access: r
  257. description: Reflects the current level of the Transmit FIFO
  258. lsb: 16
  259. reset_value: '0'
  260. width: 4
  261. - I2S1_STATE:
  262. fields: !!omap
  263. - IRQ:
  264. access: r
  265. description: This bit reflects the presence of Receive Interrupt or Transmit
  266. Interrupt
  267. lsb: 0
  268. reset_value: '1'
  269. width: 1
  270. - DMAREQ1:
  271. access: r
  272. description: This bit reflects the presence of Receive or Transmit DMA Request
  273. 1
  274. lsb: 1
  275. reset_value: '1'
  276. width: 1
  277. - DMAREQ2:
  278. access: r
  279. description: This bit reflects the presence of Receive or Transmit DMA Request
  280. 2
  281. lsb: 2
  282. reset_value: '1'
  283. width: 1
  284. - RX_LEVEL:
  285. access: r
  286. description: Reflects the current level of the Receive FIFO
  287. lsb: 8
  288. reset_value: '0'
  289. width: 4
  290. - TX_LEVEL:
  291. access: r
  292. description: Reflects the current level of the Transmit FIFO
  293. lsb: 16
  294. reset_value: '0'
  295. width: 4
  296. - I2S0_DMA1:
  297. fields: !!omap
  298. - RX_DMA1_ENABLE:
  299. access: rw
  300. description: When 1, enables DMA1 for I2S receive
  301. lsb: 0
  302. reset_value: '0'
  303. width: 1
  304. - TX_DMA1_ENABLE:
  305. access: rw
  306. description: When 1, enables DMA1 for I2S transmit
  307. lsb: 1
  308. reset_value: '0'
  309. width: 1
  310. - RX_DEPTH_DMA1:
  311. access: rw
  312. description: Set the FIFO level that triggers a receive DMA request on DMA1
  313. lsb: 8
  314. reset_value: '0'
  315. width: 4
  316. - TX_DEPTH_DMA1:
  317. access: rw
  318. description: Set the FIFO level that triggers a transmit DMA request on DMA1
  319. lsb: 16
  320. reset_value: '0'
  321. width: 4
  322. - I2S1_DMA1:
  323. fields: !!omap
  324. - RX_DMA1_ENABLE:
  325. access: rw
  326. description: When 1, enables DMA1 for I2S receive
  327. lsb: 0
  328. reset_value: '0'
  329. width: 1
  330. - TX_DMA1_ENABLE:
  331. access: rw
  332. description: When 1, enables DMA1 for I2S transmit
  333. lsb: 1
  334. reset_value: '0'
  335. width: 1
  336. - RX_DEPTH_DMA1:
  337. access: rw
  338. description: Set the FIFO level that triggers a receive DMA request on DMA1
  339. lsb: 8
  340. reset_value: '0'
  341. width: 4
  342. - TX_DEPTH_DMA1:
  343. access: rw
  344. description: Set the FIFO level that triggers a transmit DMA request on DMA1
  345. lsb: 16
  346. reset_value: '0'
  347. width: 4
  348. - I2S0_DMA2:
  349. fields: !!omap
  350. - RX_DMA2_ENABLE:
  351. access: rw
  352. description: When 1, enables DMA2 for I2S receive
  353. lsb: 0
  354. reset_value: '0'
  355. width: 1
  356. - TX_DMA2_ENABLE:
  357. access: rw
  358. description: When 1, enables DMA2 for I2S transmit
  359. lsb: 1
  360. reset_value: '0'
  361. width: 1
  362. - RX_DEPTH_DMA2:
  363. access: rw
  364. description: Set the FIFO level that triggers a receive DMA request on DMA2
  365. lsb: 8
  366. reset_value: '0'
  367. width: 4
  368. - TX_DEPTH_DMA2:
  369. access: rw
  370. description: Set the FIFO level that triggers a transmit DMA request on DMA2
  371. lsb: 16
  372. reset_value: '0'
  373. width: 4
  374. - I2S1_DMA2:
  375. fields: !!omap
  376. - RX_DMA2_ENABLE:
  377. access: rw
  378. description: When 1, enables DMA2 for I2S receive
  379. lsb: 0
  380. reset_value: '0'
  381. width: 1
  382. - TX_DMA2_ENABLE:
  383. access: rw
  384. description: When 1, enables DMA2 for I2S transmit
  385. lsb: 1
  386. reset_value: '0'
  387. width: 1
  388. - RX_DEPTH_DMA2:
  389. access: rw
  390. description: Set the FIFO level that triggers a receive DMA request on DMA2
  391. lsb: 8
  392. reset_value: '0'
  393. width: 4
  394. - TX_DEPTH_DMA2:
  395. access: rw
  396. description: Set the FIFO level that triggers a transmit DMA request on DMA2
  397. lsb: 16
  398. reset_value: '0'
  399. width: 4
  400. - I2S0_IRQ:
  401. fields: !!omap
  402. - RX_IRQ_ENABLE:
  403. access: rw
  404. description: When 1, enables I2S receive interrupt
  405. lsb: 0
  406. reset_value: '0'
  407. width: 1
  408. - TX_IRQ_ENABLE:
  409. access: rw
  410. description: When 1, enables I2S transmit interrupt
  411. lsb: 1
  412. reset_value: '0'
  413. width: 1
  414. - RX_DEPTH_IRQ:
  415. access: rw
  416. description: Set the FIFO level on which to create an irq request.
  417. lsb: 8
  418. reset_value: '0'
  419. width: 4
  420. - TX_DEPTH_IRQ:
  421. access: rw
  422. description: Set the FIFO level on which to create an irq request.
  423. lsb: 16
  424. reset_value: '0'
  425. width: 4
  426. - I2S1_IRQ:
  427. fields: !!omap
  428. - RX_IRQ_ENABLE:
  429. access: rw
  430. description: When 1, enables I2S receive interrupt
  431. lsb: 0
  432. reset_value: '0'
  433. width: 1
  434. - TX_IRQ_ENABLE:
  435. access: rw
  436. description: When 1, enables I2S transmit interrupt
  437. lsb: 1
  438. reset_value: '0'
  439. width: 1
  440. - RX_DEPTH_IRQ:
  441. access: rw
  442. description: Set the FIFO level on which to create an irq request.
  443. lsb: 8
  444. reset_value: '0'
  445. width: 4
  446. - TX_DEPTH_IRQ:
  447. access: rw
  448. description: Set the FIFO level on which to create an irq request.
  449. lsb: 16
  450. reset_value: '0'
  451. width: 4
  452. - I2S0_TXRATE:
  453. fields: !!omap
  454. - Y_DIVIDER:
  455. access: rw
  456. description: I2S transmit MCLK rate denominator
  457. lsb: 0
  458. reset_value: '0'
  459. width: 8
  460. - X_DIVIDER:
  461. access: rw
  462. description: I2S transmit MCLK rate numerator
  463. lsb: 8
  464. reset_value: '0'
  465. width: 8
  466. - I2S1_TXRATE:
  467. fields: !!omap
  468. - Y_DIVIDER:
  469. access: rw
  470. description: I2S transmit MCLK rate denominator
  471. lsb: 0
  472. reset_value: '0'
  473. width: 8
  474. - X_DIVIDER:
  475. access: rw
  476. description: I2S transmit MCLK rate numerator
  477. lsb: 8
  478. reset_value: '0'
  479. width: 8
  480. - I2S0_RXRATE:
  481. fields: !!omap
  482. - Y_DIVIDER:
  483. access: rw
  484. description: I2S receive MCLK rate denominator
  485. lsb: 0
  486. reset_value: '0'
  487. width: 8
  488. - X_DIVIDER:
  489. access: rw
  490. description: I2S receive MCLK rate numerator
  491. lsb: 8
  492. reset_value: '0'
  493. width: 8
  494. - I2S1_RXRATE:
  495. fields: !!omap
  496. - Y_DIVIDER:
  497. access: rw
  498. description: I2S receive MCLK rate denominator
  499. lsb: 0
  500. reset_value: '0'
  501. width: 8
  502. - X_DIVIDER:
  503. access: rw
  504. description: I2S receive MCLK rate numerator
  505. lsb: 8
  506. reset_value: '0'
  507. width: 8
  508. - I2S0_TXBITRATE:
  509. fields: !!omap
  510. - TX_BITRATE:
  511. access: rw
  512. description: I2S transmit bit rate
  513. lsb: 0
  514. reset_value: '0'
  515. width: 6
  516. - I2S1_TXBITRATE:
  517. fields: !!omap
  518. - TX_BITRATE:
  519. access: rw
  520. description: I2S transmit bit rate
  521. lsb: 0
  522. reset_value: '0'
  523. width: 6
  524. - I2S0_RXBITRATE:
  525. fields: !!omap
  526. - RX_BITRATE:
  527. access: rw
  528. description: I2S receive bit rate
  529. lsb: 0
  530. reset_value: '0'
  531. width: 6
  532. - I2S1_RXBITRATE:
  533. fields: !!omap
  534. - RX_BITRATE:
  535. access: rw
  536. description: I2S receive bit rate
  537. lsb: 0
  538. reset_value: '0'
  539. width: 6
  540. - I2S0_TXMODE:
  541. fields: !!omap
  542. - TXCLKSEL:
  543. access: rw
  544. description: Clock source selection for the transmit bit clock divider
  545. lsb: 0
  546. reset_value: '0'
  547. width: 2
  548. - TX4PIN:
  549. access: rw
  550. description: Transmit 4-pin mode selection
  551. lsb: 2
  552. reset_value: '0'
  553. width: 1
  554. - TXMCENA:
  555. access: rw
  556. description: Enable for the TX_MCLK output
  557. lsb: 3
  558. reset_value: '0'
  559. width: 1
  560. - I2S1_TXMODE:
  561. fields: !!omap
  562. - TXCLKSEL:
  563. access: rw
  564. description: Clock source selection for the transmit bit clock divider
  565. lsb: 0
  566. reset_value: '0'
  567. width: 2
  568. - TX4PIN:
  569. access: rw
  570. description: Transmit 4-pin mode selection
  571. lsb: 2
  572. reset_value: '0'
  573. width: 1
  574. - TXMCENA:
  575. access: rw
  576. description: Enable for the TX_MCLK output
  577. lsb: 3
  578. reset_value: '0'
  579. width: 1
  580. - I2S0_RXMODE:
  581. fields: !!omap
  582. - RXCLKSEL:
  583. access: rw
  584. description: Clock source selection for the receive bit clock divider
  585. lsb: 0
  586. reset_value: '0'
  587. width: 2
  588. - RX4PIN:
  589. access: rw
  590. description: Receive 4-pin mode selection
  591. lsb: 2
  592. reset_value: '0'
  593. width: 1
  594. - RXMCENA:
  595. access: rw
  596. description: Enable for the RX_MCLK output
  597. lsb: 3
  598. reset_value: '0'
  599. width: 1
  600. - I2S1_RXMODE:
  601. fields: !!omap
  602. - RXCLKSEL:
  603. access: rw
  604. description: Clock source selection for the receive bit clock divider
  605. lsb: 0
  606. reset_value: '0'
  607. width: 2
  608. - RX4PIN:
  609. access: rw
  610. description: Receive 4-pin mode selection
  611. lsb: 2
  612. reset_value: '0'
  613. width: 1
  614. - RXMCENA:
  615. access: rw
  616. description: Enable for the RX_MCLK output
  617. lsb: 3
  618. reset_value: '0'
  619. width: 1