stm32mp157c-lxa-mc1.dts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) */
  2. /*
  3. * Copyright (c) 2020-2021, STMicroelectronics - All Rights Reserved
  4. * Copyright (C) 2020 Ahmad Fatoum, Pengutronix
  5. */
  6. /dts-v1/;
  7. #include "stm32mp157.dtsi"
  8. #include "stm32mp15xc.dtsi"
  9. #include "stm32mp15-ddr3-1x4Gb-1066-binG.dtsi"
  10. #include "stm32mp15xx-osd32.dtsi"
  11. #include "stm32mp15xxac-pinctrl.dtsi"
  12. / {
  13. model = "Linux Automation MC-1 board";
  14. compatible = "lxa,stm32mp157c-mc1", "oct,stm32mp15xx-osd32", "st,stm32mp157";
  15. aliases {
  16. mmc0 = &sdmmc1;
  17. mmc1 = &sdmmc2;
  18. serial0 = &uart4;
  19. };
  20. chosen {
  21. stdout-path = &uart4;
  22. };
  23. led-act {
  24. compatible = "gpio-leds";
  25. led-green {
  26. label = "mc1:green:act";
  27. gpios = <&gpioa 13 1>;
  28. linux,default-trigger = "heartbeat";
  29. };
  30. };
  31. reg_3v3: regulator_3v3 {
  32. compatible = "regulator-fixed";
  33. regulator-name = "3V3";
  34. regulator-min-microvolt = <3300000>;
  35. regulator-max-microvolt = <3300000>;
  36. regulator-always-on;
  37. vin-supply = <&v3v3>;
  38. };
  39. };
  40. &sdmmc1 {
  41. pinctrl-names = "default";
  42. pinctrl-0 = <&sdmmc1_b4_pins_a>;
  43. bus-width = <4>;
  44. cd-gpios = <&gpioh 3 1>;
  45. disable-wp;
  46. no-1-8-v;
  47. st,neg-edge;
  48. vmmc-supply = <&reg_3v3>;
  49. status = "okay";
  50. };
  51. &sdmmc1_b4_pins_a {
  52. /*
  53. * board lacks external pull-ups on SDMMC lines. Class 10 SD refuses to
  54. * work, thus enable internal pull-ups.
  55. */
  56. pins1 {
  57. /delete-property/ bias-disable;
  58. bias-pull-up;
  59. };
  60. pins2 {
  61. /delete-property/ bias-disable;
  62. bias-pull-up;
  63. };
  64. };
  65. &sdmmc2 {
  66. pinctrl-names = "default";
  67. pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_b>;
  68. bus-width = <8>;
  69. no-1-8-v;
  70. no-sd;
  71. no-sdio;
  72. non-removable;
  73. st,neg-edge;
  74. vmmc-supply = <&reg_3v3>;
  75. status = "okay";
  76. };
  77. &uart4 {
  78. pinctrl-names = "default";
  79. pinctrl-0 = <&uart4_pins_a>;
  80. status = "okay";
  81. };