mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-26 13:03:40 +00:00
46b4d6fe18
stm32mp135f-dk board has a type-c connector to retrieve the connection state. For now, simply force an active peripheral mode in u-boot for flashing. Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
44 lines
617 B
Text
44 lines
617 B
Text
// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-3-Clause
|
|
/*
|
|
* Copyright (C) 2022, STMicroelectronics - All Rights Reserved
|
|
*/
|
|
|
|
#include "stm32mp13-u-boot.dtsi"
|
|
|
|
/ {
|
|
aliases {
|
|
mmc0 = &sdmmc1;
|
|
};
|
|
|
|
config {
|
|
u-boot,boot-led = "led-blue";
|
|
u-boot,error-led = "led-red";
|
|
u-boot,mmc-env-partition = "u-boot-env";
|
|
};
|
|
|
|
leds {
|
|
led-red {
|
|
color = <LED_COLOR_ID_RED>;
|
|
gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
|
|
default-state = "off";
|
|
};
|
|
};
|
|
};
|
|
|
|
&uart4 {
|
|
bootph-all;
|
|
};
|
|
|
|
&uart4_pins_a {
|
|
bootph-all;
|
|
pins1 {
|
|
bootph-all;
|
|
};
|
|
pins2 {
|
|
bootph-all;
|
|
};
|
|
};
|
|
|
|
&usbotg_hs {
|
|
u-boot,force-b-session-valid;
|
|
};
|