espressif,esp32-i2s

Description

These nodes are “i2s” bus nodes.

ESP32 I2S

On SoCs with a PCM to PDM converter, except the ESP32, I2S0
transmits the I2S_FMT_DATA_FORMAT_PDM data format as a PDM stream
on the data output pin. See the pdm-tx-line-mode property for the
line modes.

The highest PDM sample rate depends on the I2S clock source: about
78 kHz with the 160 MHz PLL, 46.9 kHz on the ESP32-H2 and 19.5 kHz
on the ESP32-P4 revisions before v3.0.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

pinctrl-0

phandles

Pin configuration/s for the first state. Content is specific to the
selected pin controller driver implementation.

This property is required.

pinctrl-names

string-array

Names for the provided states. The number of names needs to match the
number of states.

This property is required.

unit

int

I2S unit number. Possible values are 0,1,.. depending on chip.

This property is required.

pdm-tx-line-mode

string

PDM TX line mode. "codec" sends both channels on the data output
pin with the PDM clock on the WS pin. "dac" sends one channel on
the data output pin and needs no clock. "dac-two-line" sends the
second channel on the SD1 output pin. When not set, a one-channel
stream uses "dac" and a two-channel stream uses "codec".

Legal values: codec, dac, dac-two-line

pinctrl-1

phandles

Pin configuration/s for the second state. See pinctrl-0.

pinctrl-2

phandles

Pin configuration/s for the third state. See pinctrl-0.

pinctrl-3

phandles

Pin configuration/s for the fourth state. See pinctrl-0.

pinctrl-4

phandles

Pin configuration/s for the fifth state. See pinctrl-0.