Microchip PIC32 SDHI Controller

Schema identifier ($id): "http://devicetree.org/schemas/mmc/microchip,sdhci-pic32.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The Microchip PIC32 family of microcontrollers (MCUs) includes models with Secure Digital Host Controller Interface (SDHCI) controllers, allowing them to interface with Secure Digital (SD) cards. This interface is used for reading, writing, and managing data on SD cards, enabling storage and data transfer capabilities in embedded systems.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): mmc-controller.yaml

Maintainers (maintainers): "Ulf Hansson <ulf.hansson@linaro.org>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "microchip,pic32mzda-sdhci"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "base_clk"

Item 2

Exact value (const): "sys_clk"

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "pinctrl-names", "pinctrl-0"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/clock/microchip,pic32-clock.h>
mmc@1f8ec000 {
    compatible = "microchip,pic32mzda-sdhci";
    reg = <0x1f8ec000 0x100>;
    interrupts = <191 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&rootclk REF4CLK>, <&rootclk PB5CLK>;
    clock-names = "base_clk", "sys_clk";
    bus-width = <4>;
    cap-sd-highspeed;
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_sdhc1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page