Skip to content

Commit d60d57a

Browse files
cyyselfdlan17
authored andcommitted
riscv: dts: spacemit: add Banana Pi BPI-F3 board device tree
Banana Pi BPI-F3 [1] is a industrial grade RISC-V development board, it design with SpacemiT K1 8 core RISC-V chip [2]. Currently only support booting into console with only uart enabled, other features will be added soon later. Link: https://docs.banana-pi.org/en/BPI-F3/BananaPi_BPI-F3 [1] Link: https://www.spacemit.com/en/spacemit-key-stone-2/ [2] Signed-off-by: Yangyu Chen <[email protected]> Acked-by: Jesse Taube <[email protected]> Acked-by: Palmer Dabbelt <[email protected]> Signed-off-by: Yixun Lan <[email protected]>
1 parent d8fe646 commit d60d57a

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

arch/riscv/boot/dts/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ subdir-y += microchip
55
subdir-y += renesas
66
subdir-y += sifive
77
subdir-y += sophgo
8+
subdir-y += spacemit
89
subdir-y += starfive
910
subdir-y += thead
1011

arch/riscv/boot/dts/spacemit/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
dtb-$(CONFIG_ARCH_SPACEMIT) += k1-bananapi-f3.dtb
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// SPDX-License-Identifier: GPL-2.0 OR MIT
2+
/*
3+
* Copyright (C) 2024 Yangyu Chen <[email protected]>
4+
*/
5+
6+
#include "k1.dtsi"
7+
8+
/ {
9+
model = "Banana Pi BPI-F3";
10+
compatible = "bananapi,bpi-f3", "spacemit,k1";
11+
12+
chosen {
13+
stdout-path = "serial0";
14+
};
15+
};
16+
17+
&uart0 {
18+
status = "okay";
19+
};

0 commit comments

Comments
 (0)