From patchwork Fri Aug 30 22:39:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 13785710 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 ADA50CA101B for ; Fri, 30 Aug 2024 22:57:04 +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=d/RTlvp2FmU8Dd95DlePHgEw2bK4ZRxVhJNkZmsT/Cs=; b=c9tQ0Udhw9nfxc F3eRseE6GXOf26IJ9DD+dDp4qrHkpVnpMVxqLkhw4CjA7OH5TBwfU3PEo2xRgP0tVte6Bhxo1/82t 5JUjWWztzgCOmor1/IO8oHO9gNbYNpxZ0u37RusfO4h3XUEwny2AwxjAXIiuEpf924FUxLsjGMU3i HZJBLsaP/YeQwcbztyX7dBjiSdGdO+a/ktjT3exzSDl2BsYrTS6qfzC2NDOIX3w8BMhMykwXCGU4o jE9FzieBQ7E0ymfxe74zkp+DfO2+dIrNveFJ4qRrRoJFmcVkusk6hxaT8EM/LGE/ac2qkIqBPRh1S 5kXdi56BOXx5UdxLVPnA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1skAY7-00000007xkB-3Vhj; Fri, 30 Aug 2024 22:56:59 +0000 Received: from mail-mw2nam10olkn2081f.outbound.protection.outlook.com ([2a01:111:f403:2c12::81f] helo=NAM10-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1skAY5-00000007xjr-126R for linux-riscv@lists.infradead.org; Fri, 30 Aug 2024 22:56:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=XTkIgjmLLWE32ogR6RUtIFXmleP2CTHWHFOFXkMewaTR4KJU4fAeropb/9DHlx+tbET0vf1wYmci+8Z4ULmL/12RVaps7k+V2nmnWX78Z24+Ls8rX3ri20jKdccqeRWIOlfhpJV/gEvQkW9tKbGaNKMRpC0yXz3/qq6M6xKLvYR/Cab2iMDlDd8neOGwfegewStAmY999RFFCxY3OkPjdoQ3mPl4YpTvAfRrqsqtWwQt/u5tZoh2OZeZDf8KWg+dLnwIyeNe8rstsneGRRY0GgBjH/MGxuNdjToUMQNeY9oV1w+sEJH14oet8H2TlZn27rSjU6u5be1FRh4bVjmbLw== 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=doX6CZ7+GGwWjxYdrYFir9j341r6ePGjvDMAXSpAFkU=; b=tC6YhAmCpgWoUxs7FJfo4XtUrOVbkrDenFggRg0gGdFVBOMrALJYO6gaBrPPHdma4YlCtW/UysnBmEGP1n3BZbcqmx6XbinxU3xSlGosxRjioWllYaYIswn1e+3UQEym/8YfkESNyhALLR26dA1cheJwcckDABEYDFe8b+dahLYHbTVreNM0ZdsZQsRqyuqjDmdIirHfP7JvBVt7XZ7RL7i6Txmi6IBux+Fk/Z+0TVACsgh1V+4/bY0K7wE4/DcYxG956BOELbRB0t+/V2dbCxb7NK1X2RN9xhOUlA+MGitHNMJPEIkJcFXlGVaiX7KuC9G76Kq6QnbE4rNS9fSUGA== 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=doX6CZ7+GGwWjxYdrYFir9j341r6ePGjvDMAXSpAFkU=; b=HgTx/wDux//4KfOmUVTuNWcEXVeGkCZiiOUN7mvV4MOayHqZYkfrS8C+N/6O9szmSumu5rU6NfUqf+3aFzE62bCaH0NfrHPMThHnva0HYJEIql6bqAW3CSIaEORiZIVxFlYGKU+zJlWhzoPgFrzWOFuRX6En8+jQUr7V+Q/zM3ofSHlBwayDENLhCJBOL7qOto+8F2O8MCwE/gbFsiFESJHvPC8oMFA6/CAWPMNppg2F27C4dIY0xv9vPWx+bq7eYQ//mzs5T537VDywbc01PR4lVDZc10teE4LTrqST9rzyYmWNfrNd/ipj0Fc2IqWGO5A0aYIVju1sNcdjZcVqGA== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by LV2PR20MB4655.namprd20.prod.outlook.com (2603:10b6:408:178::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.20; Fri, 30 Aug 2024 22:56:52 +0000 Received: from IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::ab0b:c0d3:1f91:d149]) by IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::ab0b:c0d3:1f91:d149%4]) with mapi id 15.20.7897.021; Fri, 30 Aug 2024 22:56:52 +0000 From: Inochi Amaoto To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen Wang , Inochi Amaoto , Paul Walmsley , Palmer Dabbelt , Albert Ou , Jisheng Zhang , Haylen Chu Cc: devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 2/2] riscv: dts: sophgo: cv1812h: add pinctrl support Date: Sat, 31 Aug 2024 06:39:41 +0800 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: References: X-TMN: [QT/quMCu74hedNUBOe59E/FHTqdCB/VpJiEcD/ySZj4=] X-ClientProxiedBy: SI1PR02CA0055.apcprd02.prod.outlook.com (2603:1096:4:1f5::16) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20240830223942.27776-2-inochiama@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|LV2PR20MB4655:EE_ X-MS-Office365-Filtering-Correlation-Id: 4ab3b023-d9df-4f88-3cc2-08dcc94709a1 X-Microsoft-Antispam: BCL:0;ARA:14566002|5072599009|8060799006|19110799003|461199028|15080799006|440099028|3412199025|1710799026; X-Microsoft-Antispam-Message-Info: +233kszJ789ehdkiFOZSQKVtGuO4zXivYbvZqhTbzlzPwuA5/muwYuQwtt68hX3+8bv1+ki1KV9EuJSNpT+rWg9bpJ84xxuhw2wELJlFkScX8zJmKx3NVQVC2IJmS6PRD7GnX97vrbwxUeL5oBLUQU22M97eDNE8m5MifDZn+0BDRxbYwt3cCNf+LBwvHY0hN2cuDN7t0P0slSExyxF85Pn7zAcVjXq/U3I+7fo422sc3UtxRrgBh5LkUMUIR5i6vN6OrU+FLQTp+VDUajGCCvKVhQlFClXQE8tTTT20REtp/uMFNQI2bxLPKiblrbuCA/8y1zlGyesq+ry7wPl+xbLJhv+h+FQHOp30XSvO5uRR3ACr1fAuZ5yHP2d87e/99ksOVU0HTfaf/pUn3rUU3kIOViXFaU8Wplc19nhRTuW390Dxgv0RPhQ21z3IxxkxlHY0pviFShkOUEi6dmN64P8Yppa1+wFfBM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mpqJ5Z7fvZHem0A2cIS+tH2QJWASRI0wJR7LRPFTLphqqLOaUwb0LWQAjuZ+dQ/U9O4imRkHm70MEm8uXStcDkLwTtE/7uMJjNOCsgYyTbrBoOKMykYFv3EZr8GPww8B0uE6h51+eIDVA2HpuqD4N+4WBajFdU52oJKIEDSr4FyGbYNqwrrTOABs0gfALSdb+Rp/D71pkO54DdmoVKvSacfXCCkSK2eyFxghfHyCkIET22jUeGFWhsCMormIlCZ0PprzacPiHn/9hoGIBmMtt6iDKC9UEKHtYyMB3Bt6GuNhURrKdQfzolwnrWhbfh8idOoiLm3E6oYHERpy6slaLMJByytDJFP6BpZfu6ORgMP7QUbalgCBKeVO4Gf2yIugKt1qn0FVSZqIdA9Wx0JNKgrOH3pGJ9ebKP6ea53AprNN7U1yVn8lrbVp9ejCMkPMPrZ4Lw8rXOPd9mVF8/a9EW/KBoWDY/p4tYkCL8g/LUAIFkQ2hsFslkrRotMyttGI5sl8I+RD81gjq7nUFr9pY X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4ab3b023-d9df-4f88-3cc2-08dcc94709a1 X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Aug 2024 22:56:52.3512 (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: LV2PR20MB4655 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240830_155657_312183_8D678711 X-CRM114-Status: UNSURE ( 8.52 ) 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(+) 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 {