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:
Moonkwun Jung 2020-01-17 15:41:39 +09:00 committed by Ioannis Glaropoulos
commit a67ca8f202
3 changed files with 18 additions and 6 deletions

View file

@ -27,11 +27,6 @@
arm,num-mpu-regions = <8>;
};
};
cpu@1 {
device_type = "cpu";
compatible = "arm,cortex-m4f";
reg = <1>;
};
};
soc {

View file

@ -4,4 +4,4 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <st/h7/stm32h7.dtsi>
#include <st/h7/stm32h7_dualcore.dtsi>

View 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>;
};
};
};