12eb4d8dcSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 22eb4d8dcSEmmanuel Vadot%YAML 1.2 32eb4d8dcSEmmanuel Vadot--- 42eb4d8dcSEmmanuel Vadot$id: http://devicetree.org/schemas/mmc/brcm,iproc-sdhci.yaml# 52eb4d8dcSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 62eb4d8dcSEmmanuel Vadot 72eb4d8dcSEmmanuel Vadottitle: Broadcom IPROC SDHCI controller 82eb4d8dcSEmmanuel Vadot 92eb4d8dcSEmmanuel Vadotmaintainers: 102eb4d8dcSEmmanuel Vadot - Ray Jui <ray.jui@broadcom.com> 112eb4d8dcSEmmanuel Vadot - Scott Branden <scott.branden@broadcom.com> 122eb4d8dcSEmmanuel Vadot - Nicolas Saenz Julienne <nsaenz@kernel.org> 132eb4d8dcSEmmanuel Vadot 142eb4d8dcSEmmanuel VadotallOf: 152eb4d8dcSEmmanuel Vadot - $ref: mmc-controller.yaml# 162eb4d8dcSEmmanuel Vadot 172eb4d8dcSEmmanuel Vadotproperties: 182eb4d8dcSEmmanuel Vadot compatible: 192eb4d8dcSEmmanuel Vadot enum: 202eb4d8dcSEmmanuel Vadot - brcm,bcm2835-sdhci 212eb4d8dcSEmmanuel Vadot - brcm,bcm2711-emmc2 222eb4d8dcSEmmanuel Vadot - brcm,sdhci-iproc-cygnus 232eb4d8dcSEmmanuel Vadot - brcm,sdhci-iproc 24*5956d97fSEmmanuel Vadot - brcm,bcm7211a0-sdhci 252eb4d8dcSEmmanuel Vadot 262eb4d8dcSEmmanuel Vadot reg: 272eb4d8dcSEmmanuel Vadot minItems: 1 282eb4d8dcSEmmanuel Vadot 292eb4d8dcSEmmanuel Vadot interrupts: 302eb4d8dcSEmmanuel Vadot maxItems: 1 312eb4d8dcSEmmanuel Vadot 322eb4d8dcSEmmanuel Vadot clocks: 332eb4d8dcSEmmanuel Vadot maxItems: 1 342eb4d8dcSEmmanuel Vadot description: 352eb4d8dcSEmmanuel Vadot Handle to core clock for the sdhci controller. 362eb4d8dcSEmmanuel Vadot 372eb4d8dcSEmmanuel Vadot sdhci,auto-cmd12: 382eb4d8dcSEmmanuel Vadot type: boolean 392eb4d8dcSEmmanuel Vadot description: Specifies that controller should use auto CMD12 402eb4d8dcSEmmanuel Vadot 412eb4d8dcSEmmanuel Vadotrequired: 422eb4d8dcSEmmanuel Vadot - compatible 432eb4d8dcSEmmanuel Vadot - reg 442eb4d8dcSEmmanuel Vadot - interrupts 452eb4d8dcSEmmanuel Vadot - clocks 462eb4d8dcSEmmanuel Vadot 472eb4d8dcSEmmanuel VadotunevaluatedProperties: false 482eb4d8dcSEmmanuel Vadot 492eb4d8dcSEmmanuel Vadotexamples: 502eb4d8dcSEmmanuel Vadot - | 512eb4d8dcSEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 522eb4d8dcSEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 532eb4d8dcSEmmanuel Vadot #include <dt-bindings/clock/bcm-cygnus.h> 542eb4d8dcSEmmanuel Vadot 552eb4d8dcSEmmanuel Vadot mmc@18041000 { 562eb4d8dcSEmmanuel Vadot compatible = "brcm,sdhci-iproc-cygnus"; 572eb4d8dcSEmmanuel Vadot reg = <0x18041000 0x100>; 582eb4d8dcSEmmanuel Vadot interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; 592eb4d8dcSEmmanuel Vadot clocks = <&lcpll0_clks BCM_CYGNUS_LCPLL0_SDIO_CLK>; 602eb4d8dcSEmmanuel Vadot bus-width = <4>; 612eb4d8dcSEmmanuel Vadot sdhci,auto-cmd12; 622eb4d8dcSEmmanuel Vadot no-1-8-v; 632eb4d8dcSEmmanuel Vadot }; 642eb4d8dcSEmmanuel Vadot... 65