[PATCH] arm64: dts: mediatek: mt8188: Add tertiary eMMC/SD/SDIO controller

AngeloGioacchino Del Regno posted 1 patch 12 months ago
arch/arm64/boot/dts/mediatek/mt8188.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
[PATCH] arm64: dts: mediatek: mt8188: Add tertiary eMMC/SD/SDIO controller
Posted by AngeloGioacchino Del Regno 12 months ago
Add a node for the third instance of the eMMC/SD/SDIO controller
found on the MT8188 SoC and keep it disabled.

It is expected that only boards that are using this controller
instance will configure and enable it.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
 arch/arm64/boot/dts/mediatek/mt8188.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8188.dtsi b/arch/arm64/boot/dts/mediatek/mt8188.dtsi
index 6ef385072c9f..f2d71da50ea3 100644
--- a/arch/arm64/boot/dts/mediatek/mt8188.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8188.dtsi
@@ -1794,6 +1794,20 @@ mmc1: mmc@11240000 {
 			status = "disabled";
 		};
 
+		mmc2: mmc@11250000 {
+			compatible = "mediatek,mt8188-mmc", "mediatek,mt8183-mmc";
+			reg = <0 0x11250000 0 0x1000>,
+			      <0 0x11e60000 0 0x1000>;
+			interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH 0>;
+			clocks = <&topckgen CLK_TOP_MSDC30_2>,
+				 <&infracfg_ao CLK_INFRA_AO_MSDC2>,
+				 <&infracfg_ao CLK_INFRA_AO_MSDC30_2>;
+			clock-names = "source", "hclk", "source_cg";
+			assigned-clocks = <&topckgen CLK_TOP_MSDC30_2>;
+			assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL_D2>;
+			status = "disabled";
+		};
+
 		lvts_mcu: thermal-sensor@11278000 {
 			compatible = "mediatek,mt8188-lvts-mcu";
 			reg = <0 0x11278000 0 0x1000>;
-- 
2.46.1
Re: [PATCH] arm64: dts: mediatek: mt8188: Add tertiary eMMC/SD/SDIO controller
Posted by AngeloGioacchino Del Regno 10 months, 1 week ago
On Wed, 18 Dec 2024 11:54:09 +0100, AngeloGioacchino Del Regno wrote:
> Add a node for the third instance of the eMMC/SD/SDIO controller
> found on the MT8188 SoC and keep it disabled.
> 
> It is expected that only boards that are using this controller
> instance will configure and enable it.
> 
> 
> [...]

Applied to v6.14-next/dts64, thanks!

[1/1] arm64: dts: mediatek: mt8188: Add tertiary eMMC/SD/SDIO controller
      commit: 5de2b8ed833a1cc3c9629beb34ea6040d9f18cf5

Cheers,
Angelo