|
@@ -44,6 +44,7 @@
|
|
#include "stm32f746.dtsi"
|
|
#include "stm32f746.dtsi"
|
|
#include "stm32f746-pinctrl.dtsi"
|
|
#include "stm32f746-pinctrl.dtsi"
|
|
#include <dt-bindings/input/input.h>
|
|
#include <dt-bindings/input/input.h>
|
|
|
|
+#include <dt-bindings/gpio/gpio.h>
|
|
|
|
|
|
/ {
|
|
/ {
|
|
model = "STMicroelectronics STM32F746-DISCO board";
|
|
model = "STMicroelectronics STM32F746-DISCO board";
|
|
@@ -76,12 +77,30 @@
|
|
regulator-name = "vcc5_host1";
|
|
regulator-name = "vcc5_host1";
|
|
regulator-always-on;
|
|
regulator-always-on;
|
|
};
|
|
};
|
|
|
|
+
|
|
|
|
+ mmc_vcard: mmc_vcard {
|
|
|
|
+ compatible = "regulator-fixed";
|
|
|
|
+ regulator-name = "mmc_vcard";
|
|
|
|
+ regulator-min-microvolt = <3300000>;
|
|
|
|
+ regulator-max-microvolt = <3300000>;
|
|
|
|
+ };
|
|
};
|
|
};
|
|
|
|
|
|
&clk_hse {
|
|
&clk_hse {
|
|
clock-frequency = <25000000>;
|
|
clock-frequency = <25000000>;
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+&sdio1 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ vmmc-supply = <&mmc_vcard>;
|
|
|
|
+ cd-gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
|
|
|
|
+ cd-inverted;
|
|
|
|
+ pinctrl-names = "default", "opendrain";
|
|
|
|
+ pinctrl-0 = <&sdio_pins_a>;
|
|
|
|
+ pinctrl-1 = <&sdio_pins_od_a>;
|
|
|
|
+ bus-width = <4>;
|
|
|
|
+};
|
|
|
|
+
|
|
&usart1 {
|
|
&usart1 {
|
|
pinctrl-0 = <&usart1_pins_b>;
|
|
pinctrl-0 = <&usart1_pins_b>;
|
|
pinctrl-names = "default";
|
|
pinctrl-names = "default";
|