aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/device-tree/src/arm64/st/stm32mp257f-ev1.dts
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/device-tree/src/arm64/st/stm32mp257f-ev1.dts')
-rw-r--r--sys/contrib/device-tree/src/arm64/st/stm32mp257f-ev1.dts27
1 files changed, 27 insertions, 0 deletions
diff --git a/sys/contrib/device-tree/src/arm64/st/stm32mp257f-ev1.dts b/sys/contrib/device-tree/src/arm64/st/stm32mp257f-ev1.dts
index 39b4726cc098..b2d3afb15758 100644
--- a/sys/contrib/device-tree/src/arm64/st/stm32mp257f-ev1.dts
+++ b/sys/contrib/device-tree/src/arm64/st/stm32mp257f-ev1.dts
@@ -6,6 +6,7 @@
/dts-v1/;
+#include <dt-bindings/gpio/gpio.h>
#include "stm32mp257.dtsi"
#include "stm32mp25xf.dtsi"
#include "stm32mp25-pinctrl.dtsi"
@@ -39,6 +40,32 @@
no-map;
};
};
+
+ vdd_sdcard: vdd-sdcard {
+ compatible = "regulator-fixed";
+ regulator-name = "vdd_sdcard";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ };
+};
+
+&arm_wdt {
+ timeout-sec = <32>;
+ status = "okay";
+};
+
+&sdmmc1 {
+ pinctrl-names = "default", "opendrain", "sleep";
+ pinctrl-0 = <&sdmmc1_b4_pins_a>;
+ pinctrl-1 = <&sdmmc1_b4_od_pins_a>;
+ pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
+ cd-gpios = <&gpiod 9 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
+ disable-wp;
+ st,neg-edge;
+ bus-width = <4>;
+ vmmc-supply = <&vdd_sdcard>;
+ status = "okay";
};
&usart2 {