Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2678658rdh; Sun, 26 Nov 2023 15:29:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IHd0XI/qnmpY+LSw3dZ+ZOwFfkJ33xj/JGHC08ZHGCUuPi8onRPhbOF2lHHB7kuhBwFvnYO X-Received: by 2002:a05:6a00:2e1c:b0:6c6:b5ae:15a4 with SMTP id fc28-20020a056a002e1c00b006c6b5ae15a4mr14450704pfb.20.1701041367105; Sun, 26 Nov 2023 15:29:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701041367; cv=none; d=google.com; s=arc-20160816; b=ID0zpU76zjI9zpIqpvLKsyntE8qnTGmLoGJJqE/EDLSYmUV4b5gCAwKq5t0pw1wbiw IgKKph2ASRQMMsEwWi4QUeGGLrpozB3y3VeUSOuJeAwRiOU0jE0uRKVp9aUaJ+3b0+UP N++FESNoyOoGRVhMz7RjQCx8zs4yRngIqKncmV0TbCFkSJXKeviEAvtGxRCIpF03byhL Xaed+DAkBHHZDI9zJ3jX4WzIHR7/mOVTm1n+Nh45WUAfctf4VyvIoHEJsdxqazdHfhvs u98stc2DD3DTn3wElTgpyaRprLLPPsuQu4z6MofD1kxb12wlhb9pm3tC7XKM0D3ZJrmQ Fviw== 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=IHo4JbcU5Gy17m5IMbnjDsQH8GbpIaNOV6B0kJ1IGNQ=; b=pypugVnltTLTw5YesptbvQGdLZxgWjO7zAvM6hdxMK4yOf58S2ddhtutaT2ToD3BCr uJoJ31VMyUx+BE7ln0rJI4fwUwbR61/eAjDe5DXDuQg7JoXWbg6TrH8owpvLGcTcPB2L mtAP3UWlSW8VhqeZTTuQKB2e2aZDuDt8beWKn8ofGRYTJlFcFDWX1IO/l2Fd52xbhn51 Z/lyqRdpWdLjIwg8nc0cQrqNKlIwRc+iMDLSw7/hQb6M7I664R5j91o9miCVTSPDQHJt qKdLZmcvAaelbE2aU9oU0y6/tbFUCO0eQfajsdGa4NRRUo7z4Nd9FBgUaQYvJQqg3IIL QZLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=SOeL1YT6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id o191-20020a62cdc8000000b006cd8e46a8d4si839000pfg.326.2023.11.26.15.29.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 15:29:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=SOeL1YT6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id A0213806E3F5; Sun, 26 Nov 2023 15:29:23 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230427AbjKZX2s (ORCPT + 99 others); Sun, 26 Nov 2023 18:28:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231287AbjKZX2f (ORCPT ); Sun, 26 Nov 2023 18:28:35 -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 E44A1189 for ; Sun, 26 Nov 2023 15:28:40 -0800 (PST) Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) (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 B6FB43F885 for ; Sun, 26 Nov 2023 23:28:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1701041319; bh=OuMn6YJcnYA0SdFjV5QIvrMlS1FQMrQ/PHdRB99f0NE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=SOeL1YT6bSbk0XdhgDWSbLQ3Oy2/R330q1FZW9Otql84J+LVo+a+ftyWioX7X+XLE WsxSrwwg/P59pPDLYmxOJAl/9TCz1USYBQgmpN8hXweRkD3i6Bf0moQR+W54rQT5VD H+vQL8+7CsGj71XsrVF/gLCpx1htMw5a6FAUB+tdZdIFso/ohrT0kG2Pd6iPeOfCTF +drDqIKz/kEztmbP9ijGw/XyKRMhKRQT1tjyl8CgZvKAlZqqZVs5zlYkr78aooDeJn D2Ca80EAPxvcRPKDIVxDVq75Vp5RdfKH9n0Au6CImu5fIqu534LWbQTrwJjaAwWatG qBuf15ArBLASA== Received: by mail-pl1-f200.google.com with SMTP id d9443c01a7336-1cf9dded6fbso41735415ad.1 for ; Sun, 26 Nov 2023 15:28:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701041318; x=1701646118; 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=ott6IR6v2uVLI0JHHLk8lTvFnDbPS7DhI04wS1t/C2Nbp18HlVMgI+Ne0S9RqO65XC g/PSfps2aCg9bHalKRTIdaKuf2of12/TQ4WtY/P4j4+uyXo/GokB4AGqQtpUhPP5STTV 6fU/YfqvAPUQzFygKUGZP0e83TwqCFTc1bZKyl/AM+fgYQ9jlizinrTN7V9I04sf1NhJ 3oX4gB7ueGcGnx3AhiXvfcSB8gAwZMACwwzdjKhMpwunjS/G6f5o9//Wtm71SB/7w+do jx30nxnzG46uM/I9DUNEvPNcY9wWd8/1TOG05VyzEFXW6heheoeff3AD+WweuOJHg3LM Ipsw== X-Gm-Message-State: AOJu0YzAuVWAOpT0mu+kiNMISIJppY+Av4Xyj72x+Il92apCVKnBXGvM aobF/Wok53MJHPePKRWs5zf8mboLsDxo3ODanjNWOuhkSIsbM6JVllmqIIyF1mNJLi5Q23s4DC1 F4gsJgxhqagYYYLsGIenBMJqr75Szn6Mtnh5OCKIy9A== X-Received: by 2002:a17:902:e80d:b0:1cf:b56f:5359 with SMTP id u13-20020a170902e80d00b001cfb56f5359mr6002915plg.16.1701041318485; Sun, 26 Nov 2023 15:28:38 -0800 (PST) X-Received: by 2002:a17:902:e80d:b0:1cf:b56f:5359 with SMTP id u13-20020a170902e80d00b001cfb56f5359mr6002901plg.16.1701041318277; Sun, 26 Nov 2023 15:28:38 -0800 (PST) Received: from stitch.. ([80.71.140.73]) by smtp.gmail.com with ESMTPSA id y10-20020a170902b48a00b001cfb52ebffesm3123853plr.147.2023.11.26.15.28.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 15:28:37 -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 Subject: [PATCH v1 6/8] riscv: dts: starfive: Add JH7100 MMC nodes Date: Mon, 27 Nov 2023 00:27:44 +0100 Message-Id: <20231126232746.264302-7-emil.renner.berthing@canonical.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231126232746.264302-1-emil.renner.berthing@canonical.com> References: <20231126232746.264302-1-emil.renner.berthing@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Sun, 26 Nov 2023 15:29:23 -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