Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3404933rdg; Tue, 17 Oct 2023 13:46:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEOPAKgRqdIk3mWVLz6eBtNXuAm+v3kdSJM5ykYtC1bcZ5l1SbpPI1CEBIDnRSxynHFNmz8 X-Received: by 2002:a17:90a:d50d:b0:27d:dc9:be7a with SMTP id t13-20020a17090ad50d00b0027d0dc9be7amr3292437pju.7.1697575588196; Tue, 17 Oct 2023 13:46:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697575588; cv=none; d=google.com; s=arc-20160816; b=xmaYElSr+zCsz2PZYxtBxw8odQRZ0jwzFKDatWQ0iJ6ye0mr4S1nAUFZbLRXMktdMW o82Bg/suyr05wPHm6t4lYVgcVtMlWHqko3E9nK3HvjA98IP/0BE2aF5TOazOGdJ9ftV8 bW8SKGgoxJw5LCEsWTMLUGFQ6xXJFhaN+WtdZZ27yTiPzV4gLBgdaAYH346gUrj5dVEz Bbp8uKKreOcqh9xQEvBClvHWfAxVa6iAMooVG3M/oo9wPTqxVFn/75N4eQS6MxFbMPMi QEPN9zexytEYVBv+y5On83/gknz+qUfgA8hjwsY14MEiCvohFS8nksq5MXQWMp3RErEA ShqQ== 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=nNiz/16GiKwF18nTvqrbS8bwq2F/L9RlRg7oWtEwZWs=; fh=vHR8U309XOCZR8G4JUyhb/0ihb0aVduZkDFEUxYc3iE=; b=JXrTNUI3ZHDL7NbdbJCLM+6WKgnaat2PthpzXuRTq0ZjkPSDtU5o80Bq7jziL4spBO NfjbqZYMK7kgYpfRJHOaseokyuffSOiM56GBaC3gahOaammXnCdcKM80lk8NFDS6WcfM SNooUXnwsvLi+sACK0RdFUsBIP0kc8sD0kYkBgJ6IsAVRBSDgC7+XNolVOskhBcWDdhP m7Iat7QTbwAzsKmfXHLvCkx4rHYlprHaXfw+2YDnm7bIKbHZAoFFP/lvEcx2PSZdy1WX Us+OVtaQ/p+2AAwo64DKGOzjCCDYUIQ2IVohR0n1SILfDy++xL3xC/6X33QlXMUuHtIG n/hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b="IpKs7/sw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id na4-20020a17090b4c0400b0027d01d450desi2674207pjb.86.2023.10.17.13.46.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 13:46:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b="IpKs7/sw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 21EAE807FD41; Tue, 17 Oct 2023 13:46:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234963AbjJQUpz (ORCPT + 99 others); Tue, 17 Oct 2023 16:45:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344515AbjJQUpm (ORCPT ); Tue, 17 Oct 2023 16:45:42 -0400 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70B8C187 for ; Tue, 17 Oct 2023 13:45:34 -0700 (PDT) Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-6b3c2607d9bso3599715b3a.1 for ; Tue, 17 Oct 2023 13:45:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1697575533; x=1698180333; 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=nNiz/16GiKwF18nTvqrbS8bwq2F/L9RlRg7oWtEwZWs=; b=IpKs7/swJqbXipEND0s1Z2aY/uAQELev+WpcjVNxhzdu01NfYOqwAr58VNRVHhWm6y waY+z7DhfC4cV1aWpjN/RI+MmMD57fOgXKtem8rAX1lPWsUHqPwJdx6HeXJpjBhMFSKf H7+N23XeB7+XjwgQLaywxIIdlO13P59j/D4bTDSezMmdiEw5BKWQelPsChZSomvBxU/B PVdn8JfqSMpYfRQ4/cfv9FR+rYFkiupw24LHfRrRJ5hAsjJ8Dxaks+kiqdLO8LeRkrkl mYPC7ITcm2t5VCri/BfFkEFn8RQPA/4miD6rbhBgvHGECNactqT3C61aOkNGE9YcPaoU 4elQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697575533; x=1698180333; 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=nNiz/16GiKwF18nTvqrbS8bwq2F/L9RlRg7oWtEwZWs=; b=fUZLSArEzqNyorsqowvjw3jS/CkeZPeteSmgwjpuSptONLCQ6GlMOe1RsmQAD3gWXF VOLJDtn/9KBdlgbwIXz1/ztIVa223RE+85kvaahwaXl5EWoKSUDan1nzWM5mUZOeULE9 cRsP13SopSwxV+WwxZrSzGCRKJfhnjRk8mEi73oln4pjTIDs54B4z2LVd5V6YMccEPEc 8a+2mLf4cBGxAKe7IhM7ybHa86Z6l2PHp4PM+yY5381dB6c5ompJj6yJVUZhVTkRGCtQ LjjdYXUR5wwhbhHyG7MCRUk4vd3fZNYA6aVd6mQp9P9r+YaPSUcYjxuWIeX9EY1JInbY qSSg== X-Gm-Message-State: AOJu0Yw7eKjUEZeT+Zgu25yejk5V4doJsHndUcz88nWhZUyAVUSryzc5 4tOvBK2XQPleWY80nRwX+6bPIQ== X-Received: by 2002:a05:6a20:7351:b0:14c:910d:972d with SMTP id v17-20020a056a20735100b0014c910d972dmr3485455pzc.12.1697575533216; Tue, 17 Oct 2023 13:45:33 -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.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 13:45:33 -0700 (PDT) From: Drew Fustini Date: Tue, 17 Oct 2023 13:43:53 -0700 Subject: [PATCH v2 7/7] riscv: dts: thead: Enable LicheePi 4A eMMC controller MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231017-th1520-mmc-v2-7-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=972; i=dfustini@baylibre.com; s=20230430; h=from:subject:message-id; bh=fP0X7H2ev/K5EsIr1ajuR3Wl40rAHHxMMZR5DlF6EQU=; b=zzNGRi480ZBM5jq5QFMXYG/fMcO+yA74L+HUirBBNxAziVp61WiOPvolxmJJ3FfkTdUEllXn1 T0Hl+mS034yATbcHCEq3lYgVdwBJXjkOiBymPsItzNlzSLVMYbyYY/L 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 pete.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 (pete.vger.email [0.0.0.0]); Tue, 17 Oct 2023 13:46:24 -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-lichee-module-4a.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/riscv/boot/dts/thead/th1520-lichee-module-4a.dtsi b/arch/riscv/boot/dts/thead/th1520-lichee-module-4a.dtsi index a802ab110429..bc8f111571bc 100644 --- a/arch/riscv/boot/dts/thead/th1520-lichee-module-4a.dtsi +++ b/arch/riscv/boot/dts/thead/th1520-lichee-module-4a.dtsi @@ -29,6 +29,10 @@ &apb_clk { clock-frequency = <62500000>; }; +&sdhci_clk { + clock-frequency = <198000000>; +}; + &uart_sclk { clock-frequency = <100000000>; }; @@ -36,3 +40,13 @@ &uart_sclk { &dmac0 { status = "okay"; }; + +&mmc0 { + bus-width = <8>; + max-frequency = <198000000>; + mmc-hs400-1_8v; + non-removable; + no-sdio; + no-sd; + status = "okay"; +}; -- 2.34.1