vf-colibri-eval-v3.dtsi 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. // SPDX-License-Identifier: GPL-2.0+ OR MIT
  2. /*
  3. * Copyright 2014-2020 Toradex
  4. */
  5. / {
  6. chosen {
  7. stdout-path = "serial0:115200n8";
  8. };
  9. clk16m: clk16m {
  10. compatible = "fixed-clock";
  11. #clock-cells = <0>;
  12. clock-frequency = <16000000>;
  13. };
  14. panel: panel {
  15. compatible = "edt,et057090dhu";
  16. backlight = <&bl>;
  17. port {
  18. panel_in: endpoint {
  19. remote-endpoint = <&dcu_out>;
  20. };
  21. };
  22. };
  23. reg_3v3: regulator-3v3 {
  24. compatible = "regulator-fixed";
  25. regulator-name = "3.3V";
  26. regulator-min-microvolt = <3300000>;
  27. regulator-max-microvolt = <3300000>;
  28. };
  29. reg_5v0: regulator-5v0 {
  30. compatible = "regulator-fixed";
  31. regulator-name = "5V";
  32. regulator-min-microvolt = <5000000>;
  33. regulator-max-microvolt = <5000000>;
  34. };
  35. reg_usbh_vbus: regulator-usbh-vbus {
  36. compatible = "regulator-fixed";
  37. pinctrl-names = "default";
  38. pinctrl-0 = <&pinctrl_usbh1_reg>;
  39. regulator-name = "VCC_USB[1-4]";
  40. regulator-min-microvolt = <5000000>;
  41. regulator-max-microvolt = <5000000>;
  42. gpio = <&gpio2 19 GPIO_ACTIVE_LOW>; /* USBH_PEN resp. USBH_P_EN */
  43. vin-supply = <&reg_5v0>;
  44. };
  45. };
  46. &bl {
  47. brightness-levels = <0 4 8 16 32 64 128 255>;
  48. default-brightness-level = <6>;
  49. power-supply = <&reg_3v3>;
  50. status = "okay";
  51. };
  52. &dcu0 {
  53. pinctrl-names = "default";
  54. pinctrl-0 = <&pinctrl_dcu0_1>;
  55. status = "okay";
  56. port {
  57. dcu_out: endpoint {
  58. remote-endpoint = <&panel_in>;
  59. };
  60. };
  61. };
  62. &dspi1 {
  63. status = "okay";
  64. mcp2515can: can@0 {
  65. compatible = "microchip,mcp2515";
  66. pinctrl-names = "default";
  67. pinctrl-0 = <&pinctrl_can_int>;
  68. reg = <0>;
  69. clocks = <&clk16m>;
  70. spi-max-frequency = <10000000>;
  71. interrupt-parent = <&gpio1>;
  72. interrupts = <11 IRQ_TYPE_EDGE_RISING>;
  73. };
  74. };
  75. &esdhc1 {
  76. pinctrl-names = "default";
  77. pinctrl-0 = <&pinctrl_esdhc1>;
  78. bus-width = <4>;
  79. status = "okay";
  80. };
  81. &fec1 {
  82. phy-mode = "rmii";
  83. pinctrl-names = "default";
  84. pinctrl-0 = <&pinctrl_fec1>;
  85. status = "okay";
  86. };
  87. &i2c0 {
  88. status = "okay";
  89. /* M41T0M6 real time clock on carrier board */
  90. rtc: rtc@68 {
  91. compatible = "st,m41t0";
  92. reg = <0x68>;
  93. };
  94. };
  95. &pwm0 {
  96. status = "okay";
  97. };
  98. &pwm1 {
  99. status = "okay";
  100. };
  101. &reg_module_3v3 {
  102. vin-supply = <&reg_3v3>;
  103. };
  104. &tcon0 {
  105. status = "okay";
  106. };
  107. &uart0 {
  108. status = "okay";
  109. };
  110. &uart1 {
  111. status = "okay";
  112. };
  113. &uart2 {
  114. status = "okay";
  115. };
  116. &usbh1 {
  117. vbus-supply = <&reg_usbh_vbus>;
  118. };
  119. &iomuxc {
  120. vf610-colibri {
  121. pinctrl_can_int: can_int {
  122. fsl,pins = <
  123. VF610_PAD_PTB21__GPIO_43 0x22ed
  124. >;
  125. };
  126. };
  127. };