From patchwork Mon Jul 22 01:39:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 13738212 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 2D6BBC3DA5D for ; Mon, 22 Jul 2024 01:40:41 +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=TsOtFhTtSa19Ww a1qNosY1VbY1IHyd8rgXQR9jxQJ6u2UbqXdqjb8R6aL/6oTcIAUNwogBIHGBh/J/kkOo01t+5hJh0 iXjJrkntY0VMhENNALfIz6L9p39AAm+/Tc3dXUuAB7Jmuzb4igNViw9QbdTZfr2jooWoN3VBkf+Wm J5LdCBpGDeYS+3Vu56//zP85v64TIpYvIqob2mwck+tpnhHTI+77GPKn+3GS8tibXVAdWZB5KfBk3 DkaKs74Xfy5kZ/xWK8oJ9fL7WD6Vk2TQUY20rCKQPf3i//F0dkgtNMo2GFkyUJQh7NtZuzPFqaP2i cKwJEB4Yeeu+5RZxcR7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sVi2Y-000000081K4-0i6M; Mon, 22 Jul 2024 01:40:38 +0000 Received: from mail-dm6nam10olkn20816.outbound.protection.outlook.com ([2a01:111:f400:7e88::816] helo=NAM10-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sVi2R-000000081Bj-3S8C for linux-riscv@lists.infradead.org; Mon, 22 Jul 2024 01:40:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=XTwhfqYWMGfq9PowH9Kyk97vQANlJDgxh/KIf1LEPAmUY/fxI3sfuGOPP/yEh0P628x0gT6/v32DKF7szmWmlZ2brd4UvCvIMo+GxZW+ZWPFJ89f3gydlmUj+VA9C18AYhFAeMEW5T7AT9Mvl1FZY7e+sTNCC25mWe8KhGMgFcl/HfTtA2q2iEoGScR4hWY9gXFTdnHN/nigVszjSXfYRjbdrjjahnxfE/PY41mjG98Ly4RsVnG1GeH8iA+tcoH1jxqWD5EbO9nKuK0tELn+E+CsGzevNskbykqnadwvZlOTC61RU8anB1Dj633muXUIcoAUOfPApWfz1dzy8vTB8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=uAgu4i0PCQZLZhKBGgiFUhED4I/bclUoL/+uLyLCKIf2GSUjPixJWKuMzsuq8UuAwNzixYdeVUbz2v+fV0Gef0mCKyFSiJp9myOVnovR18nee/9mkW2oF3o+iPI5l3DyTDNmdTGlSBahE19hiFmSlJJ+u3XHet4yc4Ao0P0TUKv12gsd6vbRQaoKAlBGIaX4XBh8rHvqK9b1nkbHz+ejsElm/q6o46pZsHKFlkouaCoSunJjXDA3fhmKoUI2B6591jqApSbIsdhTEGCaKJuYNsQ6oSoJk7vQT0ik1i7o8OKcNWzzoYDkPbk5AspI4TIEgiVEi/Xpjkm6KOd30izsPA== 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=F1UEcg8/h5ft+SfuzPLL3agTd55GIl+sy5gBBoQIN8WqGc3oxDYX8yoCXf0/V7E/eLa7PIV5NXXpqQivkBpM6iQ8xrb3aXqVUBSInATTxnt/EplhEcIlbxiz4FO6i94JgPftitQ+nDAx780waZmlsbpJNOBU/stGXbrUCR0PF1O9heqGuGlH16c2C4zj3/LkzwoXWT1OrsoHqhl1i1Vkpeda3deGFNJm6YfSY0ne+AfjWN/0jZyxXYvDSGEcsYoG+YWVt8TKLhNfA5got0bH2ZSBSYFI6bt9OXJGuiF8RkIznSmdc+EAApeZUBh6bToZy8H789QEmH6FVB71yq+NZQ== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by CY8PR20MB5403.namprd20.prod.outlook.com (2603:10b6:930:5d::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.23; Mon, 22 Jul 2024 01:40:26 +0000 Received: from IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::ab0b:c0d3:1f91:d149]) by IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::ab0b:c0d3:1f91:d149%5]) with mapi id 15.20.7784.016; Mon, 22 Jul 2024 01:40:26 +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: Yixun Lan , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH v2 7/7] riscv: dts: sophgo: cv1812h: add pinctrl support Date: Mon, 22 Jul 2024 09:39:26 +0800 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: References: X-TMN: [Nhe0ycnyz5riKMl8A9o9UV6jgieaFZnAgN/xoLBtPrE=] X-ClientProxiedBy: TYWPR01CA0046.jpnprd01.prod.outlook.com (2603:1096:400:17f::10) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20240722013937.623685-7-inochiama@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|CY8PR20MB5403:EE_ X-MS-Office365-Filtering-Correlation-Id: 6793a6dd-49a5-4cb4-cd74-08dca9ef42f2 X-Microsoft-Antispam: BCL:0;ARA:14566002|8060799006|461199028|19110799003|440099028|3412199025|1710799026; X-Microsoft-Antispam-Message-Info: h3EZAqKU4Y8xYLpBb0HXaNdV4uaCdGRsxrj1sQ/eapsHd0sU3MRbOeh0gskKFKqNpU2DZXE5OmX55nh9sCTgttnyR5yBBMaAZajiNjsfQ2fqF7dbzVTbSOKa8rC3XjrEPMxrMcK976I3pYTtfx+qTLCCDlPLNAHAnm/igRgjZ/18KlA+qto7hIbIDdlwd7jQOtgJf+jusqcKwN2f7U3iMS40vyOTJTGIBfqEqDoFqF/OeveJP+/5ZozvHYCis6WjiLzIn3aC3dHEfl3N8p0gzm9FFLkbaddHDIiL5+aXp3OBE/TVkNJ8NHY1yRTRoz142IkIxiL2JPECnu1yTucQFKJy/wZBuIE8hhK6jExbKe0nB4G6L4YQBnvVwT4fCs7uNqCgUnbN7HUOKk9oA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DqF3SvGx7I1m1fK19I1POHXqQIh2gBpuYVAJTH8xDEAOQ1UOZfGCyXxyV80yOj1bBkMcjd3JtisK3tUqasaW5UhPvuCX2WINsT7hvh6qafSBseAsLH/iHFfKvqNVFeSNGbBU9bVn/2mjg65lYk0s6dX8vC0WClDZrcCS/xFRU5bIZrWIcwlGoVFF1R7kT8RSfCg19ferK+SUvn3aCCwfgUB/3aink6F8/CG5H/VK9dXSkQbfD8F4I3443H/Bh57u8COtYmFgCrU7jJxxepBlVtrCWUES1pMN5m6wXDfMFEr0vabkbQtHghjSEBPtTcR/8Ac/JN8BTcPvDztlceZ3mibPodL4bOLK13HObZHy2mMLjKNer9sH1CMdJ4DzaIF+jXXw+f6CMN9uhUUX9PsoqCp89+RkyqY+szRfOjqK5UXr+exxawb8Y8cgSmbSAxJzPnh8QtySat4m+i5LH7S8gve8qkRzOMClqOZ2u1D2YtwDODcxWjmS94Ix613tNXs40UJiQK4boAIT86XrU0SvZIA//q2ooglTKQnqzxQ X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6793a6dd-49a5-4cb4-cd74-08dca9ef42f2 X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jul 2024 01:40:26.8633 (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: CY8PR20MB5403 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240721_184031_996494_FF0CF4FE X-CRM114-Status: UNSURE ( 9.10 ) 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 {