xref: /freebsd/sys/contrib/device-tree/Bindings/sound/cs4265.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotCS4265 audio CODEC
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThis device supports I2C only.
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel VadotRequired properties:
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel Vadot  - compatible : "cirrus,cs4265"
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot  - reg : the I2C address of the device for I2C. The I2C address depends on
10*c66ec88fSEmmanuel Vadot          the state of the AD0 pin.  If AD0 is high, the i2c address is 0x4f.
11*c66ec88fSEmmanuel Vadot          If it is low, the i2c address is 0x4e.
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotOptional properties:
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel Vadot  - reset-gpios : a GPIO spec for the reset pin. If specified, it will be
16*c66ec88fSEmmanuel Vadot		 deasserted before communication to the codec starts.
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotExamples:
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadotcodec_ad0_high: cs4265@4f { /* AD0 Pin is high */
21*c66ec88fSEmmanuel Vadot	compatible = "cirrus,cs4265";
22*c66ec88fSEmmanuel Vadot	reg = <0x4f>;
23*c66ec88fSEmmanuel Vadot};
24*c66ec88fSEmmanuel Vadot
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel Vadotcodec_ad0_low: cs4265@4e { /* AD0 Pin is low */
27*c66ec88fSEmmanuel Vadot	compatible = "cirrus,cs4265";
28*c66ec88fSEmmanuel Vadot	reg = <0x4e>;
29*c66ec88fSEmmanuel Vadot};
30