xref: /freebsd/sys/contrib/device-tree/Bindings/sound/rt5514.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotRT5514 audio CODEC
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThis device supports both I2C and SPI.
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel VadotRequired properties:
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel Vadot- compatible : "realtek,rt5514".
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot- reg : the I2C address of the device for I2C, the chip select
10*c66ec88fSEmmanuel Vadot        number for SPI.
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel VadotOptional properties:
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel Vadot- clocks: The phandle of the master clock to the CODEC
15*c66ec88fSEmmanuel Vadot- clock-names: Should be "mclk"
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadot- interrupts: The interrupt number to the cpu. The interrupt specifier format
18*c66ec88fSEmmanuel Vadot	      depends on the interrupt controller.
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadot- realtek,dmic-init-delay-ms
21*c66ec88fSEmmanuel Vadot  Set the DMIC initial delay (ms) to wait it ready for I2C.
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel VadotPins on the device (for linking into audio routes) for I2C:
24*c66ec88fSEmmanuel Vadot
25*c66ec88fSEmmanuel Vadot  * DMIC1L
26*c66ec88fSEmmanuel Vadot  * DMIC1R
27*c66ec88fSEmmanuel Vadot  * DMIC2L
28*c66ec88fSEmmanuel Vadot  * DMIC2R
29*c66ec88fSEmmanuel Vadot  * AMICL
30*c66ec88fSEmmanuel Vadot  * AMICR
31*c66ec88fSEmmanuel Vadot
32*c66ec88fSEmmanuel VadotExample:
33*c66ec88fSEmmanuel Vadot
34*c66ec88fSEmmanuel Vadotrt5514: codec@57 {
35*c66ec88fSEmmanuel Vadot	compatible = "realtek,rt5514";
36*c66ec88fSEmmanuel Vadot	reg = <0x57>;
37*c66ec88fSEmmanuel Vadot};
38