at91sam9g20ek_2mmc.dts 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. * at91sam9g20ek_2mmc.dts - Device Tree file for Atmel at91sam9g20ek 2 MMC board
  3. *
  4. * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  5. *
  6. * Licensed under GPLv2.
  7. */
  8. /dts-v1/;
  9. /include/ "at91sam9g20ek_common.dtsi"
  10. / {
  11. model = "Atmel at91sam9g20ek 2 mmc";
  12. compatible = "atmel,at91sam9g20ek_2mmc", "atmel,at91sam9g20", "atmel,at91sam9";
  13. ahb {
  14. apb{
  15. mmc0: mmc@fffa8000 {
  16. /* clk already mux wuth slot0 */
  17. pinctrl-0 = <
  18. &pinctrl_board_mmc0_slot0
  19. &pinctrl_mmc0_slot0_cmd_dat0
  20. &pinctrl_mmc0_slot0_dat1_3>;
  21. slot@0 {
  22. reg = <0>;
  23. bus-width = <4>;
  24. cd-gpios = <&pioC 2 0>;
  25. };
  26. };
  27. pinctrl@fffff400 {
  28. mmc0_slot0 {
  29. pinctrl_board_mmc0_slot0: mmc0_slot0-board {
  30. atmel,pins =
  31. <2 2 0x0 0x5>; /* PC2 gpio CD pin pull up and deglitch */
  32. };
  33. };
  34. };
  35. };
  36. };
  37. leds {
  38. compatible = "gpio-leds";
  39. ds1 {
  40. label = "ds1";
  41. gpios = <&pioB 9 0>;
  42. linux,default-trigger = "heartbeat";
  43. };
  44. ds5 {
  45. label = "ds5";
  46. gpios = <&pioB 8 1>;
  47. };
  48. };
  49. };