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:
parent
1561b1046f
commit
50afc5a3a0
11
dts/arm/gigadevice/gd32f4xx/gd32f470.dtsi
Normal file
11
dts/arm/gigadevice/gd32f4xx/gd32f470.dtsi
Normal file
|
@ -0,0 +1,11 @@
|
|||
/*
|
||||
* Copyright (c) 2022, Rtone.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <gigadevice/gd32f4xx/gd32f450.dtsi>
|
||||
|
||||
&cpu0 {
|
||||
clock-frequency = <240000000>;
|
||||
};
|
18
dts/arm/gigadevice/gd32f4xx/gd32f470ik.dtsi
Normal file
18
dts/arm/gigadevice/gd32f4xx/gd32f470ik.dtsi
Normal 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)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
Loading…
Reference in a new issue