Skip to content

Commit 3bba4e2

Browse files
arm64: dts: bitmain: Add Sophon Egde board support
Add devicetree support for Sophon Edge board from Bitmain based on BM1880 SoC. This board is one of the 96Boards Consumer and AI platform. More information about this board can be found in 96Boards product page: https://www.96boards.org/documentation/consumer/sophon-edge/ Only UART peripheral support is enabled for now. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
1 parent c8ec374 commit 3bba4e2

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed

arch/arm64/boot/dts/bitmain/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# SPDX-License-Identifier: GPL-2.0+
2+
3+
dtb-$(CONFIG_ARCH_BITMAIN) += bm1880-sophon-edge.dtb
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
/*
3+
* Copyright (c) 2019 Linaro Ltd.
4+
* Author: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
5+
*/
6+
7+
/dts-v1/;
8+
9+
#include "bm1880.dtsi"
10+
11+
/ {
12+
compatible = "bitmain,sophon-edge", "bitmain,bm1880";
13+
model = "Sophon Edge";
14+
15+
aliases {
16+
serial0 = &uart0;
17+
serial1 = &uart2;
18+
serial2 = &uart1;
19+
};
20+
21+
chosen {
22+
stdout-path = "serial0:115200n8";
23+
};
24+
25+
memory@0 {
26+
device_type = "memory";
27+
reg = <0x1 0x00000000 0x0 0x40000000>; // 1GB
28+
};
29+
30+
uart_clk: uart-clk {
31+
compatible = "fixed-clock";
32+
clock-frequency = <500000000>;
33+
#clock-cells = <0>;
34+
};
35+
};
36+
37+
&uart0 {
38+
status = "okay";
39+
clocks = <&uart_clk>;
40+
};
41+
42+
&uart1 {
43+
status = "okay";
44+
clocks = <&uart_clk>;
45+
};
46+
47+
&uart2 {
48+
status = "okay";
49+
clocks = <&uart_clk>;
50+
};

0 commit comments

Comments
 (0)