Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp384896rdb; Thu, 30 Nov 2023 07:21:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IExK02lwLgdjQulhnj82ATZ671U0uxyKoT0NnOyn3fCrbO7NB+tedAb3ufELRq/GpPy3PIf X-Received: by 2002:a17:903:11c8:b0:1cf:5760:43f9 with SMTP id q8-20020a17090311c800b001cf576043f9mr24456392plh.64.1701357714116; Thu, 30 Nov 2023 07:21:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701357714; cv=none; d=google.com; s=arc-20160816; b=UZIatEobLHytaDQqhIYwmLDj4cw6bF8lazkO2Hczl+eP+afHLFzGoOHg8KoAyDXMDT /geTE9Aoco4xm3oVTWGUGKv3oKAwL+0kMlhtqEF75idOoZ+XtS/Rnyt0NMdj68TL4p1o oCi5Kt/4P2DvyaMlVOkN49zgpagHHqO2DoN4o5MLctQTZDYKkx3zuJVD8JvDHMc4qDfO BxuaWfMN4jD08UanMhu7GK9yUXRcibJjFWXxzLjrag/lS+11UORQHASnFS0FP5IuMiMy h5edVB2kw58kBd/XppI+gpDswnP8IM9c1vbI/R7XIDBOBakbEwqBopVpaEu39pH28OIt U15w== 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=OuMn6YJcnYA0SdFjV5QIvrMlS1FQMrQ/PHdRB99f0NE=; fh=Ok4klyFUkgnj0eaKwSnCsCY6uP2ODAM3LCWCs6106jQ=; b=JwMlmMDRBRlQuKSHXYS6WuUPylTnmM/24/vyYrl5VKssYwBPnMpk2pmeuwpAhoXLRT F+M/YP58864XjAvCMby6Pz9exWG7G3qJJR1/40kZSCd8MGhFUagEpxBJPF39Vu3yIP1b 26GDgupQ2ENjdmJ1NJ6O3Bf+vpwtTU3+M2g8xZNzNOmIO51EtaKw+mrq1W/JL2XzvzQv dflaQjGExGJWPWPU1TLH7gkxBN1DZXg0qxJYfXjFKRGtaj872ZEszjYWkoxCHfeSXlIs lGthBXsP8nsfev79Wh8AmfQHZVtRsRlRrRj1HyVEOfgVKPcov6fpIxavxzr9hB45tsVq GOwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=Qfay1odA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id t12-20020a170902a5cc00b001cc692bf120si1287690plq.61.2023.11.30.07.21.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 07:21:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=Qfay1odA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 5FA84807FCD7; Thu, 30 Nov 2023 07:20:50 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346275AbjK3PUc (ORCPT + 99 others); Thu, 30 Nov 2023 10:20:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346265AbjK3PU3 (ORCPT ); Thu, 30 Nov 2023 10:20:29 -0500 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81E7C10F1 for ; Thu, 30 Nov 2023 07:20:32 -0800 (PST) Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id D26203FA53 for ; Thu, 30 Nov 2023 15:20:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1701357630; bh=OuMn6YJcnYA0SdFjV5QIvrMlS1FQMrQ/PHdRB99f0NE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Qfay1odAmPI2ThEtelo1cVm7XYA0zuOAwD63dO8pfJehiix9h7jR9TVYFwSOqcVej DBUSr89DY+UUZ1K/ogy/KQNaAJWCymbcYi0eYuH4JA334o2hvnGQiZHVAjmVmFc58M XXiXflIYogGsSHRDnQHCs4msfC50FGb28dIK3U6Dx7KSK83GSVs4C6b/Sy3rsl47YF Z8NDjgW/OjbzoZaIa8qVGm+QXn0XjJZwbG1Lz6uYFn2ChsuLIZX5JjOB3o+c1i+5Z/ cAQt6Rlp64ri4IugSWRRywNTz0OeWe9VdqNTMH9rfU8lOpHRulI5JRpT+HA6/GtKNH vnud3lZ6mZGAg== Received: by mail-pf1-f199.google.com with SMTP id d2e1a72fcca58-6c334d2fd4cso1391210b3a.2 for ; Thu, 30 Nov 2023 07:20:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701357629; x=1701962429; 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=OuMn6YJcnYA0SdFjV5QIvrMlS1FQMrQ/PHdRB99f0NE=; b=FjDSXGF5s1EkvgpXEZc31f7Dsn7ht1UnVXgonMQtgJoakWpsanKXRDL/2W3WmzbgIX zk+c/WhvBFvIqSSIv/vEsnyOuDjf85+snXRtbPS48ItDnD+0A+sFrHMUzwUOfvHCGf0o iZhDo1CMmGSNtn7pNRjMDGdAb2aYpgX7wRzCBvErZinXJLLuhlef+9lBAB5z8gM6YWO+ rOsY335TVqmSezTn48N9btBcsvzBCMEvroT1jWVCSK6M6EOL79wg9mbXi2wntbcXhloF j4DpCn7hqZlEMAnrHyJOBZqfvSISeqfV/UG7eQduq4dQ33pGdys225upeWGFfdEtvl/U LZcA== X-Gm-Message-State: AOJu0YziK1Ec4suHghwpBQeT5lY5SNGWsuBPXZOKGgbHncjCGO9T65wy O90fRWOsiVgRgQ3ebCrCYpd8DvvDEldFwSKvW8KX5xB8Rfqst2haXJ/ReUIyJJCW4hjNPQ8u4ez nhQ6+IMEaOhvtlCHnNtI1fIKLCIdxxRF8IQ5Yxyxr/w== X-Received: by 2002:a05:6a20:6a23:b0:186:aac2:26b9 with SMTP id p35-20020a056a206a2300b00186aac226b9mr20943944pzk.30.1701357629205; Thu, 30 Nov 2023 07:20:29 -0800 (PST) X-Received: by 2002:a05:6a20:6a23:b0:186:aac2:26b9 with SMTP id p35-20020a056a206a2300b00186aac226b9mr20943918pzk.30.1701357628950; Thu, 30 Nov 2023 07:20:28 -0800 (PST) Received: from stitch.. ([80.71.140.73]) by smtp.gmail.com with ESMTPSA id y125-20020a636483000000b005bd3d6e270dsm1356002pgb.68.2023.11.30.07.20.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 07:20:28 -0800 (PST) From: Emil Renner Berthing To: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Paul Walmsley , Palmer Dabbelt , Emil Renner Berthing , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Cristian Ciocaltea , Geert Uytterhoeven Subject: [PATCH v2 6/8] riscv: dts: starfive: Add JH7100 MMC nodes Date: Thu, 30 Nov 2023 16:19:30 +0100 Message-Id: <20231130151932.729708-7-emil.renner.berthing@canonical.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231130151932.729708-1-emil.renner.berthing@canonical.com> References: <20231130151932.729708-1-emil.renner.berthing@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.6 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 30 Nov 2023 07:20:50 -0800 (PST) Add device tree nodes for the Synopsis MMC controllers on the StarFive JH7100 SoC. Signed-off-by: Emil Renner Berthing --- arch/riscv/boot/dts/starfive/jh7100.dtsi | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/riscv/boot/dts/starfive/jh7100.dtsi b/arch/riscv/boot/dts/starfive/jh7100.dtsi index 0cafac437746..c216aaecac53 100644 --- a/arch/riscv/boot/dts/starfive/jh7100.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7100.dtsi @@ -178,6 +178,32 @@ plic: interrupt-controller@c000000 { riscv,ndev = <133>; }; + sdio0: mmc@10000000 { + compatible = "snps,dw-mshc"; + reg = <0x0 0x10000000 0x0 0x10000>; + clocks = <&clkgen JH7100_CLK_SDIO0_AHB>, + <&clkgen JH7100_CLK_SDIO0_CCLKINT_INV>; + clock-names = "biu", "ciu"; + interrupts = <4>; + data-addr = <0>; + fifo-depth = <32>; + fifo-watermark-aligned; + status = "disabled"; + }; + + sdio1: mmc@10010000 { + compatible = "snps,dw-mshc"; + reg = <0x0 0x10010000 0x0 0x10000>; + clocks = <&clkgen JH7100_CLK_SDIO1_AHB>, + <&clkgen JH7100_CLK_SDIO1_CCLKINT_INV>; + clock-names = "biu", "ciu"; + interrupts = <5>; + data-addr = <0>; + fifo-depth = <32>; + fifo-watermark-aligned; + status = "disabled"; + }; + clkgen: clock-controller@11800000 { compatible = "starfive,jh7100-clkgen"; reg = <0x0 0x11800000 0x0 0x10000>; -- 2.40.1