From patchwork Tue Jul 23 02:18:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 13739284 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 7FC47C3DA70 for ; Tue, 23 Jul 2024 02:19:28 +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: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:In-Reply-To:References: List-Owner; bh=8eRcx8mziHZBhFmJowv++R4r9tOEaS4d2UZvpFRrRJk=; b=HFJhqLCPvZIA2G wP1cWzQnHMQgphz1Vp20M6WfdKM6dUA9HlZ8MDAm8JlyKoEhhqiZuCI5RFFszCT8cqjwVi1UwI03g Mp02NrLdGaTdVnWLGnXGQ8aF4SqAB8Sx06pteKQi8ArUeCDcntqcDe6h19T+GXMJZmfY5AQ197sj+ MA2pBOxyDFGRhD3g0snhzdTkoIDooPUSzxasYGDUpQ7AZ/TnAuuwYZRAPj/3PZxByBiBWMyCpIByC 9Skd41p5A8FA+jaZPQc2FDTPD2qQLJ6+4hRykMOK0K0jM/Tcw0KG3vj6RfjS2qiKM38/laN55JBM6 J0SdOaWJpg9fe/TYfFnQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sW57c-0000000B7s2-3H8J; Tue, 23 Jul 2024 02:19:24 +0000 Received: from mail-bn8nam12olkn20827.outbound.protection.outlook.com ([2a01:111:f403:2c18::827] helo=NAM12-BN8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sW57Z-0000000B7rK-3v3e for linux-riscv@lists.infradead.org; Tue, 23 Jul 2024 02:19:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=QB2BIQFxVmGJVdEv431qq05x4YuHx+TO2mvXd2j7cCYUZrEGLNqJXBmULu2NPMOpAKIf1z4w2Ek8r+kDF+0zSeWZZWCSY+IqocLf1j1hRKCV81kKL0FkST1qo13nCXTEkWrVrKuQHTi09EjJeg7izVygofGY4WLgMZaGO2nrNtaMtdaXsDGtoC1TU5XGnH8dZAaGRfYM6x0/XvBxYUw1T0uwZOQaZRu3m99331nVLig7AtDTWp8vY4lT5kNPY7P4Ga9cZWHObnmlmP3c/VLcTIE+O6bzqIlB/0d+DdQYr1JQ7UkEy1+867A80gnrTKnvx9+2gufIZ3i4C0fgIAFrVg== 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=DVqoP6N7yFGG1dbc+ozcjeci9fVNVSwhE93MqgISy24=; b=B0WIrqw1wXJNEadDua6uHgPGZaldGQik/Pq5U/NeObMEVIwFfl0oMjbtrQob+13crg/IH7eUANsII5kn9B/aWBXFZ6WrSYXhqpqmj1o7/DTp/Ey9aoA5O5Y4QX7WyTyqnOnPv68FJfFi58xFlK6pSl3dZPAfGNNusBFibP+7+5E5UovVvWTA/ys4WWREPl0YvsN/qsOmNEhvkS0hQInr/zX19PMi8w8EDrJ0IvevyRW+Z7dlpT4a5F9vOf3YiEsqEIGmIjkYDPl+v8s2rhnIlrDhGo3gFULzizzbilV8FEv1uXLwY8k79Ty7sygOrQJmG2WPMEaySdifvp29wkwfcA== 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=DVqoP6N7yFGG1dbc+ozcjeci9fVNVSwhE93MqgISy24=; b=UjaBJFWG2XxNxrULV3jXr7W2JAIpolPgvfuf7omad70/Q1nfaJQq6/BM3/tXcXgkvxVsKCXPAwJveBIThrt/3ZaVOhn7eKeLBhWik/fMCc49wl3hlRb4OT0RQHIlDnG8dNzl2uIb6rcVq/7kslVCBobABHx9T0lsyLiLvXVQRVefGiTpRd6Pyo8ZpyKoLvZVQjnDuel5BRtcP/PtUmh90jshkym/xfiiurXJnXuZADxii6xC4uSanH/NvKNZ9M2A4J0qURlz7ZfGncZw2YkwwMXcHgRo3tE1wtsm6bfQ+GEJxgMPlPBLXxkF1qNdmEjEYNJGOACrxM0XuQtp4p3KQQ== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by PH7PR20MB7096.namprd20.prod.outlook.com (2603:10b6:510:305::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.17; Tue, 23 Jul 2024 02:19:09 +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; Tue, 23 Jul 2024 02:19:09 +0000 From: Inochi Amaoto To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen Wang , Inochi Amaoto , Paul Walmsley , Palmer Dabbelt , Albert Ou , Jisheng Zhang Cc: devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] riscv: dts: sophgo: Add sdhci0 configuration for Huanshan Pi Date: Tue, 23 Jul 2024 10:18:49 +0800 Message-ID: X-Mailer: git-send-email 2.45.2 X-TMN: [E5z/HCVyRP85ZYWvcajIW25oCMklz0L6DcTyN+bseTI=] X-ClientProxiedBy: SI2PR01CA0049.apcprd01.prod.exchangelabs.com (2603:1096:4:193::13) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20240723021850.227272-1-inochiama@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|PH7PR20MB7096:EE_ X-MS-Office365-Filtering-Correlation-Id: 02427b8a-7f87-439d-ec9a-08dcaabdd610 X-Microsoft-Antispam: BCL:0;ARA:14566002|8060799006|19110799003|461199028|3412199025|440099028|1710799026; X-Microsoft-Antispam-Message-Info: NCbyqctp7WnutumywhNBov83fJL7XiYpbYVzZU85u/K586gcu4R4DEBG7iDXXA9fPIYR5NXkMv+ysO+UXE81SUjQazECBTFE/6cddWFvuzEgdzOIkHnp+sMToBOA+ZYswPrl04Pu+hCkcV++Lt9xBqASzEht9q4WpYEq8hjzkhAUq6TrB26lAGjw7m7HI/s8w3iKo4NliWmyFEk5u3sV+gYI2ORF8K2fvBNzCd9TpHrpfb5iGMMs+q3Uge3Vdn+mV1y4SMwxWfw35EocurRgcc/zd5f19LowFn2rsizHdTQGMLIutnFv3oA3wbWXNWSHhk8kEG9GkWKZ0QkbP9HPNkmzsz6WxeC4PvIQgLlDOSmU0BzGO+Vo5ytboxGcloHfd209Fdqg2ZtbrUVLWcKLV3grbG+LuDnbTY91mscVlnFyd6oFWTHPYBuR+VatWU1lg2vRueLl1TRV/A5xyMyCM/tAiul180FBuV13wKKUEvpCSXaf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5xKD9XlwRZ+yTpbFdkmhgRASoVbJgrJf9Szb47f6MffZV6hgMpLbtL/kn2o7HczuWb4S3Q8fWAJLcs7MuA2SBYxbxblf7YovQNeLaMDP9dEk9qOZbMQNUC1euPhRH4b9GKV3ZtW7hc5wi10PVinMPnQNLiUcrkszymGFDjm2TkSyF13+It4nymyyKIRLuFXJNWFLRQS2dGEhYpWgPUtFPBl4gOjCKHkoKmfpHZJESBqesQvLC1pkT+L5+ncFoOrjv5l/9d1bv7VB94kQ/oxz4W2ZhoTpC78+lQJBU7rHFEQ226TR9x66kbvE33LypzefA4U7j5rN9LG+jEEjaIBKbgiyXKPsXMbV+GbvsTz0oHpL1UWYjgULdZuvZFsqQgqsCX8GCBge65h/QayF3D1MA/iAZSWbHDpPA7dY4bbwBrKkWTxekhKCW9jYVnN+HkdcRSqSp3fXniCWZP5d3XB51qsospseDuoJ X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 02427b8a-7f87-439d-ec9a-08dcaabdd610 X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jul 2024 02:19:09.8628 (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: PH7PR20MB7096 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240722_191922_006278_6BD7F355 X-CRM114-Status: UNSURE ( 6.86 ) 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 configuration for sdhci0 for Huanshan Pi to support sd card. Signed-off-by: Inochi Amaoto Reviewed-by: Chen Wang --- arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dts | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.45.2 diff --git a/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dts b/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dts index aa361f3a86bb..7b5f57853690 100644 --- a/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dts +++ b/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dts @@ -43,6 +43,15 @@ &osc { clock-frequency = <25000000>; }; +&sdhci0 { + status = "okay"; + bus-width = <4>; + no-1-8-v; + no-mmc; + no-sdio; + disable-wp; +}; + &uart0 { status = "okay"; };