arm: dts: k3-j721e-main: Add UFS nodes
authorFaiz Abbas <faiz_abbas@ti.com>
Tue, 15 Oct 2019 12:54:39 +0000 (18:24 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 24 Oct 2019 00:47:12 +0000 (20:47 -0400)
Add TI UFS glue layer and Cadence UFS Host controller DT nodes.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
arch/arm/dts/k3-j721e-main.dtsi

index 6bd59bac52d651f7f49b39f4e43b9be442d6c2c0..3a0763209fc2172b042abefd571253d412f7ec9f 100644 (file)
                ti,sci-proc-ids = <0x30 0xFF>;
                resets = <&k3_reset 15 1>;
        };
+
+       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 = <0 0>, <0 0>;
+                       clocks = <&k3_clks 277 0>, <&k3_clks 277 1>;
+                       clock-names = "core_clk", "phy_clk";
+                       assigned-clocks = <&k3_clks 277 1>;
+                       assigned-clock-parents = <&k3_clks 277 4>;
+                       dma-coherent;
+               };
+       };
 };