16be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 26be33864SEmmanuel Vadot%YAML 1.2 36be33864SEmmanuel Vadot--- 46be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/mmc/microchip,dw-sparx5-sdhci.yaml# 56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 66be33864SEmmanuel Vadot 78bab661aSEmmanuel Vadottitle: Microchip Sparx5 Mobile Storage Host Controller 86be33864SEmmanuel Vadot 96be33864SEmmanuel VadotallOf: 10*cb7aa33aSEmmanuel Vadot - $ref: mmc-controller.yaml 116be33864SEmmanuel Vadot 126be33864SEmmanuel Vadotmaintainers: 136be33864SEmmanuel Vadot - Lars Povlsen <lars.povlsen@microchip.com> 146be33864SEmmanuel Vadot 156be33864SEmmanuel Vadot# Everything else is described in the common file 166be33864SEmmanuel Vadotproperties: 176be33864SEmmanuel Vadot compatible: 186be33864SEmmanuel Vadot const: microchip,dw-sparx5-sdhci 196be33864SEmmanuel Vadot 206be33864SEmmanuel Vadot reg: 216be33864SEmmanuel Vadot maxItems: 1 226be33864SEmmanuel Vadot 236be33864SEmmanuel Vadot interrupts: 246be33864SEmmanuel Vadot maxItems: 1 256be33864SEmmanuel Vadot 266be33864SEmmanuel Vadot clocks: 276be33864SEmmanuel Vadot maxItems: 1 286be33864SEmmanuel Vadot description: 296be33864SEmmanuel Vadot Handle to "core" clock for the sdhci controller. 306be33864SEmmanuel Vadot 316be33864SEmmanuel Vadot clock-names: 326be33864SEmmanuel Vadot items: 336be33864SEmmanuel Vadot - const: core 346be33864SEmmanuel Vadot 356be33864SEmmanuel Vadot microchip,clock-delay: 366be33864SEmmanuel Vadot description: Delay clock to card to meet setup time requirements. 376be33864SEmmanuel Vadot Each step increase by 1.25ns. 38*cb7aa33aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 396be33864SEmmanuel Vadot minimum: 1 406be33864SEmmanuel Vadot maximum: 15 416be33864SEmmanuel Vadot 426be33864SEmmanuel Vadotrequired: 436be33864SEmmanuel Vadot - compatible 446be33864SEmmanuel Vadot - reg 456be33864SEmmanuel Vadot - interrupts 466be33864SEmmanuel Vadot - clocks 476be33864SEmmanuel Vadot - clock-names 486be33864SEmmanuel Vadot 496be33864SEmmanuel VadotunevaluatedProperties: false 506be33864SEmmanuel Vadot 516be33864SEmmanuel Vadotexamples: 526be33864SEmmanuel Vadot - | 536be33864SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 546be33864SEmmanuel Vadot #include <dt-bindings/clock/microchip,sparx5.h> 556be33864SEmmanuel Vadot sdhci0: mmc@600800000 { 566be33864SEmmanuel Vadot compatible = "microchip,dw-sparx5-sdhci"; 576be33864SEmmanuel Vadot reg = <0x00800000 0x1000>; 586be33864SEmmanuel Vadot pinctrl-0 = <&emmc_pins>; 596be33864SEmmanuel Vadot pinctrl-names = "default"; 606be33864SEmmanuel Vadot clocks = <&clks CLK_ID_AUX1>; 616be33864SEmmanuel Vadot clock-names = "core"; 626be33864SEmmanuel Vadot assigned-clocks = <&clks CLK_ID_AUX1>; 636be33864SEmmanuel Vadot assigned-clock-rates = <800000000>; 646be33864SEmmanuel Vadot interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 656be33864SEmmanuel Vadot bus-width = <8>; 666be33864SEmmanuel Vadot microchip,clock-delay = <10>; 676be33864SEmmanuel Vadot }; 68