From nobody Mon Apr 27 00:42:06 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8EACFCCA479 for ; Mon, 20 Jun 2022 10:28:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241065AbiFTK2w (ORCPT ); Mon, 20 Jun 2022 06:28:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239136AbiFTK2U (ORCPT ); Mon, 20 Jun 2022 06:28:20 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF7056349; Mon, 20 Jun 2022 03:28:19 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 25KAS6M8044752; Mon, 20 Jun 2022 05:28:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1655720886; bh=ImcBo4lsvcEZdixqDw7FCKVpHcPOYUoXNMbNGRzE718=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=gzGGGRtDJuLpxf+/g/PaKAZyY201sXksFCn3aGrzk9ZczMJT1TcM7FHf6/PjRlwld T6GUkDr5V8IaHtYEONVUpm3xW7F2PRxpJubvARIOoZvcezSNYVXjN5xDbSzyQJJlhs WZdAH9sWZX5/NyoZE2OfDFJvgGHEJ3f+QskHJelg= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 25KAS65J095264 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 20 Jun 2022 05:28:06 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Mon, 20 Jun 2022 05:28:06 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Mon, 20 Jun 2022 05:28:06 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 25KAS5Aa018394; Mon, 20 Jun 2022 05:28:06 -0500 From: Jai Luthra To: Nishanth Menon , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski CC: , , , Jayesh Choudhary , Jai Luthra Subject: [PATCH v4 1/2] arm64: dts: ti: k3-am62-main: Add McASP nodes Date: Mon, 20 Jun 2022 15:57:48 +0530 Message-ID: <20220620102750.32718-2-j-luthra@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220620102750.32718-1-j-luthra@ti.com> References: <20220620102750.32718-1-j-luthra@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Jayesh Choudhary Add the nodes for McASP 0-2. Use the audio-friendly 96MHz main_1_hsdivout6_clk as clock parent instead of the default 100Mhz main_2_hsdivout8_clk source. Signed-off-by: Jayesh Choudhary Signed-off-by: Jai Luthra --- arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 57 ++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts= /ti/k3-am62-main.dtsi index d08abad0bcf4..726f31a880ad 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi @@ -571,4 +571,61 @@ interrupt-names =3D "int0", "int1"; bosch,mram-cfg =3D <0x0 128 64 64 64 64 32 32>; }; + + mcasp0: mcasp@2b00000 { + compatible =3D "ti,am33xx-mcasp-audio"; + reg =3D <0x00 0x02b00000 0x00 0x2000>, + <0x00 0x02b08000 0x00 0x400>; + reg-names =3D "mpu","dat"; + interrupts =3D , + ; + interrupt-names =3D "tx", "rx"; + + dmas =3D <&main_bcdma 0 0xc500 0>, <&main_bcdma 0 0x4500 0>; + dma-names =3D "tx", "rx"; + + clocks =3D <&k3_clks 190 0>; + clock-names =3D "fck"; + assigned-clocks =3D <&k3_clks 190 0>; + assigned-clock-parents =3D <&k3_clks 190 2>; + power-domains =3D <&k3_pds 190 TI_SCI_PD_EXCLUSIVE>; + }; + + mcasp1: mcasp@2b10000 { + compatible =3D "ti,am33xx-mcasp-audio"; + reg =3D <0x00 0x02b10000 0x00 0x2000>, + <0x00 0x02b18000 0x00 0x400>; + reg-names =3D "mpu","dat"; + interrupts =3D , + ; + interrupt-names =3D "tx", "rx"; + + dmas =3D <&main_bcdma 0 0xc501 0>, <&main_bcdma 0 0x4501 0>; + dma-names =3D "tx", "rx"; + + clocks =3D <&k3_clks 191 0>; + clock-names =3D "fck"; + assigned-clocks =3D <&k3_clks 191 0>; + assigned-clock-parents =3D <&k3_clks 191 2>; + power-domains =3D <&k3_pds 191 TI_SCI_PD_EXCLUSIVE>; + }; + + mcasp2: mcasp@2b20000 { + compatible =3D "ti,am33xx-mcasp-audio"; + reg =3D <0x00 0x02b20000 0x00 0x2000>, + <0x00 0x02b28000 0x00 0x400>; + reg-names =3D "mpu","dat"; + interrupts =3D , + ; + interrupt-names =3D "tx", "rx"; + + dmas =3D <&main_bcdma 0 0xc502 0>, <&main_bcdma 0 0x4502 0>; + dma-names =3D "tx", "rx"; + + clocks =3D <&k3_clks 192 0>; + clock-names =3D "fck"; + assigned-clocks =3D <&k3_clks 192 0>; + assigned-clock-parents =3D <&k3_clks 192 2>; + power-domains =3D <&k3_pds 192 TI_SCI_PD_EXCLUSIVE>; + }; }; --=20 2.17.1 From nobody Mon Apr 27 00:42:06 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 88951C433EF for ; Mon, 20 Jun 2022 10:29:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241104AbiFTK2z (ORCPT ); Mon, 20 Jun 2022 06:28:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240987AbiFTK2h (ORCPT ); Mon, 20 Jun 2022 06:28:37 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 134ABBC39; Mon, 20 Jun 2022 03:28:35 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 25KASN7G106135; Mon, 20 Jun 2022 05:28:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1655720903; bh=rjNEY+fb0FLAlDCmgbjFcgdwmo6fWi+NdwjkkRfj88U=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=pf0Fz33URnLUEiDAcD4iF3Dm8SJ4hxZ/LT3CPZ+w9Txjho0mDF2YfTVd08jyoYnBM J6l+mYRfTL57NHnnDiumHBaOzyFDgcQJn0EO3vDi2Lfv7BDzv0XKSkzs9LBd4VZ8/o jR96kGUwUQeQ6qbycuXN97EZWXNXgkDdw9y5bEEc= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 25KASNFa095347 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 20 Jun 2022 05:28:23 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Mon, 20 Jun 2022 05:28:22 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Mon, 20 Jun 2022 05:28:22 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 25KASM56100090; Mon, 20 Jun 2022 05:28:22 -0500 From: Jai Luthra To: Nishanth Menon , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski CC: , , , Jayesh Choudhary , Jai Luthra Subject: [PATCH v4 2/2] arm64: dts: ti: k3-am625-sk: Add audio output support Date: Mon, 20 Jun 2022 15:57:50 +0530 Message-ID: <20220620102750.32718-4-j-luthra@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220620102750.32718-1-j-luthra@ti.com> References: <20220620102750.32718-1-j-luthra@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add nodes for audio codec and sound card, enable the audio serializer (McASP1) under use and update pinmux. Disable all other McASP nodes. Audio input is currently not working properly, so the RX port on McASP1 is disabled for now, until the issue is debugged. The serializer is shared between HDMI and codec. By default codec is used for output, but it can be toggled to HDMI using a FET switch connected to the MCASP1_FET_SEL (J24) header on the board. Signed-off-by: Jai Luthra --- arch/arm64/boot/dts/ti/k3-am625-sk.dts | 89 ++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/t= i/k3-am625-sk.dts index 39fb1d763037..a502b7ac48d4 100644 --- a/arch/arm64/boot/dts/ti/k3-am625-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts @@ -121,6 +121,46 @@ <3300000 0x1>; }; =20 + vcc_1v8: regulator-5 { + /* output of TPS6282518DMQ */ + compatible =3D "regulator-fixed"; + regulator-name =3D "vcc_1v8"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + vin-supply =3D <&vcc_3v3_sys>; + regulator-always-on; + regulator-boot-on; + }; + + tlv320_mclk: clk-0 { + #clock-cells =3D <0>; + compatible =3D "fixed-clock"; + clock-frequency =3D <12288000>; + }; + + sound { + compatible =3D "simple-audio-card"; + simple-audio-card,name =3D "AM62x-SKEVM"; + simple-audio-card,widgets =3D + "Headphone", "Headphone Jack"; + simple-audio-card,routing =3D + "Headphone Jack", "HPLOUT", + "Headphone Jack", "HPROUT"; + simple-audio-card,format =3D "dsp_b"; + simple-audio-card,bitclock-master =3D <&sound_master>; + simple-audio-card,frame-master =3D <&sound_master>; + simple-audio-card,bitclock-inversion; + + simple-audio-card,cpu { + sound-dai =3D <&mcasp1>; + }; + + sound_master: simple-audio-card,codec { + sound-dai =3D <&tlv320aic3106>; + clocks =3D <&tlv320_mclk>; + }; + }; + leds { compatible =3D "gpio-leds"; pinctrl-names =3D "default"; @@ -266,6 +306,15 @@ AM62X_IOPAD(0x01d4, PIN_INPUT, 7) /* (B15) UART0_RTSn.GPIO1_23 */ >; }; + + main_mcasp1_pins_default: main-mcasp1-pins-default { + pinctrl-single,pins =3D < + AM62X_IOPAD(0x0090, PIN_INPUT, 2) /* (M24) GPMC0_BE0N_CLE.MCASP1_ACLKX = */ + AM62X_IOPAD(0x0098, PIN_INPUT, 2) /* (U23) GPMC0_WAIT0.MCASP1_AFSX */ + AM62X_IOPAD(0x008c, PIN_OUTPUT, 2) /* (L25) GPMC0_WEN.MCASP1_AXR0 */ + AM62X_IOPAD(0x0084, PIN_INPUT, 2) /* (L23) GPMC0_ADVN_ALE.MCASP1_AXR2 */ + >; + }; }; =20 &wkup_uart0 { @@ -352,6 +401,18 @@ pinctrl-names =3D "default"; pinctrl-0 =3D <&main_gpio1_ioexp_intr_pins_default>; }; + + tlv320aic3106: audio-codec@1b { + #sound-dai-cells =3D <0>; + compatible =3D "ti,tlv320aic3106"; + reg =3D <0x1b>; + + /* Regulators */ + AVDD-supply =3D <&vcc_3v3_sys>; + IOVDD-supply =3D <&vcc_3v3_sys>; + DRVDD-supply =3D <&vcc_3v3_sys>; + DVDD-supply =3D <&vcc_1v8>; + }; }; =20 &main_i2c2 { @@ -412,6 +473,34 @@ }; }; =20 +&mcasp0 { + status =3D "disabled"; +}; + +&mcasp1 { + status =3D "okay"; + #sound-dai-cells =3D <0>; + + pinctrl-names =3D "default"; + pinctrl-0 =3D <&main_mcasp1_pins_default>; + + op-mode =3D <0>; /* MCASP_IIS_MODE */ + tdm-slots =3D <2>; + + serial-dir =3D < /* 0: INACTIVE, 1: TX, 2: RX */ + 1 0 0 0 + 0 0 0 0 + 0 0 0 0 + 0 0 0 0 + >; + tx-num-evt =3D <32>; + rx-num-evt =3D <32>; +}; + +&mcasp2 { + status =3D "disabled"; +}; + &mailbox0_cluster0 { mbox_m4_0: mbox-m4-0 { ti,mbox-rx =3D <0 0 0>; --=20 2.17.1 From nobody Mon Apr 27 00:42:06 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9033DC43334 for ; Mon, 20 Jun 2022 10:29:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241047AbiFTK2s (ORCPT ); Mon, 20 Jun 2022 06:28:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237979AbiFTK2U (ORCPT ); Mon, 20 Jun 2022 06:28:20 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FA1E25CF; Mon, 20 Jun 2022 03:28:18 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 25KASBqo035526; Mon, 20 Jun 2022 05:28:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1655720891; bh=rjNEY+fb0FLAlDCmgbjFcgdwmo6fWi+NdwjkkRfj88U=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=nZF4ri46ZsnCP2f6o+6uiiOmUS/8lfA4OWa8HHhhDEaCYX5Av+NIqxEek0ufNT62R Of75SdUqm1FZ0NcBTXbXIuUdEeTZgqX2iR1XhxQpt/y16g39H1DFOzuwbyPTjG9QUR U7wauxIrM2f0vym1wO0/IuwNqyAvObCd158MOlw4= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 25KASANN049483 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 20 Jun 2022 05:28:10 -0500 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Mon, 20 Jun 2022 05:28:10 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Mon, 20 Jun 2022 05:28:10 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 25KAS9rY018438; Mon, 20 Jun 2022 05:28:10 -0500 From: Jai Luthra To: Nishanth Menon , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski CC: , , , Jayesh Choudhary , Jai Luthra Subject: [PATCH v4 2/2] arm64: dts: ti: am625-sk: Add audio output support Date: Mon, 20 Jun 2022 15:57:49 +0530 Message-ID: <20220620102750.32718-3-j-luthra@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220620102750.32718-1-j-luthra@ti.com> References: <20220620102750.32718-1-j-luthra@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add nodes for audio codec and sound card, enable the audio serializer (McASP1) under use and update pinmux. Disable all other McASP nodes. Audio input is currently not working properly, so the RX port on McASP1 is disabled for now, until the issue is debugged. The serializer is shared between HDMI and codec. By default codec is used for output, but it can be toggled to HDMI using a FET switch connected to the MCASP1_FET_SEL (J24) header on the board. Signed-off-by: Jai Luthra --- arch/arm64/boot/dts/ti/k3-am625-sk.dts | 89 ++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/t= i/k3-am625-sk.dts index 39fb1d763037..a502b7ac48d4 100644 --- a/arch/arm64/boot/dts/ti/k3-am625-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts @@ -121,6 +121,46 @@ <3300000 0x1>; }; =20 + vcc_1v8: regulator-5 { + /* output of TPS6282518DMQ */ + compatible =3D "regulator-fixed"; + regulator-name =3D "vcc_1v8"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + vin-supply =3D <&vcc_3v3_sys>; + regulator-always-on; + regulator-boot-on; + }; + + tlv320_mclk: clk-0 { + #clock-cells =3D <0>; + compatible =3D "fixed-clock"; + clock-frequency =3D <12288000>; + }; + + sound { + compatible =3D "simple-audio-card"; + simple-audio-card,name =3D "AM62x-SKEVM"; + simple-audio-card,widgets =3D + "Headphone", "Headphone Jack"; + simple-audio-card,routing =3D + "Headphone Jack", "HPLOUT", + "Headphone Jack", "HPROUT"; + simple-audio-card,format =3D "dsp_b"; + simple-audio-card,bitclock-master =3D <&sound_master>; + simple-audio-card,frame-master =3D <&sound_master>; + simple-audio-card,bitclock-inversion; + + simple-audio-card,cpu { + sound-dai =3D <&mcasp1>; + }; + + sound_master: simple-audio-card,codec { + sound-dai =3D <&tlv320aic3106>; + clocks =3D <&tlv320_mclk>; + }; + }; + leds { compatible =3D "gpio-leds"; pinctrl-names =3D "default"; @@ -266,6 +306,15 @@ AM62X_IOPAD(0x01d4, PIN_INPUT, 7) /* (B15) UART0_RTSn.GPIO1_23 */ >; }; + + main_mcasp1_pins_default: main-mcasp1-pins-default { + pinctrl-single,pins =3D < + AM62X_IOPAD(0x0090, PIN_INPUT, 2) /* (M24) GPMC0_BE0N_CLE.MCASP1_ACLKX = */ + AM62X_IOPAD(0x0098, PIN_INPUT, 2) /* (U23) GPMC0_WAIT0.MCASP1_AFSX */ + AM62X_IOPAD(0x008c, PIN_OUTPUT, 2) /* (L25) GPMC0_WEN.MCASP1_AXR0 */ + AM62X_IOPAD(0x0084, PIN_INPUT, 2) /* (L23) GPMC0_ADVN_ALE.MCASP1_AXR2 */ + >; + }; }; =20 &wkup_uart0 { @@ -352,6 +401,18 @@ pinctrl-names =3D "default"; pinctrl-0 =3D <&main_gpio1_ioexp_intr_pins_default>; }; + + tlv320aic3106: audio-codec@1b { + #sound-dai-cells =3D <0>; + compatible =3D "ti,tlv320aic3106"; + reg =3D <0x1b>; + + /* Regulators */ + AVDD-supply =3D <&vcc_3v3_sys>; + IOVDD-supply =3D <&vcc_3v3_sys>; + DRVDD-supply =3D <&vcc_3v3_sys>; + DVDD-supply =3D <&vcc_1v8>; + }; }; =20 &main_i2c2 { @@ -412,6 +473,34 @@ }; }; =20 +&mcasp0 { + status =3D "disabled"; +}; + +&mcasp1 { + status =3D "okay"; + #sound-dai-cells =3D <0>; + + pinctrl-names =3D "default"; + pinctrl-0 =3D <&main_mcasp1_pins_default>; + + op-mode =3D <0>; /* MCASP_IIS_MODE */ + tdm-slots =3D <2>; + + serial-dir =3D < /* 0: INACTIVE, 1: TX, 2: RX */ + 1 0 0 0 + 0 0 0 0 + 0 0 0 0 + 0 0 0 0 + >; + tx-num-evt =3D <32>; + rx-num-evt =3D <32>; +}; + +&mcasp2 { + status =3D "disabled"; +}; + &mailbox0_cluster0 { mbox_m4_0: mbox-m4-0 { ti,mbox-rx =3D <0 0 0>; --=20 2.17.1