Skip to content

Commit

Permalink
arm: stm32: Add DTS describing ROM bootloader for f0/f4
Browse files Browse the repository at this point in the history
Add the ROM bootloader devicetree details for a few stm32 SoCs.

Signed-off-by: Peter Johanson <[email protected]>
  • Loading branch information
petejohanson committed Dec 2, 2024
1 parent 439da28 commit ea084fa
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dts/arm/st/f0/stm32f072.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
soc {
compatible = "st,stm32f072", "st,stm32f0", "simple-bus";

rom_bootloader: rom_bootloader@0x1FFFC800 {
compatible = "st,stm32-bootloader";
reg = <0x1FFFC800 DT_SIZE_K(12)>;
status = "reserved";
};

can1: can@40006400 {
compatible = "st,stm32-bxcan";
reg = <0x40006400 0x400>;
Expand Down
6 changes: 6 additions & 0 deletions dts/arm/st/f4/stm32f401.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
soc {
compatible = "st,stm32f401", "st,stm32f4", "simple-bus";

bootloader: bootloader@0x1FFF0000 {
compatible = "st,stm32-bootloader";
reg = <0x1FFF0000 DT_SIZE_K(29)>;
status = "reserved";
};

spi2: spi@40003800 {
compatible = "st,stm32-spi";
#address-cells = <1>;
Expand Down
7 changes: 7 additions & 0 deletions dts/arm/st/f4/stm32f411.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@
soc {
compatible = "st,stm32f411", "st,stm32f4", "simple-bus";


rom_bootloader: rom_bootloader@0x1FFF0000 {
compatible = "st,stm32-bootloader";
reg = <0x1FFF0000 DT_SIZE_K(29)>;
status = "reserved";
};

spi5: spi@40015000 {
compatible = "st,stm32-spi";
#address-cells = <1>;
Expand Down

0 comments on commit ea084fa

Please sign in to comment.