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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Peng Zhou <peng.zhou@xxxxxxxxxxxx>
---
 arch/arm64/boot/dts/mediatek/mt6779.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

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>;
-- 
2.18.0




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux