devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thierry Reding <thierry.reding@gmail.com>
To: Thierry Reding <thierry.reding@gmail.com>,
	Rob Herring <robh+dt@kernel.org>
Cc: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH 09/11] arm64: tegra: Fill in properties for Tegra234 eMMC
Date: Fri, 12 Nov 2021 13:35:40 +0100	[thread overview]
Message-ID: <20211112123542.3680629-10-thierry.reding@gmail.com> (raw)
In-Reply-To: <20211112123542.3680629-1-thierry.reding@gmail.com>

From: Mikko Perttunen <mperttunen@nvidia.com>

Add missing properties to the eMMC controller, as required to use it on
actual hardware.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra234.dtsi | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
index 844cab44aee6..ffe300356e85 100644
--- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
@@ -40,11 +40,24 @@ mmc@3460000 {
 			compatible = "nvidia,tegra234-sdhci", "nvidia,tegra186-sdhci";
 			reg = <0x03460000 0x20000>;
 			interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&bpmp TEGRA234_CLK_SDMMC4>;
-			clock-names = "sdhci";
+			clocks = <&bpmp TEGRA234_CLK_SDMMC4>,
+				 <&bpmp TEGRA234_CLK_SDMMC_LEGACY_TM>;
+			clock-names = "sdhci", "tmclk";
+			assigned-clocks = <&bpmp TEGRA234_CLK_SDMMC4>,
+					  <&bpmp TEGRA234_CLK_PLLC4>;
+			assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLC4>;
 			resets = <&bpmp TEGRA234_RESET_SDMMC4>;
 			reset-names = "sdhci";
-			dma-coherent;
+			nvidia,pad-autocal-pull-up-offset-hs400 = <0x00>;
+			nvidia,pad-autocal-pull-down-offset-hs400 = <0x00>;
+			nvidia,pad-autocal-pull-up-offset-1v8-timeout = <0x0a>;
+			nvidia,pad-autocal-pull-down-offset-1v8-timeout = <0x0a>;
+			nvidia,pad-autocal-pull-up-offset-3v3-timeout = <0x0a>;
+			nvidia,pad-autocal-pull-down-offset-3v3-timeout = <0x0a>;
+			nvidia,default-tap = <0x8>;
+			nvidia,default-trim = <0x14>;
+			nvidia,dqs-trim = <40>;
+			supports-cqe;
 			status = "disabled";
 		};
 
-- 
2.33.1


  parent reply	other threads:[~2021-11-12 12:36 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-12 12:35 [PATCH 00/11] arm64: tegra: Add NVIDIA Jetson AGX Orin support Thierry Reding
2021-11-12 12:35 ` [PATCH 01/11] dt-bindings: tegra: Describe recent developer kits consistently Thierry Reding
2021-11-29 20:54   ` Rob Herring
2021-11-12 12:35 ` [PATCH 02/11] dt-bindings: tegra: Document Jetson AGX Orin (and devkit) Thierry Reding
2021-11-29 20:55   ` Rob Herring
2021-11-12 12:35 ` [PATCH 03/11] dt-bindings: Update headers for Tegra234 Thierry Reding
2021-11-29 20:59   ` Rob Herring
2021-11-12 12:35 ` [PATCH 04/11] dt-bindings: sram: Document NVIDIA Tegra SYSRAM Thierry Reding
2021-11-29 20:59   ` Rob Herring
2021-11-12 12:35 ` [PATCH 05/11] misc: sram: Add compatible string for Tegra234 SYSRAM Thierry Reding
2021-12-07 15:52   ` Thierry Reding
2021-12-07 17:45     ` Greg Kroah-Hartman
2021-11-12 12:35 ` [PATCH 06/11] arm64: tegra: Fixup SYSRAM references Thierry Reding
2021-11-12 12:35 ` [PATCH 07/11] arm64: tegra: Add clock for Tegra234 RTC Thierry Reding
2021-11-12 12:35 ` [PATCH 08/11] arm64: tegra: Update Tegra234 BPMP channel addresses Thierry Reding
2021-11-12 12:35 ` Thierry Reding [this message]
2021-11-12 12:35 ` [PATCH 10/11] arm64: tegra: Add Tegra234 TCU device Thierry Reding
2021-11-12 12:35 ` [PATCH 11/11] arm64: tegra: Add NVIDIA Jetson AGX Orin Developer Kit support Thierry Reding

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211112123542.3680629-10-thierry.reding@gmail.com \
    --to=thierry.reding@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).