sama5d3_mci2.dtsi 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. * at91sama5d3_mci2.dtsi - Device Tree Include file for AT91SAM9x5 SoC with
  3. * 3 MMC ports
  4. *
  5. * Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com>
  6. *
  7. * Licensed under GPLv2.
  8. */
  9. #include <dt-bindings/pinctrl/at91.h>
  10. #include <dt-bindings/interrupt-controller/irq.h>
  11. / {
  12. ahb {
  13. apb {
  14. pinctrl@fffff200 {
  15. mmc2 {
  16. pinctrl_mmc2_clk_cmd_dat0: mmc2_clk_cmd_dat0 {
  17. atmel,pins =
  18. <AT91_PIOC 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC15 periph A MCI2_CK, conflicts with PCK2 */
  19. AT91_PIOC 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PC10 periph A MCI2_CDA with pullup */
  20. AT91_PIOC 11 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PC11 periph A MCI2_DA0 with pullup */
  21. };
  22. pinctrl_mmc2_dat1_3: mmc2_dat1_3 {
  23. atmel,pins =
  24. <AT91_PIOC 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC12 periph A MCI2_DA1 with pullup, conflicts with TIOA1 */
  25. AT91_PIOC 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC13 periph A MCI2_DA2 with pullup, conflicts with TIOB1 */
  26. AT91_PIOC 14 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PC14 periph A MCI2_DA3 with pullup, conflicts with TCLK1 */
  27. };
  28. };
  29. };
  30. mmc2: mmc@f8004000 {
  31. compatible = "atmel,hsmci";
  32. reg = <0xf8004000 0x600>;
  33. interrupts = <23 IRQ_TYPE_LEVEL_HIGH 0>;
  34. dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(1)>;
  35. dma-names = "rxtx";
  36. pinctrl-names = "default";
  37. pinctrl-0 = <&pinctrl_mmc2_clk_cmd_dat0 &pinctrl_mmc2_dat1_3>;
  38. status = "disabled";
  39. #address-cells = <1>;
  40. #size-cells = <0>;
  41. };
  42. };
  43. };
  44. };