dts: arm: gd32f4xx: Add support for gd32f470ik

Add initial support for gd32f470ik device and gd32f470 serie.

Signed-off-by: Alexandre Duchesne <alexandre.duchesne@rtone.fr>
This commit is contained in:
Alexandre Duchesne 2022-07-04 09:51:52 +02:00 committed by Carles Cufí
parent 1561b1046f
commit 50afc5a3a0
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,11 @@
/*
* Copyright (c) 2022, Rtone.
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <gigadevice/gd32f4xx/gd32f450.dtsi>
&cpu0 {
clock-frequency = <240000000>;
};

View file

@ -0,0 +1,18 @@
/*
* Copyright (c) 2022, Rtone.
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <mem.h>
#include <gigadevice/gd32f4xx/gd32f470.dtsi>
/ {
soc {
flash-controller@40023c00 {
flash0: flash@8000000 {
reg = <0x08000000 DT_SIZE_K(3072)>;
};
};
};
};