socfpga_cyclone5_mcvevk.dts 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (C) 2015 Marek Vasut <marex@denx.de>
  4. */
  5. #include "socfpga_cyclone5_mcv.dtsi"
  6. / {
  7. model = "Aries/DENX MCV EVK";
  8. compatible = "denx,mcvevk", "altr,socfpga-cyclone5", "altr,socfpga";
  9. aliases {
  10. ethernet0 = &gmac0;
  11. stmpe-i2c0 = &stmpe1;
  12. };
  13. chosen {
  14. stdout-path = "serial0:115200n8";
  15. };
  16. };
  17. &can0 {
  18. status = "okay";
  19. };
  20. &can1 {
  21. status = "okay";
  22. };
  23. &gmac0 {
  24. phy-mode = "rgmii";
  25. status = "okay";
  26. };
  27. &gpio0 { /* GPIO 0 ... 28 */
  28. status = "okay";
  29. };
  30. &gpio1 { /* GPIO 29 ... 57 */
  31. status = "okay";
  32. };
  33. &gpio2 { /* GPIO 58..66 (HLGPI 0..13 at offset 13) */
  34. status = "okay";
  35. };
  36. &i2c0 {
  37. status = "okay";
  38. clock-frequency = <100000>;
  39. stmpe1: stmpe811@41 {
  40. compatible = "st,stmpe811";
  41. #address-cells = <1>;
  42. #size-cells = <0>;
  43. reg = <0x41>;
  44. id = <0>;
  45. blocks = <0x5>;
  46. irq-gpio = <&portb 28 0x4>; /* GPIO 57, trig. level HI */
  47. stmpe_touchscreen {
  48. compatible = "st,stmpe-ts";
  49. ts,sample-time = <4>;
  50. ts,mod-12b = <1>;
  51. ts,ref-sel = <0>;
  52. ts,adc-freq = <1>;
  53. ts,ave-ctrl = <1>;
  54. ts,touch-det-delay = <3>;
  55. ts,settling = <4>;
  56. ts,fraction-z = <7>;
  57. ts,i-drive = <1>;
  58. };
  59. };
  60. };
  61. &uart0 {
  62. status = "okay";
  63. };
  64. &usb1 {
  65. status = "okay";
  66. };