dts: arm: st: h7: fix stm32h7 separate cores
Currently, only the stm32h747 soc is supported in the h7 foler. The h7 series comes with both single core and dual core products. This change moves C-M4 core out of stm32h7.dtsi so that it can be included by single core STM32H7 soc description. Signed-off-by: Moonkwun Jung <mkainyh@gmail.com>
This commit is contained in:
parent
77743741e6
commit
a67ca8f202
3 changed files with 18 additions and 6 deletions
|
@ -27,11 +27,6 @@
|
||||||
arm,num-mpu-regions = <8>;
|
arm,num-mpu-regions = <8>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
cpu@1 {
|
|
||||||
device_type = "cpu";
|
|
||||||
compatible = "arm,cortex-m4f";
|
|
||||||
reg = <1>;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
soc {
|
soc {
|
||||||
|
|
|
@ -4,4 +4,4 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <st/h7/stm32h7.dtsi>
|
#include <st/h7/stm32h7_dualcore.dtsi>
|
||||||
|
|
17
dts/arm/st/h7/stm32h7_dualcore.dtsi
Normal file
17
dts/arm/st/h7/stm32h7_dualcore.dtsi
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2020 Moonkwun Jung
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <st/h7/stm32h7.dtsi>
|
||||||
|
|
||||||
|
/ {
|
||||||
|
cpus {
|
||||||
|
cpu@1 {
|
||||||
|
device_type = "cpu";
|
||||||
|
compatible = "arm,cortex-m4f";
|
||||||
|
reg = <1>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
Loading…
Add table
Add a link
Reference in a new issue