at91-cosino_mega2560.dts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. /*
  2. * at91-cosino_mega2560.dts - Device Tree file for Cosino board with
  3. * Mega 2560 extension
  4. *
  5. * Copyright (C) 2013 - Rodolfo Giometti <giometti@linux.it>
  6. * HCE Engineering
  7. *
  8. * Derived from at91sam9g35ek.dts by:
  9. * Copyright (C) 2012 Atmel,
  10. * 2012 Nicolas Ferre <nicolas.ferre@atmel.com>
  11. *
  12. * Licensed under GPLv2 or later.
  13. */
  14. /dts-v1/;
  15. #include "at91-cosino.dtsi"
  16. / {
  17. model = "HCE Cosino Mega 2560";
  18. compatible = "hce,cosino_mega2560", "atmel,at91sam9x5", "atmel,at91sam9";
  19. ahb {
  20. apb {
  21. macb0: ethernet@f802c000 {
  22. phy-mode = "rmii";
  23. status = "okay";
  24. };
  25. adc0: adc@f804c000 {
  26. atmel,adc-ts-wires = <4>;
  27. atmel,adc-ts-pressure-threshold = <10000>;
  28. status = "okay";
  29. };
  30. rtc@fffffeb0 {
  31. status = "okay";
  32. };
  33. usart1: serial@f8020000 {
  34. status = "okay";
  35. };
  36. usart2: serial@f8024000 {
  37. status = "okay";
  38. };
  39. usb2: gadget@f803c000 {
  40. atmel,vbus-gpio = <&pioB 16 GPIO_ACTIVE_HIGH>;
  41. status = "okay";
  42. };
  43. mmc1: mmc@f000c000 {
  44. pinctrl-0 = <
  45. &pinctrl_mmc1_slot0_clk_cmd_dat0
  46. &pinctrl_mmc1_slot0_dat1_3>;
  47. status = "okay";
  48. slot@0 {
  49. reg = <0>;
  50. bus-width = <4>;
  51. non-removable;
  52. };
  53. };
  54. };
  55. usb0: ohci@00600000 {
  56. status = "okay";
  57. num-ports = <3>;
  58. atmel,vbus-gpio = <0 /* &pioD 18 GPIO_ACTIVE_LOW */
  59. &pioD 19 GPIO_ACTIVE_LOW
  60. &pioD 20 GPIO_ACTIVE_LOW
  61. >;
  62. };
  63. usb1: ehci@00700000 {
  64. status = "okay";
  65. };
  66. };
  67. };