From: Benoît Monin Date: Tue, 17 Jun 2025 13:25:55 +0000 (+0200) Subject: MIPS: mobileye: dts: eyeq5: add the emmc controller X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2de84c70ffcd5dea6050fb343d1a61c0e22e2b5b;p=users%2Fjedix%2Flinux-maple.git MIPS: mobileye: dts: eyeq5: add the emmc controller Add the MMC/SDHCI controller found in the eyeQ5 SoC. It is based on the cadence sd4hc controller and support modes up to HS400 enhanced strobe. Signed-off-by: Benoît Monin Acked-by: Gregory CLEMENT Signed-off-by: Thomas Bogendoerfer --- diff --git a/arch/mips/boot/dts/mobileye/eyeq5.dtsi b/arch/mips/boot/dts/mobileye/eyeq5.dtsi index a84e6e720619..e15d9ce0bdf4 100644 --- a/arch/mips/boot/dts/mobileye/eyeq5.dtsi +++ b/arch/mips/boot/dts/mobileye/eyeq5.dtsi @@ -178,6 +178,28 @@ clocks = <&olb EQ5C_CPU_CORE0>; }; }; + + emmc: sdhci@2200000 { + compatible = "mobileye,eyeq-sd4hc", "cdns,sd4hc"; + reg = <0 0x2200000 0x0 0x1000>; + interrupt-parent = <&gic>; + interrupts = ; + clocks = <&olb EQ5C_PER_EMMC>; + bus-width = <8>; + max-frequency = <200000000>; + mmc-ddr-1_8v; + sd-uhs-ddr50; + mmc-hs200-1_8v; + mmc-hs400-1_8v; + mmc-hs400-enhanced-strobe; + + cdns,phy-input-delay-legacy = <4>; + cdns,phy-input-delay-mmc-highspeed = <2>; + cdns,phy-input-delay-mmc-ddr = <3>; + cdns,phy-dll-delay-sdclk = <32>; + cdns,phy-dll-delay-sdclk-hsmmc = <32>; + cdns,phy-dll-delay-strobe = <32>; + }; }; };