stm32mp135f-dk.dts 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
  2. /*
  3. * Copyright (C) STMicroelectronics 2021 - All Rights Reserved
  4. * Author: Alexandre Torgue <[email protected]> for STMicroelectronics.
  5. */
  6. /dts-v1/;
  7. #include <dt-bindings/gpio/gpio.h>
  8. #include <dt-bindings/input/input.h>
  9. #include <dt-bindings/leds/common.h>
  10. #include "stm32mp135.dtsi"
  11. #include "stm32mp13xf.dtsi"
  12. #include "stm32mp13-pinctrl.dtsi"
  13. / {
  14. model = "STMicroelectronics STM32MP135F-DK Discovery Board";
  15. compatible = "st,stm32mp135f-dk", "st,stm32mp135";
  16. aliases {
  17. serial0 = &uart4;
  18. };
  19. memory@c0000000 {
  20. device_type = "memory";
  21. reg = <0xc0000000 0x20000000>;
  22. };
  23. reserved-memory {
  24. #address-cells = <1>;
  25. #size-cells = <1>;
  26. ranges;
  27. optee@dd000000 {
  28. reg = <0xdd000000 0x3000000>;
  29. no-map;
  30. };
  31. };
  32. gpio-keys {
  33. compatible = "gpio-keys";
  34. user-pa13 {
  35. label = "User-PA13";
  36. linux,code = <BTN_1>;
  37. gpios = <&gpioa 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
  38. };
  39. };
  40. leds {
  41. compatible = "gpio-leds";
  42. led-blue {
  43. function = LED_FUNCTION_HEARTBEAT;
  44. color = <LED_COLOR_ID_BLUE>;
  45. gpios = <&gpioa 14 GPIO_ACTIVE_LOW>;
  46. linux,default-trigger = "heartbeat";
  47. default-state = "off";
  48. };
  49. };
  50. vdd_sd: vdd-sd {
  51. compatible = "regulator-fixed";
  52. regulator-name = "vdd_sd";
  53. regulator-min-microvolt = <2900000>;
  54. regulator-max-microvolt = <2900000>;
  55. regulator-always-on;
  56. };
  57. };
  58. &i2c1 {
  59. pinctrl-names = "default", "sleep";
  60. pinctrl-0 = <&i2c1_pins_a>;
  61. pinctrl-1 = <&i2c1_sleep_pins_a>;
  62. i2c-scl-rising-time-ns = <96>;
  63. i2c-scl-falling-time-ns = <3>;
  64. clock-frequency = <1000000>;
  65. status = "okay";
  66. /* spare dmas for other usage */
  67. /delete-property/dmas;
  68. /delete-property/dma-names;
  69. };
  70. &i2c5 {
  71. pinctrl-names = "default", "sleep";
  72. pinctrl-0 = <&i2c5_pins_a>;
  73. pinctrl-1 = <&i2c5_sleep_pins_a>;
  74. i2c-scl-rising-time-ns = <170>;
  75. i2c-scl-falling-time-ns = <5>;
  76. clock-frequency = <400000>;
  77. status = "okay";
  78. /* spare dmas for other usage */
  79. /delete-property/dmas;
  80. /delete-property/dma-names;
  81. };
  82. &iwdg2 {
  83. timeout-sec = <32>;
  84. status = "okay";
  85. };
  86. &rtc {
  87. status = "okay";
  88. };
  89. &sdmmc1 {
  90. pinctrl-names = "default", "opendrain", "sleep";
  91. pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_clk_pins_a>;
  92. pinctrl-1 = <&sdmmc1_b4_od_pins_a &sdmmc1_clk_pins_a>;
  93. pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
  94. broken-cd;
  95. disable-wp;
  96. st,neg-edge;
  97. bus-width = <4>;
  98. vmmc-supply = <&vdd_sd>;
  99. status = "okay";
  100. };
  101. &spi5 {
  102. pinctrl-names = "default", "sleep";
  103. pinctrl-0 = <&spi5_pins_a>;
  104. pinctrl-1 = <&spi5_sleep_pins_a>;
  105. status = "disabled";
  106. };
  107. &uart4 {
  108. pinctrl-names = "default";
  109. pinctrl-0 = <&uart4_pins_a>;
  110. status = "okay";
  111. };