From patchwork Sat Jul 17 12:09:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?P=C3=A9ter_Ujfalusi?= X-Patchwork-Id: 479350 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5023C636CB for ; Sat, 17 Jul 2021 12:07:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AE446613F1 for ; Sat, 17 Jul 2021 12:07:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232942AbhGQMJ5 (ORCPT ); Sat, 17 Jul 2021 08:09:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230307AbhGQMJ4 (ORCPT ); Sat, 17 Jul 2021 08:09:56 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1750DC061762; Sat, 17 Jul 2021 05:07:00 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id u25so17850325ljj.11; Sat, 17 Jul 2021 05:07:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4k2Lhi4XHADfERCSjwVFS16vtcOe6zIC8KQOlIMZU8k=; b=OfDUQpBQf+Sdxm6FDyEI0jFpTeWeBfWmXLBIaP0uaQo5aMGCFtL6Xt02zJBLKqUktj FwuCBA9kipFocCnWH+gr2GQDxf9/IaU2rv82inFRESsgOGv+SgVIvOMUzg4hbVAcrHxY 3GMnCsMM/2uF+R51zsMYwLGJVFCLeFA+PTh3D+3CQg3YQwwks9UwhPi1vQhdu8VNjuJS Oitpw0p1FQSTJoqlkgSOxiUkZaQzvN2WvtLUr5Ea1aGBg6J3N6LFJIHbb1EpfS+ixavy RNDJyJYTSbU7Eff+9D6oOvBJ0jjVfajLK0cg1F7j+9gSgIzasq8hSlgoD+x0JkzIha2N QilA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4k2Lhi4XHADfERCSjwVFS16vtcOe6zIC8KQOlIMZU8k=; b=dy/YrlxiUit4LbvpDO58DsDr5VgnEELBFnzlpjQW5ZVT9X3U0R6M7ZODXOZG8ORIJe 2sgJbh6UR4UwlALdvuEWb2Y6gyrMqXBQKurbtrig5+0k/1ZQAplg3XPMRM2PuJszD4GI yNrFrSFOHdEZo6XNYIdStooAlS/KNIHCWRd7nKDOxO2Ve0JOz9NZ2FtYwMQvgAulRdjK IGnOTBDYpgrvNIwasbLJc16o5FLdTWSq+zzC74XrmLOgLfAM/0UGTBiVsoL9QQSbIbqJ nrggP1OqiBkpYSTA3Wjw6Vao7CQVWONe10sOJtW4a0FHQO9Pqon07ZTtaC4BWjzUASSy stIg== X-Gm-Message-State: AOAM533NWD4WTjTK7m+L0Epcu4xErLqL8hkf6oIrbEWUr4beXfbxN0Ej Rp8gsmfT7iY8GSiNjV6jEOs= X-Google-Smtp-Source: ABdhPJwOh0e9bANU7j7bOYjuES5Pt8t8s688koPfkrAO4V/0pM1QvSGJSH8WP4/zu2+iIktPwzG/jA== X-Received: by 2002:a05:651c:93:: with SMTP id 19mr13244383ljq.421.1626523618490; Sat, 17 Jul 2021 05:06:58 -0700 (PDT) Received: from localhost.localdomain (91-155-111-71.elisa-laajakaista.fi. [91.155.111.71]) by smtp.gmail.com with ESMTPSA id e5sm155334ljn.72.2021.07.17.05.06.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Jul 2021 05:06:58 -0700 (PDT) From: Peter Ujfalusi To: tony@atomide.com, bcousson@baylibre.com Cc: robh+dt@kernel.org, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, hns@goldelico.com Subject: [PATCH 1/3] ARM: dts: omap4-l4-abe: Correct sidle modes for McASP Date: Sat, 17 Jul 2021 15:09:23 +0300 Message-Id: <20210717120925.24505-2-peter.ujfalusi@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210717120925.24505-1-peter.ujfalusi@gmail.com> References: <20210717120925.24505-1-peter.ujfalusi@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org McASP only supports Force-idle, No-idle and Smart-idle modes Signed-off-by: Peter Ujfalusi --- arch/arm/boot/dts/omap4-l4-abe.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/omap4-l4-abe.dtsi b/arch/arm/boot/dts/omap4-l4-abe.dtsi index a9573d441dea..8287fdaa526e 100644 --- a/arch/arm/boot/dts/omap4-l4-abe.dtsi +++ b/arch/arm/boot/dts/omap4-l4-abe.dtsi @@ -192,8 +192,7 @@ target-module@28000 { /* 0x40128000, ap 8 08.0 */ reg-names = "rev", "sysc"; ti,sysc-sidle = , , - , - ; + ; /* Domains (V, P, C): iva, abe_pwrdm, abe_clkdm */ clocks = <&abe_clkctrl OMAP4_MCASP_CLKCTRL 0>; clock-names = "fck"; From patchwork Sat Jul 17 12:09:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?P=C3=A9ter_Ujfalusi?= X-Patchwork-Id: 479672 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2C37FC636CE for ; Sat, 17 Jul 2021 12:07:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0EE77613E3 for ; Sat, 17 Jul 2021 12:07:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233383AbhGQMKL (ORCPT ); Sat, 17 Jul 2021 08:10:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233335AbhGQMJ7 (ORCPT ); Sat, 17 Jul 2021 08:09:59 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E078EC06175F; Sat, 17 Jul 2021 05:07:00 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id r16so17906040ljk.9; Sat, 17 Jul 2021 05:07:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Gdg71tTCXe3kkEI2aVUW18f+03eE3ZSaHmz55Gfl6UE=; b=rBnzXyvfUXb4WjBfq9f+r0hIqAF5wnjlgJ6/DpWELHG9NOUe2GcgdRbmNaIT3dniiv 0HtojXxyrSHOgoDLVHdjYYlZfp7vudz9uplwIrf6BVNwspeZvEyzRsvMa1Gp2jm47UAs zrM96gVUBzSpTY+Bit5HoGlKP/o8ygVPi2UL4AjJ1fKskxu1mU2VmtIgUJ0BuqJxeYtQ pnAmO5Sr/ndyIfHXIdL1thOm/UZtW/RHh3L7MbQS23Cxpix7R406Mhp+dEupSKaYdBzb Fn9uAaRz62+mPBk7vW7d2Mddl10VustOAAKEXomavBnfrAHQfEu/MdL9WL5eoXrSzSN0 xelQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Gdg71tTCXe3kkEI2aVUW18f+03eE3ZSaHmz55Gfl6UE=; b=LXRiWL7/t6tJpyKUFbpw3LmAlyzE8pZmHX0Ud/bdXk1PwgxaVn05eNJcgxft9AOJL0 Ikux0m8fJbLrN4ub/6IInNcYJAxQ5Z53qIjpOeQzqtxpz1wC5fBbiuQHF2DNdVPGks3k WLrlAFVkh0aFvqtMUmaJnMqPjlIz6iNKjHidwOuqrpxbeEG4uMvRUu+H5CS8wX8r5riH QJ6G4GAMyDOtTvP/rz6QRhHOstxeGcSD8rzKE2fMc0/Gk0abU3tQy2p5fR9PJ/t8JRqu ZROE93X1ETF4U5bWpzXsAvvZSC0JrXFHQCsueM/vEWhJpfUTWZ8q359pZAMRrM9+Tc3d +onA== X-Gm-Message-State: AOAM531hdhP29+/F5njvmeBWiI6rtU6qlo8Yd4Wl6OnFms0D3nf+luw3 sER0SCCO8KX0zPB7SJ2ZNIk= X-Google-Smtp-Source: ABdhPJx5iV2ursFpTumwwdRv2WmHY6XEz6KQk62nmH2mqIGsyvqPRdZnsscuF40P1nXwKvNm8Gzk6w== X-Received: by 2002:a2e:b162:: with SMTP id a2mr13196945ljm.290.1626523619342; Sat, 17 Jul 2021 05:06:59 -0700 (PDT) Received: from localhost.localdomain (91-155-111-71.elisa-laajakaista.fi. [91.155.111.71]) by smtp.gmail.com with ESMTPSA id e5sm155334ljn.72.2021.07.17.05.06.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Jul 2021 05:06:58 -0700 (PDT) From: Peter Ujfalusi To: tony@atomide.com, bcousson@baylibre.com Cc: robh+dt@kernel.org, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, hns@goldelico.com Subject: [PATCH 2/3] bus: ti-sysc: Add quirk for OMAP4 McASP to disable SIDLE mode Date: Sat, 17 Jul 2021 15:09:24 +0300 Message-Id: <20210717120925.24505-3-peter.ujfalusi@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210717120925.24505-1-peter.ujfalusi@gmail.com> References: <20210717120925.24505-1-peter.ujfalusi@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The McASP module in OMAP4 does not work if the SIDLE mode is enabled, most like due to module integration issue that the signaling is not working correctly. Add a quirk for the module to select only NOIDLE mode when it is in use. Suggested-by: Tony Lindgren Signed-off-by: Peter Ujfalusi --- drivers/bus/ti-sysc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c index 9df1e674d3f2..9faae119774e 100644 --- a/drivers/bus/ti-sysc.c +++ b/drivers/bus/ti-sysc.c @@ -1501,6 +1501,8 @@ static const struct sysc_revision_quirk sysc_revision_quirks[] = { SYSC_MODULE_QUIRK_SGX), SYSC_QUIRK("lcdc", 0, 0, 0x54, -ENODEV, 0x4f201000, 0xffffffff, SYSC_QUIRK_SWSUP_SIDLE | SYSC_QUIRK_SWSUP_MSTANDBY), + SYSC_QUIRK("mcasp", 0, 0, 0x4, -ENODEV, 0x44306302, 0xffffffff, + SYSC_QUIRK_SWSUP_SIDLE), SYSC_QUIRK("rtc", 0, 0x74, 0x78, -ENODEV, 0x4eb01908, 0xffff00f0, SYSC_MODULE_QUIRK_RTC_UNLOCK), SYSC_QUIRK("tptc", 0, 0, 0x10, -ENODEV, 0x40006c00, 0xffffefff, @@ -1557,7 +1559,6 @@ static const struct sysc_revision_quirk sysc_revision_quirks[] = { SYSC_QUIRK("hsi", 0, 0, 0x10, 0x14, 0x50043101, 0xffffffff, 0), SYSC_QUIRK("iss", 0, 0, 0x10, -ENODEV, 0x40000101, 0xffffffff, 0), SYSC_QUIRK("keypad", 0x4a31c000, 0, 0x10, 0x14, 0x00000020, 0xffffffff, 0), - SYSC_QUIRK("mcasp", 0, 0, 0x4, -ENODEV, 0x44306302, 0xffffffff, 0), SYSC_QUIRK("mcasp", 0, 0, 0x4, -ENODEV, 0x44307b02, 0xffffffff, 0), SYSC_QUIRK("mcbsp", 0, -ENODEV, 0x8c, -ENODEV, 0, 0, 0), SYSC_QUIRK("mcspi", 0, 0, 0x10, -ENODEV, 0x40300a0b, 0xffff00ff, 0), From patchwork Sat Jul 17 12:09:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?P=C3=A9ter_Ujfalusi?= X-Patchwork-Id: 479349 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 16AF5C636CA for ; Sat, 17 Jul 2021 12:07:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0279B613D8 for ; Sat, 17 Jul 2021 12:07:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233410AbhGQMKS (ORCPT ); Sat, 17 Jul 2021 08:10:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233361AbhGQMJ7 (ORCPT ); Sat, 17 Jul 2021 08:09:59 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCA0DC061762; Sat, 17 Jul 2021 05:07:01 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id u14so17971701ljh.0; Sat, 17 Jul 2021 05:07:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VbgDDzHJ7sDQiuRaoRWaCyhnkU1zVU77wEAjR1S7/Os=; b=V+TIrlBmU/P/DdrTWFd3h3OZT/PhwMktc2Y2KbA6i4ReHBVCDTMbHfeaqB7HQQu7R2 9B/YRbvDk3qRe58NgT/0qYXX0GXDiMnmV68pExPelASEqKU200ZQLwTBDOaI3ZaHS8Wu uAHpsZkodfbpA0me/WsjqMn/tVkiZ29vKxW7BUEgmZRttaXCMpOsPuAQ1geb79wjpQzg LUdvMHbGFV8KVssmWtiSTMGLET+qiiYH45I+A4QJZseU0MiztQ66UmiYFZrH9u/iEoGC V2PowSwmCKK0OcLy9LgGRY756WRJuwEtcNf2DX5PatNpH3L4IPq9ux9ZWk4hFL6eUiPC DApQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VbgDDzHJ7sDQiuRaoRWaCyhnkU1zVU77wEAjR1S7/Os=; b=SlcrA3HZRrDeFHidwTk+CHTJtA5UuuukkXCyyQLhbdEVvvHnj7icgPYWnHtIH7h839 UJwIP8y4C4Kaz2HNx1KtxNQ+ym0HlKBjD3TcxZGsBUUUiOu31v/84E3rLKdPDpblHMDb oHFPZCxddx/GKnYq3+T24+YwBlkIHfZObQ5JzjfhP36g2S8V3oeQtn6GIXyFVqCsF/90 s94D/FcEE++Z2CHtyyx+VBwuJAmLprE6T4QxufP+ovPYF20ioKQ57n9AMNO0/9K/peAg rcpSI+8khu4W0GPmk6JNpQfOgMWh0rq2m58Y4uajR6k6QeyOzwmYVpzGwkokSw5cE8mY 32yQ== X-Gm-Message-State: AOAM532iJrOsIkiQffs6K44fe8n8xAyh8jbLuVkB1pNaCVUBFe3VleKY r4Ox5VfSg7/zBPCL4d9NqLk= X-Google-Smtp-Source: ABdhPJxMtw0EvtdBfkSRgyJVfZB5jFRSJb4tsAtLLPU+GMI9Al9MrjY3ormEYv2pXhDKPZBpg/VITQ== X-Received: by 2002:a2e:503:: with SMTP id 3mr13391598ljf.234.1626523620100; Sat, 17 Jul 2021 05:07:00 -0700 (PDT) Received: from localhost.localdomain (91-155-111-71.elisa-laajakaista.fi. [91.155.111.71]) by smtp.gmail.com with ESMTPSA id e5sm155334ljn.72.2021.07.17.05.06.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Jul 2021 05:06:59 -0700 (PDT) From: Peter Ujfalusi To: tony@atomide.com, bcousson@baylibre.com Cc: robh+dt@kernel.org, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, hns@goldelico.com Subject: [PATCH 3/3] ARM: dts: omap4-l4-abe: Add McASP configuration Date: Sat, 17 Jul 2021 15:09:25 +0300 Message-Id: <20210717120925.24505-4-peter.ujfalusi@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210717120925.24505-1-peter.ujfalusi@gmail.com> References: <20210717120925.24505-1-peter.ujfalusi@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org OMAP4 has a single McASP instance with single serializer and locked for DIT mode. To be able to enable the support the following fixes needed: - Add the DAT port ranges to the target module's ranges We can already fill in the op-mode and serial-dir for McASP as it only supports this configuration, but keep the module disabled as there is no known device available where it is used. Signed-off-by: Peter Ujfalusi --- arch/arm/boot/dts/omap4-l4-abe.dtsi | 35 ++++++++++++++++------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/arch/arm/boot/dts/omap4-l4-abe.dtsi b/arch/arm/boot/dts/omap4-l4-abe.dtsi index 8287fdaa526e..7ae8b620515c 100644 --- a/arch/arm/boot/dts/omap4-l4-abe.dtsi +++ b/arch/arm/boot/dts/omap4-l4-abe.dtsi @@ -186,6 +186,7 @@ mcbsp3: mcbsp@0 { }; target-module@28000 { /* 0x40128000, ap 8 08.0 */ + /* 0x4012a000, ap 10 0a.0 */ compatible = "ti,sysc-mcasp", "ti,sysc"; reg = <0x28000 0x4>, <0x28004 0x4>; @@ -199,23 +200,25 @@ target-module@28000 { /* 0x40128000, ap 8 08.0 */ #address-cells = <1>; #size-cells = <1>; ranges = <0x0 0x28000 0x1000>, - <0x49028000 0x49028000 0x1000>; - - /* - * Child device unsupported by davinci-mcasp. At least - * RX path is disabled for omap4, and only DIT mode - * works with no I2S. See also old Android kernel - * omap-mcasp driver for more information. - */ - }; - - target-module@2a000 { /* 0x4012a000, ap 10 0a.0 */ - compatible = "ti,sysc"; - status = "disabled"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0x2a000 0x1000>, + <0x49028000 0x49028000 0x1000>, + <0x2000 0x2a000 0x1000>, <0x4902a000 0x4902a000 0x1000>; + + mcasp0: mcasp@0 { + compatible = "ti,omap4-mcasp-audio"; + reg = <0x0 0x2000>, + <0x4902a000 0x1000>; /* L3 data port */ + reg-names = "mpu","dat"; + interrupts = ; + interrupt-names = "tx"; + dmas = <&sdma 8>; + dma-names = "tx"; + clocks = <&abe_clkctrl OMAP4_MCASP_CLKCTRL 0>; + clock-names = "fck"; + op-mode = <1>; /* MCASP_DIT_MODE */ + serial-dir = < 1 >; /* 1 TX serializers */ + status = "disabled"; + }; }; target-module@2e000 { /* 0x4012e000, ap 12 0c.0 */