stm32mp157c-emsbc-argon.dts 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. // SPDX-License-Identifier: (GPL-2.0 or MIT)
  2. //
  3. // Copyright (c) 2021 emtrion GmbH
  4. // Author: Reinhold Müller <[email protected]>.
  5. //
  6. /dts-v1/;
  7. #include "stm32mp157c-emstamp-argon.dtsi"
  8. / {
  9. model = "emtrion STM32MP157C emSBC-Argon Developer Board";
  10. compatible = "emtrion,stm32mp157c-emsbc-argon", "emtrion,stm32mp157c-emstamp-argon",
  11. "st,stm32mp157";
  12. led: gpio_leds {
  13. compatible = "gpio-leds";
  14. led-2 {
  15. label = "red";
  16. gpios = <&gpiof 12 GPIO_ACTIVE_LOW>;
  17. linux,default-trigger = "none";
  18. default-state = "off";
  19. };
  20. led-3 {
  21. label = "green";
  22. gpios = <&gpioe 7 GPIO_ACTIVE_LOW>;
  23. linux,default-trigger = "none";
  24. default-state = "off";
  25. };
  26. };
  27. };
  28. &dac {
  29. status = "okay";
  30. };
  31. &sdmmc1 {
  32. pinctrl-names = "default", "opendrain", "sleep";
  33. pinctrl-0 = <&sdmmc1_b4_pins_a>;
  34. pinctrl-1 = <&sdmmc1_b4_od_pins_a>;
  35. pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
  36. cd-gpios = <&gpiob 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
  37. disable-wp;
  38. st,neg-edge;
  39. bus-width = <4>;
  40. vmmc-supply = <&vdd_sd>;
  41. status = "okay";
  42. };
  43. &spi1 {
  44. status = "okay";
  45. };