at91-cosino_mega2560.dts 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * at91-cosino_mega2560.dts - Device Tree file for Cosino board with
  4. * Mega 2560 extension
  5. *
  6. * Copyright (C) 2013 - Rodolfo Giometti <[email protected]>
  7. * HCE Engineering
  8. *
  9. * Derived from at91sam9g35ek.dts by:
  10. * Copyright (C) 2012 Atmel,
  11. * 2012 Nicolas Ferre <[email protected]>
  12. */
  13. /dts-v1/;
  14. #include "at91-cosino.dtsi"
  15. / {
  16. model = "HCE Cosino Mega 2560";
  17. compatible = "hce,cosino_mega2560", "atmel,at91sam9x5", "atmel,at91sam9";
  18. };
  19. &adc0 {
  20. atmel,adc-ts-wires = <4>;
  21. atmel,adc-ts-pressure-threshold = <10000>;
  22. status = "okay";
  23. };
  24. &macb0 {
  25. phy-mode = "rmii";
  26. status = "okay";
  27. };
  28. &mmc1 {
  29. pinctrl-0 = <
  30. &pinctrl_mmc1_slot0_clk_cmd_dat0
  31. &pinctrl_mmc1_slot0_dat1_3>;
  32. pinctrl-names = "default";
  33. status = "okay";
  34. slot@0 {
  35. reg = <0>;
  36. bus-width = <4>;
  37. non-removable;
  38. };
  39. };
  40. &rtc {
  41. status = "okay";
  42. };
  43. &usart1 {
  44. status = "okay";
  45. };
  46. &usart2 {
  47. status = "okay";
  48. };
  49. &usb0 {
  50. num-ports = <3>;
  51. atmel,vbus-gpio = <0 /* &pioD 18 GPIO_ACTIVE_LOW */
  52. &pioD 19 GPIO_ACTIVE_LOW
  53. &pioD 20 GPIO_ACTIVE_LOW
  54. >;
  55. status = "okay";
  56. };
  57. &usb1 {
  58. status = "okay";
  59. };
  60. &usb2 {
  61. atmel,vbus-gpio = <&pioB 16 GPIO_ACTIVE_HIGH>;
  62. status = "okay";
  63. };