brintos

brintos / linux-shallow public Read only

0
0
Text · 1.5 KiB · 1f63faf Raw
68 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/mmc/microchip,dw-sparx5-sdhci.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Microchip Sparx5 Mobile Storage Host Controller8 9allOf:10  - $ref: mmc-controller.yaml11 12maintainers:13  - Lars Povlsen <lars.povlsen@microchip.com>14 15# Everything else is described in the common file16properties:17  compatible:18    const: microchip,dw-sparx5-sdhci19 20  reg:21    maxItems: 122 23  interrupts:24    maxItems: 125 26  clocks:27    maxItems: 128    description:29      Handle to "core" clock for the sdhci controller.30 31  clock-names:32    items:33      - const: core34 35  microchip,clock-delay:36    description: Delay clock to card to meet setup time requirements.37      Each step increase by 1.25ns.38    $ref: /schemas/types.yaml#/definitions/uint3239    minimum: 140    maximum: 1541 42required:43  - compatible44  - reg45  - interrupts46  - clocks47  - clock-names48 49unevaluatedProperties: false50 51examples:52  - |53    #include <dt-bindings/interrupt-controller/arm-gic.h>54    #include <dt-bindings/clock/microchip,sparx5.h>55    sdhci0: mmc@600800000 {56        compatible = "microchip,dw-sparx5-sdhci";57        reg = <0x00800000 0x1000>;58        pinctrl-0 = <&emmc_pins>;59        pinctrl-names = "default";60        clocks = <&clks CLK_ID_AUX1>;61        clock-names = "core";62        assigned-clocks = <&clks CLK_ID_AUX1>;63        assigned-clock-rates = <800000000>;64        interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;65        bus-width = <8>;66        microchip,clock-delay = <10>;67    };68