From patchwork Tue Jan 24 12:03:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sinthu Raja X-Patchwork-Id: 47673 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2111252wrn; Tue, 24 Jan 2023 04:06:58 -0800 (PST) X-Google-Smtp-Source: AMrXdXsVd3fhxwiDCfO56ujd5wQMfgdr0drmVgHB5oTBzWjoKtUMwGP+nSJrpeajXepGSNHYUY9z X-Received: by 2002:a05:6a20:9e0c:b0:b8:a0e1:2753 with SMTP id ms12-20020a056a209e0c00b000b8a0e12753mr28370156pzb.8.1674562018710; Tue, 24 Jan 2023 04:06:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674562018; cv=none; d=google.com; s=arc-20160816; b=yOwTP+ifDwDLDpyVywnKp6tYkmPopmkP+r89fdal1HUPJYZgvsStbHmYj0BrGll0hZ SbIiH6OddBPBKVpR1teTxEWvCtJ1ldygYenZlq8gNtlls1dEDuRLLH2R/zBs9v62OvxE HhgBsuMuG0icmS+ADqRIT7CXdsF4QsJxrAs2cqlbBW2+0SymiCnAlcNkergsgudokBVA xNV+rRV3XsX6HGJVwfZ/HDkmRqXFHto1/g/H5PBVtSzR8nij4QVaxWPsTWRLwHW9pFTN J+iVOooOkmB2G23llHxan2Xn/jHTMZsa/oMynZB51SZ04i0ULla+oqsMac2X1gY7QGyN 7BRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KQ693edVcrcIyz2x2JQZUAk9H10CE/9UA6BBrlOFNfQ=; b=NQF6XymOgeMFhJiJgjJMHmvVUpoaX3auKUT9m+ERhaxSe9pfhmHldjtFkFN4ePhSuG OhbaKIN+OCK1FBJlf00kxN0b9hgsl5nNNmMUrPbYaRy2p1PcsDrz23SWj9psFZ7P1q30 O6k2rIOC1J9xJsKkjfnlivLJ6lCklvLzHFTfNrsTfdClh7EIDjDgyo89rzu7zj6GwrXS DkMIrw2301yr+p2VSNki9Nje+yJ887Tw/mq2CXaru3La2nxa5OmrhxQzh/Z9l1tlnQ8t kvlmM8Cii+FlaEuEJ26CFDIHnh6KRrNv6+2M6WSeh2yM4SW0v6dyOw5t1/E0QOLlphOe NFcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mistralsolutions.com header.s=google header.b=e8iksw4p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mistralsolutions.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j64-20020a638b43000000b00434ffe3cc11si1969925pge.870.2023.01.24.04.06.45; Tue, 24 Jan 2023 04:06:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mistralsolutions.com header.s=google header.b=e8iksw4p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mistralsolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233286AbjAXMDf (ORCPT + 99 others); Tue, 24 Jan 2023 07:03:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233205AbjAXMDd (ORCPT ); Tue, 24 Jan 2023 07:03:33 -0500 Received: from egress-ip4a.ess.de.barracuda.com (egress-ip4a.ess.de.barracuda.com [18.184.203.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 400CC29E14 for ; Tue, 24 Jan 2023 04:03:32 -0800 (PST) Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx-outbound14-52.eu-central-1a.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 24 Jan 2023 12:03:29 +0000 Received: by mail-pj1-f71.google.com with SMTP id om10-20020a17090b3a8a00b002299e350deaso11049206pjb.1 for ; Tue, 24 Jan 2023 04:03:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mistralsolutions.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KQ693edVcrcIyz2x2JQZUAk9H10CE/9UA6BBrlOFNfQ=; b=e8iksw4pCTpUz1j6BDQMQVtJhn+lLNhuJLBJZkIoqkxVlgvyQloJr6Mchq86nJqChG N686KtqEDiW7k9g9arPfPNvtxsmH2U5smj2gKEkZkYbPa35yawnuXzdegr1y1Bem6WK3 Mq02/exDGadVB2AmgDgcZrmOC9Hfac3PjUqq8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KQ693edVcrcIyz2x2JQZUAk9H10CE/9UA6BBrlOFNfQ=; b=reol3N1QEy6denL/X7hj/s97jI4w5yDbnlLMB78+jBKfpTuR7Q5zck/BsOUmjSQmeh Bbxi9xwHj8UYQh5jcFdG4pZ2wHi3YD69IbgsrobL2P7wqxIJV5w+YshOiTOs7oAJlO4G cbm0Kfkuwr9AMvw0NlKb6FjsWOuX7DGtx1Olw/CObn9xbJQDbHQh91UQsZ36DiXiWz6w kwrR6cLu8ZC9ve2C409cTEfqklUnhZNg8/VzDwLoylntH4VxzSth6qBASO4mCJOoNbIc bpyyxATYpIc4v1+ZXka3cAWujW13jQgA9lEJvND2HVbEKOwpKSp40fIFn826DLZdh44g /Y9A== X-Gm-Message-State: AFqh2krBcB9B4HZtD8bS3wyF/1y+Yniy75YRSIPgu3foc+fGuPpcgk+B L2JR6q9I81IjxDpp9PR8LIMhvjeRxt2NadrYbvfKWp5iwwsTyiISMziVfnANY8RU7Cr7Tp1FY2i Fys1uZX8AQbS7boR/zUeF8XlvLkAfPkccxxYOwXP8ejjJcLqKxMEwpFAIZNiN X-Received: by 2002:a62:388a:0:b0:581:140:f3b6 with SMTP id f132-20020a62388a000000b005810140f3b6mr27044385pfa.34.1674561808317; Tue, 24 Jan 2023 04:03:28 -0800 (PST) X-Received: by 2002:a62:388a:0:b0:581:140:f3b6 with SMTP id f132-20020a62388a000000b005810140f3b6mr27044364pfa.34.1674561808019; Tue, 24 Jan 2023 04:03:28 -0800 (PST) Received: from LAP568U.mistral.in ([106.51.227.150]) by smtp.gmail.com with ESMTPSA id j10-20020aa783ca000000b00581ad007a9fsm1414539pfn.153.2023.01.24.04.03.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Jan 2023 04:03:27 -0800 (PST) From: Sinthu Raja X-Google-Original-From: Sinthu Raja To: Nishanth Menon , Tero Kristo , Rob Herring Cc: Vignesh Raghavendra , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sinthu Raja Subject: [PATCH V2 1/2] arm64: dts: ti: k3-j721s2-mcu-wakeup: Fix IO PADCONFIG size for wakeup domain Date: Tue, 24 Jan 2023 17:33:10 +0530 Message-Id: <20230124120311.7323-2-sinthu.raja@ti.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20230124120311.7323-1-sinthu.raja@ti.com> References: <20230124120311.7323-1-sinthu.raja@ti.com> MIME-Version: 1.0 X-BESS-ID: 1674561808-303636-5377-761-1 X-BESS-VER: 2019.1_20221214.2106 X-BESS-Apparent-Source-IP: 209.85.216.71 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.245676 [from cloudscan15-117.eu-central-1a.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_SC0_MISMATCH_TO META: Envelope rcpt doesn't match header 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS91090 scores of KILL_LEVEL=7.0 tests=BSF_SC0_MISMATCH_TO, BSF_BESS_OUTBOUND X-BESS-BRTS-Status: 1 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755905543339062495?= X-GMAIL-MSGID: =?utf-8?q?1755905543339062495?= From: Sinthu Raja The size of wkup domain I/O PADCONFIG register set is incorrect for J721S2. Therefore, update the PADCONFIG total offset size to the correct value for J721S2 SoC. Signed-off-by: Sinthu Raja --- Changes in V2: - Update commit description. - Update the offset value to 0x194 as 0x190 is the last register of the IO PADCONFIG register set. arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi index 0af242aa9816..b10f1e8b98e6 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi @@ -50,7 +50,7 @@ mcu_ram: sram@41c00000 { wkup_pmx0: pinctrl@4301c000 { compatible = "pinctrl-single"; /* Proxy 0 addressing */ - reg = <0x00 0x4301c000 0x00 0x178>; + reg = <0x00 0x4301c000 0x00 0x194>; #pinctrl-cells = <1>; pinctrl-single,register-width = <32>; pinctrl-single,function-mask = <0xffffffff>; From patchwork Tue Jan 24 12:03:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sinthu Raja X-Patchwork-Id: 47674 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2111261wrn; Tue, 24 Jan 2023 04:07:00 -0800 (PST) X-Google-Smtp-Source: AMrXdXtFT4yxaNQIR+veMv4BEnJq/RHYT5StAtawfYw/gWhMcSBlVxUQ1omiRA7qSaFAsHTLJBzB X-Received: by 2002:a17:902:c3cd:b0:192:cf35:3fff with SMTP id j13-20020a170902c3cd00b00192cf353fffmr31736495plj.9.1674562020116; Tue, 24 Jan 2023 04:07:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674562020; cv=none; d=google.com; s=arc-20160816; b=sHWGwU3nyaU9M/7C4hXCDhiVI7HFatwnKO2MZ8PIjwFvbPtpYn/nrqG+UkogTHX//f buvqFOt9jMHj5Xtwc7QlAuiL8NBmrqCzbvqW1L5g6TbLI4IIqgLka1HyRxhywVx8ylNs oZRhjCFG1q3jDB1ZmNKVCw8x06SpkiCm40V8ZcRU0LSChG1g/yT/hGhtm5/Wps6LgBby qB6LiVoD6KbeLHKH75MkuZTjlee89i91szVzdUQx5qx1Lemastwz5jyOhnVufrUIYJfX P7YawKWpF0EsBngR6aM3qO/grtNIzU0MBUFBbZdOuCtNQnKhgKohbf1PrE6wPXPfdPMp A8ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KOnXVOeoVE+0IBb9K9QruLQbPATWk3MeeNlnkGcVhKA=; b=kvWHWaeZoOxFrEY9B83So0abpP8kvAyuTZbHKS4q12rc7o0otUhjSs9UmoLEul5+kl vmxjHonlA7Jhh9YTaImGNL0x8sVjfiQYevFEhmji7RE9d843ppfRzAcLv2JqHH8RFjPf HrDTVYJRObVvGT8kpGsflgrRwXRqt+cPHmugaUZ9QjtOTPQg4OSsigqyDnKkbD3y/yyZ EOF2SkNLMG4J3/mZN0EO5xcocERgZZkUFhlraR2ItphV+E2lu/p8pIvGLGvXA7YoadUF xA4NXn1XHiS4Op2s0+6zEA2jmtQusIOgcPnTDhSSJaVchz9Tw7decw2WGx2CjkxgWgkC 3V6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mistralsolutions.com header.s=google header.b=n9Va5XTX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mistralsolutions.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x3-20020a1709028ec300b001926fc5007bsi2161761plo.506.2023.01.24.04.06.48; Tue, 24 Jan 2023 04:07:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mistralsolutions.com header.s=google header.b=n9Va5XTX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mistralsolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233343AbjAXMDk (ORCPT + 99 others); Tue, 24 Jan 2023 07:03:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232988AbjAXMDg (ORCPT ); Tue, 24 Jan 2023 07:03:36 -0500 Received: from egress-ip4a.ess.de.barracuda.com (egress-ip4a.ess.de.barracuda.com [18.184.203.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87F672A142 for ; Tue, 24 Jan 2023 04:03:35 -0800 (PST) Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by mx-outbound14-52.eu-central-1a.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 24 Jan 2023 12:03:33 +0000 Received: by mail-pf1-f200.google.com with SMTP id u3-20020a056a00124300b0056d4ab0c7cbso6663766pfi.7 for ; Tue, 24 Jan 2023 04:03:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mistralsolutions.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KOnXVOeoVE+0IBb9K9QruLQbPATWk3MeeNlnkGcVhKA=; b=n9Va5XTXayrmSJS259JkDDixSj5PSN8wP/369DZ42Zcnqrpcu/vjcQELEAlNA9K+DC 1Ki9rIeXcO+/62Cy1x/6bqiqZQSWS6q+8/FESy1GLZa7g5xR0BqBCSxO2DyF1h4w6Lbg m6pW8XKCsFv46S9W7lttyXGWJvVHleIv8gzE0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KOnXVOeoVE+0IBb9K9QruLQbPATWk3MeeNlnkGcVhKA=; b=pqJuQVsLOzuwo28qofP409c3jC9FlBh202MAQNCSKHooQJkAG81uDJUd0EKkXWaAt4 bqlgDR9X86ARiZdh7PV74t2b9M7d0tF9Ff5ThU8rEqiLvq01hzSJZaHcpKHUWb79aS9f jAjNsZMqiB0JHzG5RIp9mPQl8/a5G08tLYmqbHUHBBSEgdKKVuZ2rfypyMfkvLqlWqWs 3WH3hWnwmCJywiJ0FHXfUfyc8Gg+p1pbthAFhn4ngXQXddrw/T4VN6nNqIqEqJcUOfRM Qq7xPKhqQa/nfXON1x+9fS7TzzaIl1f6Kj6lU3jOYAqoucdBIXY5tZb/iy6r5b/WIHjp tlrQ== X-Gm-Message-State: AFqh2kpFgI53Wsy4qqm4FjYN8byUiqvUkcUmS4TM8Jw7W3mSem1aOm0q tKj9liHDyxmQdzPNdZnx7pcq/JT40o00fkbWZBXr3rOALpsSAmnbH3WD2BOAKlmsXWKGQt9MjMT weAPEDHmWL28+ycm3kg5aXO2xnCt3Uik/DquGCnLWbv9OIbaOOTkQZa9g3U2p X-Received: by 2002:a62:1cce:0:b0:58d:c617:8e9f with SMTP id c197-20020a621cce000000b0058dc6178e9fmr30083092pfc.3.1674561812041; Tue, 24 Jan 2023 04:03:32 -0800 (PST) X-Received: by 2002:a62:1cce:0:b0:58d:c617:8e9f with SMTP id c197-20020a621cce000000b0058dc6178e9fmr30083068pfc.3.1674561811731; Tue, 24 Jan 2023 04:03:31 -0800 (PST) Received: from LAP568U.mistral.in ([106.51.227.150]) by smtp.gmail.com with ESMTPSA id j10-20020aa783ca000000b00581ad007a9fsm1414539pfn.153.2023.01.24.04.03.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Jan 2023 04:03:31 -0800 (PST) From: Sinthu Raja X-Google-Original-From: Sinthu Raja To: Nishanth Menon , Tero Kristo , Rob Herring Cc: Vignesh Raghavendra , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sinthu Raja Subject: [PATCH V2 2/2] arm64: dts: ti: k3-am68-sk-base-board: Add pinmux for RPi Header Date: Tue, 24 Jan 2023 17:33:11 +0530 Message-Id: <20230124120311.7323-3-sinthu.raja@ti.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20230124120311.7323-1-sinthu.raja@ti.com> References: <20230124120311.7323-1-sinthu.raja@ti.com> MIME-Version: 1.0 X-BESS-ID: 1674561812-303636-5375-764-1 X-BESS-VER: 2019.1_20221214.2106 X-BESS-Apparent-Source-IP: 209.85.210.200 X-BESS-Outbound-Spam-Score: 0.50 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.245676 [from cloudscan16-244.eu-central-1b.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_SC0_MISMATCH_TO META: Envelope rcpt doesn't match header 0.50 BSF_RULE7568M META: Custom Rule 7568M 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.50 using account:ESS91090 scores of KILL_LEVEL=7.0 tests=BSF_SC0_MISMATCH_TO, BSF_RULE7568M, BSF_BESS_OUTBOUND X-BESS-BRTS-Status: 1 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755905544749205496?= X-GMAIL-MSGID: =?utf-8?q?1755905544749205496?= From: Sinthu Raja Add pinmux required to bring out the i2c and gpios on 40-pin RPi expansion header on the AM68 SK board. Signed-off-by: Sinthu Raja Tested-by: Rahul T R --- No Changes in V2. .../boot/dts/ti/k3-am68-sk-base-board.dts | 70 ++++++++++++++++++- 1 file changed, 69 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts index 2091cd2431fb..722cd19b74e0 100644 --- a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts +++ b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts @@ -173,6 +173,32 @@ J721S2_IOPAD(0x0a0, PIN_INPUT, 0) /* (AB25) MCASP0_AXR12.MCAN7_RX */ J721S2_IOPAD(0x09c, PIN_INPUT, 0) /* (T24) MCASP0_AXR11.MCAN7_TX */ >; }; + + main_i2c4_pins_default: main-i2c4-pins-default { + pinctrl-single,pins = < + J721S2_IOPAD(0x010, PIN_INPUT_PULLUP, 7) /* (AF28) MCAN13_RX.I2C4_SDA */ + J721S2_IOPAD(0x014, PIN_INPUT_PULLUP, 7) /* (AD25) MCAN14_TX.I2C4_SCL */ + >; + }; + + rpi_header_gpio0_pins_default: rpi-header-gpio0-pins-default { + pinctrl-single,pins = < + J721S2_IOPAD(0x0a8, PIN_INPUT, 7) /* (U24) MCASP0_AXR14.GPIO0_42 */ + J721S2_IOPAD(0x090, PIN_INPUT, 7) /* (W24) MCASP0_AXR8.GPIO0_36 */ + J721S2_IOPAD(0x0bc, PIN_INPUT, 7) /* (V28) MCASP1_AFSX.GPIO0_47 */ + J721S2_IOPAD(0x06c, PIN_INPUT, 7) /* (V26) MCAN1_TX.GPIO0_27 */ + J721S2_IOPAD(0x004, PIN_INPUT, 7) /* (W25) MCAN12_TX.GPIO0_1 */ + J721S2_IOPAD(0x008, PIN_INPUT, 7) /* (AC24) MCAN12_RX.GPIO0_2 */ + J721S2_IOPAD(0x0b8, PIN_INPUT, 7) /* (AA24) MCASP1_ACLKX.GPIO0_46 */ + J721S2_IOPAD(0x00c, PIN_INPUT, 7) /* (AE28) MCAN13_TX.GPIO0_3 */ + J721S2_IOPAD(0x034, PIN_INPUT, 7) /* (AD24) PMIC_WAKE0.GPIO0_13 */ + J721S2_IOPAD(0x0a4, PIN_INPUT, 7) /* (T23) MCASP0_AXR13.GPIO0_41 */ + J721S2_IOPAD(0x0c0, PIN_INPUT, 7) /* (T28) MCASP1_AXR0.GPIO0_48 */ + J721S2_IOPAD(0x0b4, PIN_INPUT, 7) /* (U25) MCASP1_AXR4.GPIO0_45 */ + J721S2_IOPAD(0x0cc, PIN_INPUT, 7) /* (AE27) SPI0_CS0.GPIO0_51 */ + J721S2_IOPAD(0x08c, PIN_INPUT, 7) /* (T25) MCASP0_AXR7.GPIO0_35 */ + >; + }; }; &wkup_pmx0 { @@ -214,12 +240,39 @@ J721S2_WKUP_IOPAD(0x0d0, PIN_OUTPUT, 0) /* (C23) WKUP_GPIO0_4.MCU_MCAN1_TX*/ >; }; + mcu_i2c0_pins_default: mcu-i2c0-pins-default { + pinctrl-single,pins = < + J721S2_WKUP_IOPAD(0x100, PIN_INPUT, 0) /*(H24) WKUP_GPIO0_63.MCU_I2C0_SCL*/ + J721S2_WKUP_IOPAD(0x104, PIN_INPUT, 0) /*(H27) WKUP_GPIO0_64.MCU_I2C0_SDA*/ + >; + }; + mcu_i2c1_pins_default: mcu-i2c1-pins-default { pinctrl-single,pins = < J721S2_WKUP_IOPAD(0x0e0, PIN_INPUT, 0) /* (F24) WKUP_GPIO0_8.MCU_I2C1_SCL */ J721S2_WKUP_IOPAD(0x0e4, PIN_INPUT, 0) /* (H26) WKUP_GPIO0_9.MCU_I2C1_SDA */ >; }; + + mcu_rpi_header_gpio0_pins_default: mcu-rpi-header-gpio0-pins-default { + pinctrl-single,pins = < + J721S2_WKUP_IOPAD(0x180, PIN_INPUT, 7) /* (G25) WKUP_GPIO0_66 */ + J721S2_WKUP_IOPAD(0x190, PIN_INPUT, 7) /* (K26) WKUP_GPIO0_49 */ + J721S2_WKUP_IOPAD(0x0c4, PIN_INPUT, 7) /* (E24) MCU_SPI1_D0.WKUP_GPIO0_1 */ + J721S2_WKUP_IOPAD(0x0c8, PIN_INPUT, 7) /* (C28) MCU_SPI1_D1.WKUP_GPIO0_2 */ + J721S2_WKUP_IOPAD(0x0c0, PIN_INPUT, 7) /* (D26) MCU_SPI1_CLK.WKUP_GPIO0_0 */ + J721S2_WKUP_IOPAD(0x0fc, PIN_INPUT, 7) /* (D25) MCU_SPI1_CS2.WKUP_GPIO0_15*/ + J721S2_WKUP_IOPAD(0x120, PIN_INPUT, 7) /* (G27) WKUP_GPIO0_56 */ + J721S2_WKUP_IOPAD(0x17c, PIN_INPUT, 7) /* (J26) WKUP_GPIO0_57 */ + J721S2_WKUP_IOPAD(0x184, PIN_INPUT, 7) /* (J27) WKUP_GPIO0_67 */ + J721S2_WKUP_IOPAD(0x0cc, PIN_INPUT, 7) /* (C27) MCU_SPI1_CS0.WKUP_GPIO0_3 */ + >; + }; +}; + +&main_gpio0 { + pinctrl-names = "default"; + pinctrl-0 = <&rpi_header_gpio0_pins_default>; }; &main_gpio2 { @@ -235,7 +288,8 @@ &main_gpio6 { }; &wkup_gpio0 { - status = "disabled"; + pinctrl-names = "default"; + pinctrl-0 = <&mcu_rpi_header_gpio0_pins_default>; }; &wkup_gpio1 { @@ -273,6 +327,20 @@ exp1: gpio@21 { }; }; +&main_i2c4 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&main_i2c4_pins_default>; + clock-frequency = <400000>; +}; + +&mcu_i2c0 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&mcu_i2c0_pins_default>; + clock-frequency = <400000>; +}; + &main_sdhci0 { /* Unused */ status = "disabled";