ARM: dts: mstar: Add a dts for Miyoo Mini
authorDaniel Palmer <daniel@0x0f.com>
Mon, 13 Dec 2021 09:54:15 +0000 (18:54 +0900)
committerDaniel Palmer <daniel@0x0f.com>
Fri, 11 Feb 2022 14:00:24 +0000 (23:00 +0900)
Miyoo has released a portable retro games machine based
on the SigmaStar SSD202D. Add the initial device tree
for this machine. Just enough to get to an initramfs
shell.

Link: http://linux-chenxing.org/infinity2/miyoomini/
Signed-off-by: Daniel Palmer <daniel@0x0f.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/mstar-infinity2m-ssd202d-miyoo-mini.dts [new file with mode: 0644]

index 1069c4c..cf6f3f3 100644 (file)
@@ -1492,6 +1492,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \
 dtb-$(CONFIG_ARCH_MILBEAUT) += milbeaut-m10v-evb.dtb
 dtb-$(CONFIG_ARCH_MSTARV7) += \
        mstar-infinity-msc313-breadbee_crust.dtb \
+       mstar-infinity2m-ssd202d-miyoo-mini.dtb \
        mstar-infinity2m-ssd202d-wirelesstag-ido-sbc2d06-v1b-22w.dtb \
        mstar-infinity2m-ssd202d-ssd201htv2.dtb \
        mstar-infinity2m-ssd202d-unitv2.dtb \
diff --git a/arch/arm/boot/dts/mstar-infinity2m-ssd202d-miyoo-mini.dts b/arch/arm/boot/dts/mstar-infinity2m-ssd202d-miyoo-mini.dts
new file mode 100644 (file)
index 0000000..1bbbf47
--- /dev/null
@@ -0,0 +1,25 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * Copyright (c) 2021 thingy.jp.
+ * Author: Daniel Palmer <daniel@thingy.jp>
+ */
+
+/dts-v1/;
+#include "mstar-infinity2m-ssd202d.dtsi"
+
+/ {
+       model = "Miyoo Mini";
+       compatible = "miyoo,miyoo-mini", "mstar,infinity2m";
+
+       aliases {
+               serial0 = &pm_uart;
+       };
+
+       chosen {
+               stdout-path = "serial0:115200n8";
+       };
+};
+
+&pm_uart {
+       status = "okay";
+};