-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dts: arm: st: h7: add support for stm32h7b0
Add device tree support for STM32H7B0 line. Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
- Loading branch information
1 parent
5a2266e
commit 1b755d6
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* Copyright (c) 2023 Charles Dias <charlesdias.cd@outlook.com> | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#include <mem.h> | ||
#include <st/h7/stm32h7b3.dtsi> | ||
|
||
/* | ||
* STM32H7B0 line contains the same peripherals as STM32H7B3, | ||
* with FLASH memory size equal to 128KB. | ||
*/ | ||
/ { | ||
soc { | ||
compatible = "st,stm32h7b0", "st,stm32h7", "simple-bus"; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
* Copyright (c) 2023 Charles Dias <charlesdias.cd@outlook.com> | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#include <mem.h> | ||
#include <st/h7/stm32h7b0.dtsi> | ||
/ { | ||
soc { | ||
flash-controller@52002000 { | ||
flash0: flash@8000000 { | ||
reg = <0x08000000 DT_SIZE_K(128)>; | ||
}; | ||
}; | ||
}; | ||
}; |