stm32mp15xx-dhcom-picoitx.dtsi 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
  2. /*
  3. * Copyright (C) 2020 Marek Vasut <[email protected]>
  4. */
  5. #include <dt-bindings/input/input.h>
  6. #include <dt-bindings/pwm/pwm.h>
  7. / {
  8. aliases {
  9. serial0 = &uart4;
  10. serial1 = &usart3;
  11. serial2 = &uart8;
  12. };
  13. chosen {
  14. stdout-path = "serial0:115200n8";
  15. };
  16. led {
  17. compatible = "gpio-leds";
  18. led-0 {
  19. label = "yellow:led";
  20. gpios = <&gpioi 3 GPIO_ACTIVE_HIGH>;
  21. default-state = "off";
  22. };
  23. };
  24. };
  25. &adc {
  26. status = "disabled";
  27. };
  28. &dac {
  29. status = "disabled";
  30. };
  31. &fmc {
  32. status = "disabled";
  33. };
  34. &gpioa {
  35. /*
  36. * NOTE: The USB Port on the PicoITX needs a PWR_EN signal to enable
  37. * port power. This signal should be handled by USB power sequencing
  38. * in order to turn on port power when USB bus is powered up, but so
  39. * far there is no such functionality.
  40. */
  41. usb-port-power-hog {
  42. gpio-hog;
  43. gpios = <13 0>;
  44. output-low;
  45. line-name = "usb-port-power";
  46. };
  47. };
  48. &gpioc {
  49. gpio-line-names = "", "", "", "",
  50. "", "", "PicoITX-In1", "",
  51. "", "", "", "",
  52. "", "", "", "";
  53. };
  54. &gpiod {
  55. gpio-line-names = "", "", "", "",
  56. "", "", "DHCOM-B", "",
  57. "", "", "", "PicoITX-Out1",
  58. "PicoITX-Out2", "", "", "";
  59. };
  60. &gpiog {
  61. gpio-line-names = "PicoITX-In2", "", "", "",
  62. "", "", "", "",
  63. "DHCOM-L", "", "", "",
  64. "", "", "", "";
  65. };
  66. &i2c2 { /* On board-to-board connector (optional) */
  67. pinctrl-names = "default";
  68. pinctrl-0 = <&i2c2_pins_a>;
  69. i2c-scl-rising-time-ns = <185>;
  70. i2c-scl-falling-time-ns = <20>;
  71. status = "okay";
  72. /* spare dmas for other usage */
  73. /delete-property/dmas;
  74. /delete-property/dma-names;
  75. };
  76. &i2c5 { /* On board-to-board connector */
  77. pinctrl-names = "default";
  78. pinctrl-0 = <&i2c5_pins_a>;
  79. i2c-scl-rising-time-ns = <185>;
  80. i2c-scl-falling-time-ns = <20>;
  81. status = "okay";
  82. /* spare dmas for other usage */
  83. /delete-property/dmas;
  84. /delete-property/dma-names;
  85. };
  86. &ksz8851 {
  87. status = "disabled";
  88. };
  89. &usart3 {
  90. pinctrl-names = "default";
  91. pinctrl-0 = <&usart3_pins_a>;
  92. /delete-property/dmas;
  93. /delete-property/dma-names;
  94. status = "okay";
  95. };
  96. &uart8 {
  97. pinctrl-names = "default";
  98. pinctrl-0 = <&uart8_pins_a &uart8_rtscts_pins_a>;
  99. /delete-property/dmas;
  100. /delete-property/dma-names;
  101. status = "okay";
  102. };
  103. &usbh_ehci {
  104. phys = <&usbphyc_port0>;
  105. status = "okay";
  106. };
  107. &usbh_ohci {
  108. phys = <&usbphyc_port0>;
  109. status = "okay";
  110. };
  111. &usbotg_hs {
  112. dr_mode = "otg";
  113. pinctrl-0 = <&usbotg_hs_pins_a>;
  114. pinctrl-names = "default";
  115. phy-names = "usb2-phy";
  116. phys = <&usbphyc_port1 0>;
  117. vbus-supply = <&vbus_otg>;
  118. status = "okay";
  119. };
  120. &usbphyc {
  121. status = "okay";
  122. };
  123. &usbphyc_port0 {
  124. phy-supply = <&vdd_usb>;
  125. };
  126. &usbphyc_port1 {
  127. phy-supply = <&vdd_usb>;
  128. };