18c2ecf20Sopenharmony_ciCirrus Logic CS4341 audio DAC 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciThis device supports both I2C and SPI (configured with pin strapping 48c2ecf20Sopenharmony_cion the board). 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciRequired properties: 78c2ecf20Sopenharmony_ci - compatible: "cirrus,cs4341a" 88c2ecf20Sopenharmony_ci - reg : the I2C address of the device for I2C, the chip select 98c2ecf20Sopenharmony_ci number for SPI. 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ciFor required properties on I2C-bus, please consult 128c2ecf20Sopenharmony_ciDocumentation/devicetree/bindings/i2c/i2c.txt 138c2ecf20Sopenharmony_ciFor required properties on SPI-bus, please consult 148c2ecf20Sopenharmony_ciDocumentation/devicetree/bindings/spi/spi-bus.txt 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ciExample: 178c2ecf20Sopenharmony_ci codec: cs4341@0 { 188c2ecf20Sopenharmony_ci #sound-dai-cells = <0>; 198c2ecf20Sopenharmony_ci compatible = "cirrus,cs4341a"; 208c2ecf20Sopenharmony_ci reg = <0>; 218c2ecf20Sopenharmony_ci spi-max-frequency = <6000000>; 228c2ecf20Sopenharmony_ci }; 23