Back to home page

OSCL-LXR

 
 

    


0001 * Microchip PIC32 SDHCI Controller
0002 
0003 This file documents differences between the core properties in mmc.txt
0004 and the properties used by the sdhci-pic32 driver.
0005 
0006 Required properties:
0007 - compatible: Should be "microchip,pic32mzda-sdhci"
0008 - interrupts: Should contain interrupt
0009 - clock-names: Should be "base_clk", "sys_clk".
0010                See: Documentation/devicetree/bindings/resource-names.txt
0011 - clocks: Phandle to the clock.
0012           See: Documentation/devicetree/bindings/clock/clock-bindings.txt
0013 - pinctrl-names: A pinctrl state names "default" must be defined.
0014 - pinctrl-0: Phandle referencing pin configuration of the SDHCI controller.
0015              See: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
0016 
0017 Example:
0018 
0019         sdhci@1f8ec000 {
0020                 compatible = "microchip,pic32mzda-sdhci";
0021                 reg = <0x1f8ec000 0x100>;
0022                 interrupts = <191 IRQ_TYPE_LEVEL_HIGH>;
0023                 clocks = <&rootclk REF4CLK>, <&rootclk PB5CLK>;
0024                 clock-names = "base_clk", "sys_clk";
0025                 bus-width = <4>;
0026                 cap-sd-highspeed;
0027                 pinctrl-names = "default";
0028                 pinctrl-0 = <&pinctrl_sdhc1>;
0029         };