diff mbox series

[RESEND,v3,2/3] arm64: dts: Mediatek: MT6779: add mmc node with ICE setting

Message ID 20210414080427.21272-3-peng.zhou@mediatek.com
State New
Headers show
Series None | expand

Commit Message

Peng Zhou April 14, 2021, 8:04 a.m. UTC
From: Peng Zhou <Peng.Zhou@mediatek.com>


Add mmc node with Inline Crypto Engine (ICE) for Mediatek
eMMC controller on MT6779.

Signed-off-by: Peng Zhou <Peng.Zhou@mediatek.com>

---
 arch/arm64/boot/dts/mediatek/mt6779.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

-- 
2.18.0
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/mediatek/mt6779.dtsi b/arch/arm64/boot/dts/mediatek/mt6779.dtsi
index 9bdf5145966c..9246e59fa4a6 100644
--- a/arch/arm64/boot/dts/mediatek/mt6779.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt6779.dtsi
@@ -242,6 +242,20 @@ 
 			#clock-cells = <1>;
 		};
 
+		mmc0: mmc@11230000 {
+			compatible = "mediatek,mt6779-mmc";
+			reg = <0 0x11230000 0 0x10000>,
+				<0 0x11f50000 0 0x10000>;
+			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_LOW>;
+			clocks = <&topckgen CLK_TOP_MSDC50_0>,
+				<&infracfg_ao CLK_INFRA_MSDC0>,
+				<&infracfg_ao CLK_INFRA_MSDC0_SCK>,
+				<&infracfg_ao CLK_INFRA_AES_UFSFDE>;
+			clock-names = "source", "hclk", "source_cg",
+				"crypto";
+			status = "disabled";
+		};
+
 		mfgcfg: clock-controller@13fbf000 {
 			compatible = "mediatek,mt6779-mfgcfg", "syscon";
 			reg = <0 0x13fbf000 0 0x1000>;