xref: /freebsd/sys/contrib/device-tree/Bindings/mmc/brcm,sdhci-iproc.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotBroadcom IPROC SDHCI controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThis file documents differences between the core properties described
4*c66ec88fSEmmanuel Vadotby mmc.txt and the properties that represent the IPROC SDHCI controller.
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotRequired properties:
7*c66ec88fSEmmanuel Vadot- compatible : Should be one of the following
8*c66ec88fSEmmanuel Vadot	       "brcm,bcm2835-sdhci"
9*c66ec88fSEmmanuel Vadot	       "brcm,bcm2711-emmc2"
10*c66ec88fSEmmanuel Vadot	       "brcm,sdhci-iproc-cygnus"
11*c66ec88fSEmmanuel Vadot	       "brcm,sdhci-iproc"
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotUse brcm2835-sdhci for the eMMC controller on the BCM2835 (Raspberry Pi) and
14*c66ec88fSEmmanuel Vadotbcm2711-emmc2 for the additional eMMC2 controller on BCM2711.
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel VadotUse sdhci-iproc-cygnus for Broadcom SDHCI Controllers
17*c66ec88fSEmmanuel Vadotrestricted to 32bit host accesses to SDHCI registers.
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel VadotUse sdhci-iproc for Broadcom SDHCI Controllers that allow standard
20*c66ec88fSEmmanuel Vadot8, 16, 32-bit host access to SDHCI register.
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel Vadot- clocks : The clock feeding the SDHCI controller.
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel VadotOptional properties:
25*c66ec88fSEmmanuel Vadot  - sdhci,auto-cmd12: specifies that controller should use auto CMD12.
26*c66ec88fSEmmanuel Vadot
27*c66ec88fSEmmanuel VadotExample:
28*c66ec88fSEmmanuel Vadot
29*c66ec88fSEmmanuel Vadotsdhci0: sdhci@18041000 {
30*c66ec88fSEmmanuel Vadot	compatible = "brcm,sdhci-iproc-cygnus";
31*c66ec88fSEmmanuel Vadot	reg = <0x18041000 0x100>;
32*c66ec88fSEmmanuel Vadot	interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
33*c66ec88fSEmmanuel Vadot	clocks = <&lcpll0_clks BCM_CYGNUS_LCPLL0_SDIO_CLK>;
34*c66ec88fSEmmanuel Vadot	bus-width = <4>;
35*c66ec88fSEmmanuel Vadot	sdhci,auto-cmd12;
36*c66ec88fSEmmanuel Vadot	no-1-8-v;
37*c66ec88fSEmmanuel Vadot};
38