stm32mp15xx-dhcor-avenger96.dtsi 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
  2. /*
  3. * Copyright (C) Linaro Ltd 2019 - All Rights Reserved
  4. * Author: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
  5. * Copyright (C) 2020 Marek Vasut <marex@denx.de>
  6. * Copyright (C) 2022 DH electronics GmbH
  7. */
  8. /* Avenger96 uses DHCOR SoM configured for 1V8 IO operation */
  9. #include "stm32mp15xx-dhcor-io1v8.dtsi"
  10. / {
  11. aliases {
  12. serial0 = &uart4;
  13. serial1 = &uart7;
  14. };
  15. chosen {
  16. stdout-path = "serial0:115200n8";
  17. };
  18. sd_switch: regulator-sd_switch {
  19. compatible = "regulator-gpio";
  20. regulator-name = "sd_switch";
  21. regulator-min-microvolt = <1800000>;
  22. regulator-max-microvolt = <2900000>;
  23. regulator-type = "voltage";
  24. regulator-always-on;
  25. gpios = <&gpioi 5 0>;
  26. gpios-states = <0>;
  27. states = <1800000 0x1>,
  28. <2900000 0x0>;
  29. };
  30. };
  31. &sdmmc1 {
  32. pinctrl-names = "default";
  33. pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_dir_pins_b>;
  34. disable-wp;
  35. st,sig-dir;
  36. st,neg-edge;
  37. st,use-ckin;
  38. bus-width = <4>;
  39. vmmc-supply = <&vdd_sd>;
  40. vqmmc-supply = <&sd_switch>;
  41. status = "okay";
  42. };
  43. &sdmmc2 {
  44. pinctrl-names = "default";
  45. pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_c>;
  46. bus-width = <8>;
  47. mmc-ddr-1_8v;
  48. no-sd;
  49. no-sdio;
  50. non-removable;
  51. st,neg-edge;
  52. vmmc-supply = <&v3v3>;
  53. vqmmc-supply = <&vdd_io>;
  54. status = "okay";
  55. };
  56. &uart4 {
  57. /* On Low speed expansion header */
  58. label = "LS-UART1";
  59. pinctrl-names = "default";
  60. pinctrl-0 = <&uart4_pins_b>;
  61. status = "okay";
  62. };
  63. &uart7 {
  64. /* On Low speed expansion header */
  65. label = "LS-UART0";
  66. pinctrl-names = "default";
  67. pinctrl-0 = <&uart7_pins_a>;
  68. uart-has-rtscts;
  69. status = "okay";
  70. };
  71. &usbotg_hs {
  72. pinctrl-0 = <&usbotg_hs_pins_a>;
  73. pinctrl-names = "default";
  74. phy-names = "usb2-phy";
  75. phys = <&usbphyc_port1 0>;
  76. status = "okay";
  77. vbus-supply = <&vbus_otg>;
  78. };
  79. &usbphyc {
  80. status = "okay";
  81. };
  82. &usbphyc_port0 {
  83. phy-supply = <&vdd_usb>;
  84. };
  85. &usbphyc_port1 {
  86. phy-supply = <&vdd_usb>;
  87. };