From patchwork Thu Jul 4 05:46:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 13723269 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 89FBDC30653 for ; Thu, 4 Jul 2024 05:48:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xIoG80j5YNRhOaFPBcMFedsSzOpsH3kRu3Yhjagxf6E=; b=nsWb87DXrr4orY k/0UoKDZ+EtH15Si8lWnz6Cg3/n+HdAsUyzQmBopuzgnGl34IoscwfZ1IBdKWgZ7updqm8NMKArWw 08dnLNAhqXQOvIzHOXrykTmwjm7UoVzOcYy7wtygPgefq1IhWUgK+8WQLWU76Hqs9yfUo7NWfyl/m MU2uAy29Oau/2sRvwZfNxApoVs9lAda3kHw1nOuiSDhoc1coF9CR+L6w7T5ZWpiBo6xs7T8j6v2if VghqE1uaamLMqaXTSzJx9fN+Dg9om0aiL5Mf12UqT0vqcD5aIyFa3tAtkNuSR6eXpHw+9/N6nvUyv Xw1WgL8RDWZg2GpZONKg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sPFK7-0000000CFd3-0VhQ; Thu, 04 Jul 2024 05:48:03 +0000 Received: from mail-mw2nam10olkn20824.outbound.protection.outlook.com ([2a01:111:f403:2c12::824] helo=NAM10-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sPFK3-0000000CFaS-3Wul for linux-riscv@lists.infradead.org; Thu, 04 Jul 2024 05:48:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y+V2tAJ0ag0jOlFgm8mUexkmLmN5Q5r/T4WUk0EvhLhcuVrr+l98TY2s9ore4w4ch/wfNZMmSsCxkMFsoBSFy3/TY1jXCv2H1sdLxyzVBBGScCziEIVpp9oVplyLKnl+78zJLZ6S0vzdyfElQWuyOAYWmlRBI54FBHf6EkiPKnLKymmteD9YpPZ+uGldrhPykL8sRaONuWAo+bfs5rDrOpijmKyUa8PRP/p3bWlyYTHWDRJT3IPE9fb5lh1uabGZ8Q/N51skwtAQ4XwPGweE1QdYWOc14w0uk3oSY4B2mpss0dxh3DzM7lCh5mj/64wlA1vg//Js7GzcoRRMaSWKVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=h4TbHAu4Ja1EaLRb+ZVAL1MGcs0f/SOJyTBB1iLZqZQ=; b=VpIX4SVY8lsPpeHlZhFszQXt/WcHr26DFL/gwfiaox/dfpGtMUNp/3XaXZovPFLifyXYUS/YVRL/Qa3n+gczchBejltB8s2M25MbQfhfei3/DgVv+P2qiWfL71uOe6PxlA1cAxNF6D9QMtWI2+yHYkPS30EB69sHNumXtMRncFPp9sjZIVgukWazA2+scwQpSKQzfCPpHBul+fohYxilpd5KKWisolaXt2GvlEH0behhzZ8HHTEcItE3YY9yNufvgIiHBFYYlOmDRQeFepGb6cb4pUCqdAFIrbrpt8sVFK1Nhz+ECKu+n2pyBlUGf7rHBEM3GbJC35yt/1PqZH8sMQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=h4TbHAu4Ja1EaLRb+ZVAL1MGcs0f/SOJyTBB1iLZqZQ=; b=Bkv4eIKSvi1NRO5NSSl1eD3WRGasUB0uEUmExa29BCRxHnPoAs/YgLWMiaUcyZ1yglTYBWurnfpJbK2nYQvIZG97ed7UWaApq/16ZLcwDtWu3VmDMFfJip3tEGcTT6BI9+5jnkHhJ1jZyT7MqUnGVVxUPbq1Mfs/4FFsp9cEKOQ2As2cLFu7f//7pU5Biz1x//VKc9155l1xFRAFW6DvkQSAroXXtC951SxHPT7w17iB7oMiSine2hyDO9Q1+3YfkTXm3GQz7nhuyN8wD7T+5+L3gfW7mH/fIPllF/b/pi47jrd7ywFMsUkVkV/Ti2urDmIHxSs+1STEfeQZMHchwQ== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by MW4PR20MB4293.namprd20.prod.outlook.com (2603:10b6:303:184::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.33; Thu, 4 Jul 2024 05:47:57 +0000 Received: from IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::ab0b:c0d3:1f91:d149]) by IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::ab0b:c0d3:1f91:d149%6]) with mapi id 15.20.7741.017; Thu, 4 Jul 2024 05:47:57 +0000 From: Inochi Amaoto To: Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen Wang , Inochi Amaoto , Paul Walmsley , Palmer Dabbelt , Albert Ou , Jisheng Zhang , Guo Ren , Haylen Chu , Drew Fustini Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH 7/7] riscv: dts: sophgo: cv1812h: add pinctrl support Date: Thu, 4 Jul 2024 13:46:43 +0800 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: References: X-TMN: [8iHOWFNaa5lxhYEnzhGLWF2P+vnyRrzFHBMB5wpWAzc=] X-ClientProxiedBy: SI2PR02CA0020.apcprd02.prod.outlook.com (2603:1096:4:195::7) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20240704054647.1747392-7-inochiama@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|MW4PR20MB4293:EE_ X-MS-Office365-Filtering-Correlation-Id: 6370bfaf-8620-4daa-29f2-08dc9becdb07 X-Microsoft-Antispam: BCL:0;ARA:14566002|8060799006|461199028|440099028|3412199025|1710799026; X-Microsoft-Antispam-Message-Info: bPOABhv177xSeBDPtZjpKAV6Dew5KQ+wNsgYxgDoNJasMNoBtWdpWwh4LH8mOg1plgKFohMi6Rx5513fL6cKqYKfK1z4aNhNg1XLma75Kyq1yuvzBRQIZPqAvkxz16pcb3bKq5pPk6SXtrRfNHEJmDa9dC8SBLW3C3BnhNbDEd2cSXQxdgoGZcHi8ezG4flVeIz63P+cBKnkKbcbnQsrBUyiste08al8UEYr+SgLQuiXMkisG1KT2jF9u6xTI+GVeBTA6wS9da1Y6AkQTImP9gDKVLWfvahFr/jshwbsB3rYLIA2nUQ6kTRAD/7dpF+Gvib08cZgAVfMKOt3Vo8HxyFSNYmwafpHdBskmYli7pn5XIW067a2X6eAWGRRU6lBT/bn1lr+V2XaVt7KD7Ndg1kV6VRdrjmd+FrGmb2ZEeO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+hmzSD4vfol9qR2XqcKTS1G2IhnQ+SxvltkgbqPfBjb44IsvZVoC3oxameMy+Cq0xpzfCov0IJTpAK7aNctMTpUVdUYO1LlyZFDplSJ51fTPoEle0GbxIdt/nTRguVKiIWdpAmNrgf2DU+cDXVQ1v/g78ALIiTS3G2kf4wzUhnP3PjpJS5tT2PhlHy7T3ry3D3O/bdRB6RG1Y/26QoQTdTliZL4Cd9Cw/bowX4fMEJa8kY0GZqCs0elWS7gzhTLU6IR3rJfyIKS0/sHcq2lFJcO1g7JUU+Vt6Z3c1j3Q0DXakmRAkMVZzq7p91hr0F8EuYZcaYm9kTN0yktzB9x33RW9jHZm+1CkuBRbmljtK8kEzxz9TX5Z+DqD0kZ3M5jRiHardGDdFIniU+vm0QCH2BJKXWun5d8QxpEXqnpPlLNqVJgS+k7/PsWmn0LgG6+9swXrmSehPkZkpN7wwm73C2xisjfRhfPc1M5HbD2Sk1brdE5nrzKyxsKqbEbLDmZf X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6370bfaf-8620-4daa-29f2-08dc9becdb07 X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2024 05:47:57.0382 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR20MB4293 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240703_224800_438643_43E5B62A X-CRM114-Status: UNSURE ( 9.32 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Add pinctrl node for CV1812H SoC. Signed-off-by: Inochi Amaoto --- arch/riscv/boot/dts/sophgo/cv1812h.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.45.2 diff --git a/arch/riscv/boot/dts/sophgo/cv1812h.dtsi b/arch/riscv/boot/dts/sophgo/cv1812h.dtsi index 7fa4c1e2d1da..12e44edebfc1 100644 --- a/arch/riscv/boot/dts/sophgo/cv1812h.dtsi +++ b/arch/riscv/boot/dts/sophgo/cv1812h.dtsi @@ -4,6 +4,7 @@ */ #include +#include #include "cv18xx.dtsi" / { @@ -13,6 +14,15 @@ memory@80000000 { device_type = "memory"; reg = <0x80000000 0x10000000>; }; + + soc { + pinctrl: pinctrl@3008000 { + compatible = "sophgo,cv1812h-pinctrl"; + reg = <0x03001000 0x1000>, + <0x05027000 0x1000>; + reg-names = "sys", "rtc"; + }; + }; }; &plic {