stm32mp157c-dk2.dts 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
  2. /*
  3. * Copyright (C) STMicroelectronics 2019 - All Rights Reserved
  4. * Author: Alexandre Torgue <alexandre.torgue@st.com> for STMicroelectronics.
  5. */
  6. /dts-v1/;
  7. #include "stm32mp157.dtsi"
  8. #include "stm32mp15xc.dtsi"
  9. #include "stm32mp15-pinctrl.dtsi"
  10. #include "stm32mp15xxac-pinctrl.dtsi"
  11. #include "stm32mp15xx-dkx.dtsi"
  12. / {
  13. model = "STMicroelectronics STM32MP157C-DK2 Discovery Board";
  14. compatible = "st,stm32mp157c-dk2", "st,stm32mp157";
  15. aliases {
  16. ethernet0 = &ethernet0;
  17. serial0 = &uart4;
  18. serial1 = &usart3;
  19. serial2 = &uart7;
  20. serial3 = &usart2;
  21. };
  22. chosen {
  23. stdout-path = "serial0:115200n8";
  24. };
  25. };
  26. &dsi {
  27. status = "okay";
  28. phy-dsi-supply = <&reg18>;
  29. ports {
  30. port@0 {
  31. reg = <0>;
  32. dsi_in: endpoint {
  33. remote-endpoint = <&ltdc_ep1_out>;
  34. };
  35. };
  36. port@1 {
  37. reg = <1>;
  38. dsi_out: endpoint {
  39. remote-endpoint = <&panel_in>;
  40. };
  41. };
  42. };
  43. panel@0 {
  44. compatible = "orisetech,otm8009a";
  45. reg = <0>;
  46. reset-gpios = <&gpioe 4 GPIO_ACTIVE_LOW>;
  47. power-supply = <&v3v3>;
  48. status = "okay";
  49. port {
  50. panel_in: endpoint {
  51. remote-endpoint = <&dsi_out>;
  52. };
  53. };
  54. };
  55. };
  56. &i2c1 {
  57. touchscreen@38 {
  58. compatible = "focaltech,ft6236";
  59. reg = <0x38>;
  60. interrupts = <2 2>;
  61. interrupt-parent = <&gpiof>;
  62. interrupt-controller;
  63. touchscreen-size-x = <480>;
  64. touchscreen-size-y = <800>;
  65. status = "okay";
  66. };
  67. };
  68. &ltdc {
  69. status = "okay";
  70. port {
  71. ltdc_ep1_out: endpoint@1 {
  72. reg = <1>;
  73. remote-endpoint = <&dsi_in>;
  74. };
  75. };
  76. };
  77. &usart2 {
  78. pinctrl-names = "default", "sleep", "idle";
  79. pinctrl-0 = <&usart2_pins_c>;
  80. pinctrl-1 = <&usart2_sleep_pins_c>;
  81. pinctrl-2 = <&usart2_idle_pins_c>;
  82. status = "disabled";
  83. };