Commit bba0e028 authored by HaiLong Yang's avatar HaiLong Yang Committed by Carles Cufi
Browse files

dts: arm: gigadevice: support gd32f405xx soc



Add support for GD32F405xx series SOCs.

Signed-off-by: default avatarHaiLong Yang <cameledyang@pm.me>
parent 2ff0db2b
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2021, BrainCo Inc.
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#include <gigadevice/gd32f4xx/gd32f4xx.dtsi>

&cpu0 {
	clock-frequency = <168000000>;
};
+23 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2021 BrainCo Inc.
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#include <mem.h>
#include <gigadevice/gd32f4xx/gd32f405.dtsi>

/ {
	soc {
		flash-controller@40023c00 {
			flash0: flash@8000000 {
				reg = <0x08000000 DT_SIZE_K(1024)>;
			};
		};

		sram1: memory@2001c000 {
			compatible = "mmio-sram";
			reg = <0x2001c000 DT_SIZE_K(16)>;
		};
	};
};