Commit 8ffe9cb8 authored by Judith Mendez's avatar Judith Mendez Committed by Nishanth Menon
Browse files

arm64: dts: ti: k3-am65-main: Fix sdhci node properties

Update otap-del-sel properties as per datasheet [0].

Add missing clkbuf-sel and itap-del-sel values also as per
datasheet [0].

Move clkbuf-sel and ti,trm-icp above the otap-del-sel properties
so the sdhci nodes could be more uniform across platforms.

[0] https://www.ti.com/lit/ds/symlink/am6548.pdf



Fixes: eac99d38 ("arm64: dts: ti: k3-am654-main: Update otap-del-sel values")
Fixes: d7600d07 ("arm64: dts: ti: k3-am65-main: Add support for sdhci1")
Signed-off-by: default avatarJudith Mendez <jm@ti.com>
Link: https://lore.kernel.org/r/20240423151732.3541894-2-jm@ti.com


Signed-off-by: default avatarNishanth Menon <nm@ti.com>
parent 01b4bd7b
Loading
Loading
Loading
Loading
+11 −6
Original line number Diff line number Diff line
@@ -435,6 +435,8 @@ sdhci0: mmc@4f80000 {
		interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
		mmc-ddr-1_8v;
		mmc-hs200-1_8v;
		ti,clkbuf-sel = <0x7>;
		ti,trm-icp = <0x8>;
		ti,otap-del-sel-legacy = <0x0>;
		ti,otap-del-sel-mmc-hs = <0x0>;
		ti,otap-del-sel-sd-hs = <0x0>;
@@ -445,8 +447,7 @@ sdhci0: mmc@4f80000 {
		ti,otap-del-sel-ddr50 = <0x5>;
		ti,otap-del-sel-ddr52 = <0x5>;
		ti,otap-del-sel-hs200 = <0x5>;
		ti,otap-del-sel-hs400 = <0x0>;
		ti,trm-icp = <0x8>;
		ti,itap-del-sel-ddr52 = <0x0>;
		dma-coherent;
		status = "disabled";
	};
@@ -458,18 +459,22 @@ sdhci1: mmc@4fa0000 {
		clocks = <&k3_clks 48 0>, <&k3_clks 48 1>;
		clock-names = "clk_ahb", "clk_xin";
		interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
		ti,clkbuf-sel = <0x7>;
		ti,trm-icp = <0x8>;
		ti,otap-del-sel-legacy = <0x0>;
		ti,otap-del-sel-mmc-hs = <0x0>;
		ti,otap-del-sel-sd-hs = <0x0>;
		ti,otap-del-sel-sdr12 = <0x0>;
		ti,otap-del-sel-sdr25 = <0x0>;
		ti,otap-del-sel-sdr12 = <0xf>;
		ti,otap-del-sel-sdr25 = <0xf>;
		ti,otap-del-sel-sdr50 = <0x8>;
		ti,otap-del-sel-sdr104 = <0x7>;
		ti,otap-del-sel-ddr50 = <0x4>;
		ti,otap-del-sel-ddr52 = <0x4>;
		ti,otap-del-sel-hs200 = <0x7>;
		ti,clkbuf-sel = <0x7>;
		ti,trm-icp = <0x8>;
		ti,itap-del-sel-legacy = <0xa>;
		ti,itap-del-sel-sd-hs = <0x1>;
		ti,itap-del-sel-sdr12 = <0xa>;
		ti,itap-del-sel-sdr25 = <0x1>;
		dma-coherent;
		status = "disabled";
	};