0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/mmc/brcm,iproc-sdhci.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Broadcom IPROC SDHCI controller
0008
0009 maintainers:
0010 - Ray Jui <ray.jui@broadcom.com>
0011 - Scott Branden <scott.branden@broadcom.com>
0012 - Nicolas Saenz Julienne <nsaenz@kernel.org>
0013
0014 allOf:
0015 - $ref: mmc-controller.yaml#
0016
0017 properties:
0018 compatible:
0019 enum:
0020 - brcm,bcm2835-sdhci
0021 - brcm,bcm2711-emmc2
0022 - brcm,sdhci-iproc-cygnus
0023 - brcm,sdhci-iproc
0024 - brcm,bcm7211a0-sdhci
0025
0026 reg:
0027 minItems: 1
0028
0029 interrupts:
0030 maxItems: 1
0031
0032 clocks:
0033 maxItems: 1
0034 description:
0035 Handle to core clock for the sdhci controller.
0036
0037 sdhci,auto-cmd12:
0038 type: boolean
0039 description: Specifies that controller should use auto CMD12
0040
0041 required:
0042 - compatible
0043 - reg
0044 - interrupts
0045 - clocks
0046
0047 unevaluatedProperties: false
0048
0049 examples:
0050 - |
0051 #include <dt-bindings/interrupt-controller/irq.h>
0052 #include <dt-bindings/interrupt-controller/arm-gic.h>
0053 #include <dt-bindings/clock/bcm-cygnus.h>
0054
0055 mmc@18041000 {
0056 compatible = "brcm,sdhci-iproc-cygnus";
0057 reg = <0x18041000 0x100>;
0058 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
0059 clocks = <&lcpll0_clks BCM_CYGNUS_LCPLL0_SDIO_CLK>;
0060 bus-width = <4>;
0061 sdhci,auto-cmd12;
0062 no-1-8-v;
0063 };
0064 ...