/include/ "system-conf.dtsi" / { // symbiotica board codec voltage vdd_3v3: codec3v3 { /* VDD_3V3 */ regulator-name = "codec3v3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-always-on; regulator-boot-on; }; aic_dvdd: codec1v8 { /* VDD_3V3 */ regulator-name = "codec1v8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-always-on; regulator-boot-on; }; // ASoC sound card (machine driver) - // glue driver which connects I2S, DMA (Audio-Formatter) and codec sound0: sound0 { compatible = "simple-audio-card"; simple-audio-card,name = "keba-audio"; simple-audio-card,widgets = "Line", "Line Out", "Line", "Line In"; simple-audio-card,routing = "Line Out", "LLOUT", "Line Out", "RLOUT", "LINE1L", "Line In", "LINE1R", "Line In"; simple-audio-card,format = "i2s"; simple-audio-card,bitclock-master = <&sound0_master>; // set codec to i2s master simple-audio-card,frame-master = <&sound0_master>; // set codec to i2s master simple-audio-card,bitclock-inversion; simple-audio-card,cpu { sound-dai = <&audio_formatter_0>; clocks = <&misc_clk_0>; }; sound0_master: simple-audio-card,codec { sound-dai = <&tlv320aic3104>; clocks = <&misc_clk_0>; }; }; }; &audio_formatter_0 { #sound-dai-cells = <0>; }; // symbiotica board low power audio codec &i2c0 { tlv320aic3104: tlv320aic3104@18 { #sound-dai-cells = <0>; compatible = "ti,tlv320aic3104"; reg = <0x18>; // I2C slave address // assigned-clocks = <&misc_clk_0> status = "okay"; adc-settle-ms = <40>; ai3x-micbias-vg = <1>; // 2.0V microphone bias ai3x-ocmv = <2>; // from datasheet // AVDD-supply = <&vdd_3v3>; // IOVDD-supply = <&vdd_3v3>; // DRVDD-supply = <&vdd_3v3>; // DVDD-supply = <&aic_dvdd>; }; };