microchip,sdhci-pic32.txt 1.0 KB

123456789101112131415161718192021222324252627282930
  1. * Microchip PIC32 SDHCI Controller
  2. This file documents differences between the core properties in mmc.txt
  3. and the properties used by the sdhci-pic32 driver.
  4. Required properties:
  5. - compatible: Should be "microchip,pic32mzda-sdhci"
  6. - interrupts: Should contain interrupt
  7. - clock-names: Should be "base_clk", "sys_clk".
  8. See: Documentation/devicetree/bindings/resource-names.txt
  9. - clocks: Phandle to the clock.
  10. See: Documentation/devicetree/bindings/clock/clock-bindings.txt
  11. - pinctrl-names: A pinctrl state names "default" must be defined.
  12. - pinctrl-0: Phandle referencing pin configuration of the SDHCI controller.
  13. See: Documentation/devicetree/bindings/pinctrl/pinctrl-binding.txt
  14. Example:
  15. sdhci@1f8ec000 {
  16. compatible = "microchip,pic32mzda-sdhci";
  17. reg = <0x1f8ec000 0x100>;
  18. interrupts = <191 IRQ_TYPE_LEVEL_HIGH>;
  19. clocks = <&rootclk REF4CLK>, <&rootclk PB5CLK>;
  20. clock-names = "base_clk", "sys_clk";
  21. bus-width = <4>;
  22. cap-sd-highspeed;
  23. pinctrl-names = "default";
  24. pinctrl-0 = <&pinctrl_sdhc1>;
  25. };