]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
ARM: dts: stm32: Add stm32mp235f-dk-u-boot
authorPatrice Chotard <patrice.chotard@foss.st.com>
Thu, 26 Jun 2025 08:08:46 +0000 (10:08 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 29 Jul 2025 15:02:31 +0000 (17:02 +0200)
Add U-Boot specific file for stm32mp235f-dk board

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/dts/stm32mp23-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/stm32mp235f-dk-u-boot.dtsi [new file with mode: 0644]

diff --git a/arch/arm/dts/stm32mp23-u-boot.dtsi b/arch/arm/dts/stm32mp23-u-boot.dtsi
new file mode 100644 (file)
index 0000000..872a873
--- /dev/null
@@ -0,0 +1,104 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-3-Clause
+/*
+ * Copyright : STMicroelectronics 2024
+ */
+
+/ {
+       aliases {
+               gpio0 = &gpioa;
+               gpio1 = &gpiob;
+               gpio2 = &gpioc;
+               gpio3 = &gpiod;
+               gpio4 = &gpioe;
+               gpio5 = &gpiof;
+               gpio6 = &gpiog;
+               gpio7 = &gpioh;
+               gpio8 = &gpioi;
+               gpio25 = &gpioz;
+               pinctrl0 = &pinctrl;
+               pinctrl1 = &pinctrl_z;
+       };
+
+       firmware {
+               optee {
+                       bootph-all;
+               };
+
+               scmi {
+                       bootph-all;
+               };
+       };
+
+       /* need PSCI for sysreset during board_f */
+       psci {
+               bootph-all;
+       };
+
+       soc@0 {
+               bootph-all;
+       };
+};
+
+&bsec {
+       bootph-all;
+};
+
+&gpioa {
+       bootph-all;
+};
+
+&gpiob {
+       bootph-all;
+};
+
+&gpioc {
+       bootph-all;
+};
+
+&gpiod {
+       bootph-all;
+};
+
+&gpioe {
+       bootph-all;
+};
+
+&gpiof {
+       bootph-all;
+};
+
+&gpiog {
+       bootph-all;
+};
+
+&gpioh {
+       bootph-all;
+};
+
+&gpioi {
+       bootph-all;
+};
+
+&gpioz {
+       bootph-all;
+};
+
+&pinctrl {
+       bootph-all;
+};
+
+&rcc {
+       bootph-all;
+};
+
+&rifsc {
+       bootph-all;
+};
+
+&scmi_clk {
+       bootph-all;
+};
+
+&syscfg {
+       bootph-all;
+};
diff --git a/arch/arm/dts/stm32mp235f-dk-u-boot.dtsi b/arch/arm/dts/stm32mp235f-dk-u-boot.dtsi
new file mode 100644 (file)
index 0000000..1bc7787
--- /dev/null
@@ -0,0 +1,27 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-3-Clause
+/*
+ * Copyright (C) STMicroelectronics 2024 - All Rights Reserved
+ */
+
+#include "stm32mp23-u-boot.dtsi"
+
+/ {
+       config {
+               u-boot,boot-led = "led-blue";
+               u-boot,mmc-env-partition = "u-boot-env";
+       };
+};
+
+&usart2 {
+       bootph-all;
+};
+
+&usart2_pins_a {
+       bootph-all;
+       pins1 {
+               bootph-all;
+       };
+       pins2 {
+               bootph-all;
+       };
+};