This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: How to configure the device tree for Samsung UFS.

Part Number: TDA4VM

Tool/software:

hell 

We are using: KLUEGAJ1ZD-B0CQ059. How should we modify the device tree?
The SDK device tree configuration is as follows:

ufs_wrapper: ufs-wrapper@4e80000 {
compatible = "ti,j721e-ufs";
reg = <0x0 0x4e80000 0x0 0x100>;
power-domains = <&k3_pds 277 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 277 1>;
assigned-clocks = <&k3_clks 277 1>;
assigned-clock-parents = <&k3_clks 277 4>;
ranges;
#address-cells = <2>;
#size-cells = <2>;

ufs@4e84000 {
compatible = "cdns,ufshc-m31-16nm", "jedec,ufs-2.0";
reg = <0x0 0x4e84000 0x0 0x10000>;
interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
freq-table-hz = <250000000 250000000>, <19200000 19200000>, <19200000 19200000>;
clocks = <&k3_clks 277 0>, <&k3_clks 277 1>, <&k3_clks 277 1>;
clock-names = "core_clk", "phy_clk", "ref_clk";
dma-coherent;
};
};

In the SDK driver code, I did not find the Samsung UFS driver; only "samsung,exynos7-ufs" is listed, which is not suitable for the TDA4VM platform.
The currently configured UFS node is as follows:

&ufs@4e84000 {
/* ufs */
status = "okay";
freq-table-hz = <26000000 26000000>, // High-speed frequency
<19200000 19200000>, // Low-speed frequency 1
<19200000 19200000>; // Low-speed frequency 2
}

How should this be modified?

BR,

liupt