From patchwork Thu Dec 16 10:52:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Palmer X-Patchwork-Id: 12696442 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1703CC433EF for ; Thu, 16 Dec 2021 10:55:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=UdFcAAS3C4fuzQ95hQ8gwDwMoNiVDE4Hnup2ToHty88=; b=w/jP91hDI1Pd3P lajPL7TPpdBiqaTx8h3S6doR++AHVly2vKm+PyfiR3GweCUCQ3wzfgiiOW7OOL6EjGUKvhyhl0YaL NNsdDsoSQPncioGVW3bU9oZl8ILi7XWXtDW4+G1JAnmxswSyMMERwOOdpNF2U7YFuoyU33HWHD9ph JjbS/o2DF0c1k5g2HlseHIXxuiCb0CC52O0Kq+xDNwDuI7WeblaVcsEctnqo6EANMflbGloi8hzyn nzBFc94+IGCNmAxA+7kSVJCEYHsllKH1IptibqWx01MollqNuFW0o/5dnfwE1jfIK+pEibIEisMJB ITvXEOWbDqKYtPfbDgPA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxoOI-004x4b-Kb; Thu, 16 Dec 2021 10:53:38 +0000 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxoNf-004wpg-NN for linux-arm-kernel@lists.infradead.org; Thu, 16 Dec 2021 10:53:01 +0000 Received: by mail-pj1-x102f.google.com with SMTP id v16so7000543pjn.1 for ; Thu, 16 Dec 2021 02:52:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xJNVCG0knDeDsaJRBAsMdg1APPcQKKogOd6G1MVemXg=; b=Q2gICRMzjrR/Us93SmT0ldWcKbKZAQli6cfoem2qOu1zbCNWmZ1znMaFW5AWlhCca4 5Ju3ROmEGuaXfTwBCYPzRsSPBOSLzsOd7XEv27KF4yXYiHLCTu2PuZ+D7efKLDh5xC+/ +eIgsItC8hPANGjd7moiz3HHsUrAU5ciW4t94= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xJNVCG0knDeDsaJRBAsMdg1APPcQKKogOd6G1MVemXg=; b=7UUCJpOvDTDlxECY2qgXHnjWe51WLjBbtcmC622Q5F8fkYuTLCj5sPe4iAA0yvwaaJ 5xtvmPFh8lKEGzNoLU7SSFgw33jH3saSRkzCy6vdNbeVRN6VadVDvLleSaSJFgufOWXy MglYBjGjZlh0oYRXOsWT8uIuLS2djubPk5BI5HuI0wYSVpbiqHmwD+clNNhZim0z0PNB YCemUS0dsra0NsKNJOr1KL6kXx/Sk4gBGA7vOS0k+dbqw4w3tEpR2D25BzLfpga7TFYT fA0FVqKgGIfLaEEeVgfPbya4Fc8QbZMaOQe+B9BCsEdA9ALec+Wjdo6HyMg9p1vjwisS 5Tiw== X-Gm-Message-State: AOAM531itQiF4vJHp3kajRMBSXGxR3XSXmOVFOVJ2WsZJQA3kLedyUyQ 3rTSScgqpgiOupNwvk03rBnlfQ== X-Google-Smtp-Source: ABdhPJz47U/nyiwJjen0eI2Oqt/pHJMHdUfmpdoUgShXoEM5bEEGwmMbZRe4lxtrKJqaHYrjKPCv0A== X-Received: by 2002:a17:90a:7b8b:: with SMTP id z11mr1340920pjc.210.1639651978948; Thu, 16 Dec 2021 02:52:58 -0800 (PST) Received: from shiro.work (p864106-ipngn200510sizuokaden.shizuoka.ocn.ne.jp. [180.9.58.106]) by smtp.googlemail.com with ESMTPSA id w19sm4986142pjh.10.2021.12.16.02.52.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 02:52:58 -0800 (PST) From: Daniel Palmer To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, robh+dt@kernel.org Cc: linux-kernel@vger.kernel.org, romain.perier@gmail.com, Daniel Palmer Subject: [PATCH v2 3/3] ARM: dts: mstar: Add a dts for Miyoo Mini Date: Thu, 16 Dec 2021 19:52:46 +0900 Message-Id: <20211216105246.3548133-4-daniel@0x0f.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211216105246.3548133-1-daniel@0x0f.com> References: <20211216105246.3548133-1-daniel@0x0f.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211216_025259_791581_090B97BB X-CRM114-Status: GOOD ( 15.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. Signed-off-by: Daniel Palmer Link: http://linux-chenxing.org/infinity2/miyoomini/ --- arch/arm/boot/dts/Makefile | 1 + .../mstar-infinity2m-ssd202d-miyoo-mini.dts | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 arch/arm/boot/dts/mstar-infinity2m-ssd202d-miyoo-mini.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 0de64f237cd8..b270a4d8e0d6 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1468,6 +1468,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-ssd201htv2.dtb \ mstar-infinity2m-ssd202d-unitv2.dtb \ mstar-infinity3-msc313e-breadbee.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 index 000000000000..1bbbf47132dc --- /dev/null +++ b/arch/arm/boot/dts/mstar-infinity2m-ssd202d-miyoo-mini.dts @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2021 thingy.jp. + * Author: Daniel Palmer + */ + +/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"; +};