stm32mp157c-dk2.dts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
  2. /*
  3. * Copyright (C) STMicroelectronics 2019 - All Rights Reserved
  4. * Author: Alexandre Torgue <[email protected]> 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. &cryp1 {
  27. status = "okay";
  28. };
  29. &dsi {
  30. status = "okay";
  31. phy-dsi-supply = <&reg18>;
  32. ports {
  33. port@0 {
  34. reg = <0>;
  35. dsi_in: endpoint {
  36. remote-endpoint = <&ltdc_ep1_out>;
  37. };
  38. };
  39. port@1 {
  40. reg = <1>;
  41. dsi_out: endpoint {
  42. remote-endpoint = <&panel_in>;
  43. };
  44. };
  45. };
  46. panel@0 {
  47. compatible = "orisetech,otm8009a";
  48. reg = <0>;
  49. reset-gpios = <&gpioe 4 GPIO_ACTIVE_LOW>;
  50. power-supply = <&v3v3>;
  51. status = "okay";
  52. port {
  53. panel_in: endpoint {
  54. remote-endpoint = <&dsi_out>;
  55. };
  56. };
  57. };
  58. };
  59. &i2c1 {
  60. touchscreen@38 {
  61. compatible = "focaltech,ft6236";
  62. reg = <0x38>;
  63. interrupts = <2 2>;
  64. interrupt-parent = <&gpiof>;
  65. interrupt-controller;
  66. touchscreen-size-x = <480>;
  67. touchscreen-size-y = <800>;
  68. status = "okay";
  69. };
  70. };
  71. &ltdc {
  72. status = "okay";
  73. port {
  74. ltdc_ep1_out: endpoint@1 {
  75. reg = <1>;
  76. remote-endpoint = <&dsi_in>;
  77. };
  78. };
  79. };
  80. &usart2 {
  81. pinctrl-names = "default", "sleep", "idle";
  82. pinctrl-0 = <&usart2_pins_c>;
  83. pinctrl-1 = <&usart2_sleep_pins_c>;
  84. pinctrl-2 = <&usart2_idle_pins_c>;
  85. status = "disabled";
  86. };