1061e4fbfSLars Povlsen# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2061e4fbfSLars Povlsen%YAML 1.2 3061e4fbfSLars Povlsen--- 4061e4fbfSLars Povlsen$id: http://devicetree.org/schemas/mmc/microchip,dw-sparx5-sdhci.yaml# 5061e4fbfSLars Povlsen$schema: http://devicetree.org/meta-schemas/core.yaml# 6061e4fbfSLars Povlsen 7061e4fbfSLars Povlsentitle: Microchip Sparx5 Mobile Storage Host Controller Binding 8061e4fbfSLars Povlsen 9061e4fbfSLars PovlsenallOf: 10061e4fbfSLars Povlsen - $ref: "mmc-controller.yaml" 11061e4fbfSLars Povlsen 12061e4fbfSLars Povlsenmaintainers: 13061e4fbfSLars Povlsen - Lars Povlsen <lars.povlsen@microchip.com> 14061e4fbfSLars Povlsen 15061e4fbfSLars Povlsen# Everything else is described in the common file 16061e4fbfSLars Povlsenproperties: 17061e4fbfSLars Povlsen compatible: 18061e4fbfSLars Povlsen const: microchip,dw-sparx5-sdhci 19061e4fbfSLars Povlsen 20061e4fbfSLars Povlsen reg: 21061e4fbfSLars Povlsen maxItems: 1 22061e4fbfSLars Povlsen 23061e4fbfSLars Povlsen interrupts: 24061e4fbfSLars Povlsen maxItems: 1 25061e4fbfSLars Povlsen 26061e4fbfSLars Povlsen clocks: 27061e4fbfSLars Povlsen maxItems: 1 28061e4fbfSLars Povlsen description: 29061e4fbfSLars Povlsen Handle to "core" clock for the sdhci controller. 30061e4fbfSLars Povlsen 31061e4fbfSLars Povlsen clock-names: 32061e4fbfSLars Povlsen items: 33061e4fbfSLars Povlsen - const: core 34061e4fbfSLars Povlsen 35061e4fbfSLars Povlsen microchip,clock-delay: 36061e4fbfSLars Povlsen description: Delay clock to card to meet setup time requirements. 37061e4fbfSLars Povlsen Each step increase by 1.25ns. 38061e4fbfSLars Povlsen $ref: "/schemas/types.yaml#/definitions/uint32" 39061e4fbfSLars Povlsen minimum: 1 40061e4fbfSLars Povlsen maximum: 15 41061e4fbfSLars Povlsen 42061e4fbfSLars Povlsenrequired: 43061e4fbfSLars Povlsen - compatible 44061e4fbfSLars Povlsen - reg 45061e4fbfSLars Povlsen - interrupts 46061e4fbfSLars Povlsen - clocks 47061e4fbfSLars Povlsen - clock-names 48061e4fbfSLars Povlsen 49f84e2c5cSRob HerringunevaluatedProperties: false 50f84e2c5cSRob Herring 51061e4fbfSLars Povlsenexamples: 52061e4fbfSLars Povlsen - | 53061e4fbfSLars Povlsen #include <dt-bindings/interrupt-controller/arm-gic.h> 54061e4fbfSLars Povlsen #include <dt-bindings/clock/microchip,sparx5.h> 55061e4fbfSLars Povlsen sdhci0: mmc@600800000 { 56061e4fbfSLars Povlsen compatible = "microchip,dw-sparx5-sdhci"; 57061e4fbfSLars Povlsen reg = <0x00800000 0x1000>; 58061e4fbfSLars Povlsen pinctrl-0 = <&emmc_pins>; 59061e4fbfSLars Povlsen pinctrl-names = "default"; 60061e4fbfSLars Povlsen clocks = <&clks CLK_ID_AUX1>; 61061e4fbfSLars Povlsen clock-names = "core"; 62061e4fbfSLars Povlsen assigned-clocks = <&clks CLK_ID_AUX1>; 63061e4fbfSLars Povlsen assigned-clock-rates = <800000000>; 64061e4fbfSLars Povlsen interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 65061e4fbfSLars Povlsen bus-width = <8>; 66061e4fbfSLars Povlsen microchip,clock-delay = <10>; 67061e4fbfSLars Povlsen }; 68