Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3404779rdg; Tue, 17 Oct 2023 13:46:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFTBnb3QNn6PtpeuSc/OU+n5PZ6MyRW1hPCwYZMMh7BWHQONjtaTLuv0JPwpgwUa8KcjsIi X-Received: by 2002:a17:903:28cd:b0:1ca:8252:a72 with SMTP id kv13-20020a17090328cd00b001ca82520a72mr3213714plb.63.1697575566293; Tue, 17 Oct 2023 13:46:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697575566; cv=none; d=google.com; s=arc-20160816; b=FWyPcWXzZC0/z4gzBA1LgJGRzzZv2xcEe7qDveslZIHEOuHwIw4iYxHW7z0bt2m8ZZ x0MV8tnCSolVLVtareETn+v0FFRVm0TypZw6kgpWR5eKVzAPPDFYpPlqr0P9vhfZ/FYS 3C3Ls6g4ukKNRDz7rL3+rt6PKffeqMiDQ7MoNI9hl48nANO8BAu19UzlCMak1IfN1KrN UOjq7oBgMdtToaSyJ/sxkjMibYtSGgy7yCjuuA9GEq2+3SP5pGimuJWKB4zfhYtpHRDd m8ieDpDcTDjExYlCPVQIzMVZ1cKUDGCDopo8w6bLmrphloeXPQrJ7JRHoTJWOUp+LKQX 07Nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=bR/IFAv1lnI0y6g+8jA+bwtSS6VCFSGKbX2JFhOV5b0=; fh=vHR8U309XOCZR8G4JUyhb/0ihb0aVduZkDFEUxYc3iE=; b=rtk1GyohcHjt1V81w4BiFIynMAcRdu8h/lPNq7XVu+2VjwvIJwbzM5VFrQ9psEzUQV FKJSLl9IqBGSi0dQ8+r4T/cTZDLfX+CNjl/zQqmee4KP9VcETjptIRQp7DqAcDphTnai 7RTdquMKZ3z2euaBuBVe1/JOTuE/VgDsxlxOaGT9VXtN/bkgPyuNWvUeSuUo+j2pi8cU C97zAPQu5jbf8Uu6oqbQ0MsnR699fRAzo0soHW5Tci7hH9svLW56wM5PinUbHPCJoZDL Slhw78bq+4sSOlSh8mevE62IuvDOLuIH4VfTNy9Q1IXsrsp5joqeu7Gd1XG/Ao+vHfHC PniA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=hLak6oa9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id l5-20020a170903120500b001c3e732b8casi2755462plh.159.2023.10.17.13.46.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 13:46:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=hLak6oa9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id A5C21805F2CC; Tue, 17 Oct 2023 13:45:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344448AbjJQUpr (ORCPT + 99 others); Tue, 17 Oct 2023 16:45:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344483AbjJQUpl (ORCPT ); Tue, 17 Oct 2023 16:45:41 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 765AC126 for ; Tue, 17 Oct 2023 13:45:31 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id 98e67ed59e1d1-27cfb8bc7eeso4912821a91.0 for ; Tue, 17 Oct 2023 13:45:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1697575531; x=1698180331; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=bR/IFAv1lnI0y6g+8jA+bwtSS6VCFSGKbX2JFhOV5b0=; b=hLak6oa9RY60EQrK8i3SH1/pDUCuPdydHyVU7ftfjwpftwTbO1QhwDjVMwG7VQEsyC 5UK+5KX6O2058TXJKLXMxJH6Hskpmi5IjICmRfTXNcadfPoi+GNAjSt7IwfRo2DH0xpz 4pmkOsn6QNaiMALImz73SU9jdh5HJCfpvQa+ny6bJg69A0xuJnEPpwDh+pYSfsDsIV2b WojQsQcj5ty6+uyLytCv+tV61v/jfz0NYa4LV9NvGNT+PHmmWC0px2HJ8EuGICjtd15K IGX7RntGbcPRK1CI0q3vm10z1XBfT3d1DlzcIN8MXjUEGAI9eAmaZ1RkPUy2KpawQui7 SfTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697575531; x=1698180331; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bR/IFAv1lnI0y6g+8jA+bwtSS6VCFSGKbX2JFhOV5b0=; b=NcJz1P13bL/RixZUdC8KWr59MAze4Nouh/bmpOjM8ZDpWqiwQGLQicKf5g4QuSgrhx A9TWYzCMHExd8KBpqfshJx1V+XuK046/UfMe8niWzRjdUB6E5eNaIAW4QeymFH4UWtRN AOvUl9mjUaB00TJe+D0qp4Yg4biWelwhw/V9ylcHEue5BjqMlSsQxGyc9jWYuT3v5Mdv JCSydPGoCIauyYOta7F/rSmKCtdexY5HLSTpMJvncsp9c5RO2H1WfeYESc1XZMsWok3E 6X8ksf1Epvjqx43DwYKIlYiMMhKurkQ/kaB4t4+3LtxqXPhJ/ltMlSDuEVcRQdz1RWOg 1EOw== X-Gm-Message-State: AOJu0YxHSOgzf08N/Wd1GO8Y9SLUZv+tEcMIcSrIgRjmEM0I3jfb8WyI Vi1GTgl2jsAG3HM0OLS64chIRg== X-Received: by 2002:a17:90a:31b:b0:27d:50a:f8a6 with SMTP id 27-20020a17090a031b00b0027d050af8a6mr3293077pje.10.1697575530940; Tue, 17 Oct 2023 13:45:30 -0700 (PDT) Received: from [127.0.1.1] ([2601:1c2:1800:f680:51d6:dcd6:63ef:52e9]) by smtp.gmail.com with ESMTPSA id w3-20020a17090a6b8300b0027b168cb011sm1906553pjj.56.2023.10.17.13.45.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 13:45:30 -0700 (PDT) From: Drew Fustini Date: Tue, 17 Oct 2023 13:43:52 -0700 Subject: [PATCH v2 6/7] riscv: dts: thead: Enable BeagleV Ahead eMMC controller MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231017-th1520-mmc-v2-6-4678c8cc4048@baylibre.com> References: <20231017-th1520-mmc-v2-0-4678c8cc4048@baylibre.com> In-Reply-To: <20231017-th1520-mmc-v2-0-4678c8cc4048@baylibre.com> To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jisheng Zhang , Adrian Hunter , Guo Ren , Fu Wei , Paul Walmsley , Palmer Dabbelt , Albert Ou , Conor Dooley Cc: Robert Nelson , Jason Kridner , Xi Ruoyao , Han Gao , Icenowy Zheng , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Drew Fustini X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1697575515; l=933; i=dfustini@baylibre.com; s=20230430; h=from:subject:message-id; bh=vNFZt2gizhpsjzH9MAKHp09E78+qWWf2znY/lpZAKnk=; b=j5MwipA9159XueCAdESnb2EitXe9gLx6ENZSvmnLtlql41q832inr6iR4u+oaVwFG7pwLGGN0 Vi3eKERq18FDVLSmbURSHVWxMLqysL2SMc3AwBaEAzRyYd2aeL6EEmC X-Developer-Key: i=dfustini@baylibre.com; a=ed25519; pk=p3GKE9XFmjhwAayAHG4U108yag7V8xQVd4zJLdW0g7g= X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Tue, 17 Oct 2023 13:45:58 -0700 (PDT) Add properties to the emmc node and enable it and set the frequency for the sdhci clock. Signed-off-by: Drew Fustini --- arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts b/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts index 70e8042c8304..bf55319ba950 100644 --- a/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts +++ b/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts @@ -52,6 +52,10 @@ &uart_sclk { clock-frequency = <100000000>; }; +&sdhci_clk { + clock-frequency = <198000000>; +}; + &dmac0 { status = "okay"; }; @@ -59,3 +63,13 @@ &dmac0 { &uart0 { status = "okay"; }; + +&mmc0 { + bus-width = <8>; + max-frequency = <198000000>; + mmc-hs400-1_8v; + non-removable; + no-sdio; + no-sd; + status = "okay"; +}; -- 2.34.1