summaryrefslogtreecommitdiff
path: root/arch/riscv/boot/dts/canaan/k210.dts
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2020-12-13 16:50:38 +0300
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-01-15 02:08:46 +0300
commit08734e0581a54df77f1af354b93b02ac581e4fbb (patch)
tree844a6623d2e3bb7921ebdce62c30b010bbf147dc /arch/riscv/boot/dts/canaan/k210.dts
parentd5805af9fe9ffe4a9d975e9bc39496f57a161076 (diff)
downloadlinux-08734e0581a54df77f1af354b93b02ac581e4fbb.tar.xz
riscv: Use vendor name for K210 SoC support
Rename configuration options and directories related to the Kendryte K210 SoC to use the SoC vendor name (canaan) instead of the "kendryte" branding name. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Reviewed-by: Anup Patel <anup@brainfault.org> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/boot/dts/canaan/k210.dts')
-rw-r--r--arch/riscv/boot/dts/canaan/k210.dts23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/canaan/k210.dts b/arch/riscv/boot/dts/canaan/k210.dts
new file mode 100644
index 000000000000..0d1f28fce6b2
--- /dev/null
+++ b/arch/riscv/boot/dts/canaan/k210.dts
@@ -0,0 +1,23 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2020 Western Digital Corporation or its affiliates.
+ */
+
+/dts-v1/;
+
+#include "k210.dtsi"
+
+/ {
+ model = "Kendryte K210 generic";
+ compatible = "kendryte,k210";
+
+ chosen {
+ bootargs = "earlycon console=ttySIF0";
+ stdout-path = "serial0";
+ };
+};
+
+&uarths0 {
+ status = "okay";
+};
+