arm64: dts: realtek: rtd1395: Add Realtek Lion Skin EVB
authorAndreas Färber <afaerber@suse.de>
Tue, 26 Nov 2019 03:21:53 +0000 (04:21 +0100)
committerAndreas Färber <afaerber@suse.de>
Sun, 12 Apr 2020 21:24:49 +0000 (23:24 +0200)
Add a Device Tree for Realtek RTD1395 SoC Lion Skin evaluation board.

Signed-off-by: Andreas Färber <afaerber@suse.de>
arch/arm64/boot/dts/realtek/Makefile
arch/arm64/boot/dts/realtek/rtd1395-lionskin.dts [new file with mode: 0644]

index edc85ee8c4bf897d67025ea98b286ec282af48d6..55690b14b98a94d94afa6021cb42e9ade8f8e6e6 100644 (file)
@@ -9,3 +9,4 @@ dtb-$(CONFIG_ARCH_REALTEK) += rtd1295-zidoo-x9s.dtb
 dtb-$(CONFIG_ARCH_REALTEK) += rtd1296-ds418.dtb
 
 dtb-$(CONFIG_ARCH_REALTEK) += rtd1395-bpi-m4.dtb
+dtb-$(CONFIG_ARCH_REALTEK) += rtd1395-lionskin.dtb
diff --git a/arch/arm64/boot/dts/realtek/rtd1395-lionskin.dts b/arch/arm64/boot/dts/realtek/rtd1395-lionskin.dts
new file mode 100644 (file)
index 0000000..83f9b53
--- /dev/null
@@ -0,0 +1,36 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
+/*
+ * Copyright (c) 2019 Andreas Färber
+ */
+
+/dts-v1/;
+
+#include "rtd1395.dtsi"
+
+/ {
+       compatible = "realtek,lion-skin", "realtek,rtd1395";
+       model = "Realtek Lion Skin EVB";
+
+       memory@2f000 {
+               device_type = "memory";
+               reg = <0x2f000 0x3ffd1000>; /* boot ROM to 1 GiB or 2 GiB */
+       };
+
+       aliases {
+               serial0 = &uart0;
+       };
+
+       chosen {
+               stdout-path = "serial0:115200n8";
+       };
+};
+
+/* debug console (J1) */
+&uart0 {
+       status = "okay";
+};
+
+/* M.2 slot (CON1) */
+&uart1 {
+       status = "disabled";
+};