Skip to contentSkip to conversation

arm64: dts: Mediatek: MT6779: add mmc node with ICE setting

PATCH Superseded Peng Zhou 1 participant 1 message Mar 9, 2021

Subsystems (3)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Peng Zhou

author
#0 lore raw

PATCH v2 3/4 arm64: dts: Mediatek: MT6779: add mmc node with ICE setting

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

---
 arch/arm64/boot/dts/mediatek/mt6779.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
arch/arm64/boot/dts/mediatek/mt6779.dtsi +14 -0
index 9bdf5145966c..9246e59fa4a6 100644
@@ -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>;
Signature · 1 line
2.18.0