From patchwork Mon Dec 13 10:01:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Palmer X-Patchwork-Id: 12695879 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 A7119C433FE for ; Mon, 13 Dec 2021 10:26:10 +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=z86ducdg4uOeH+ cu5SLxpPqb4xgsFO7KKmLUfR+X3H75mpfkN3uT9oOS9wbKHC3JUNaTFuiGmawRNLywwkXBXTagCZD ghPIp6cPmKiA2gHih6Uw75vEMBbJ+zhMaXRMlBrGTxkHaNSvmmXD/s7uI0YE10z4mB+JZA3NsUYf6 yFYZIU2B6bXYQvkLDVzpB3gOijVbrmqCf9APwdu0D1LMjUQpT4bpeNwDW+0WC/sxURzghEl9ohBqC xpbxh5sAHmn0zrHzmQgeW7cDjMWZz2fPxt9wKcqcU/G6oWm0p6POj3UXa4TX0NTw/3sx7sj2ooFR8 UWg2j9VN6dL9sd1Rc7Qg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwiVC-008zFw-H4; Mon, 13 Dec 2021 10:24:15 +0000 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwi9H-008pti-0W for linux-arm-kernel@lists.infradead.org; Mon, 13 Dec 2021 10:01:37 +0000 Received: by mail-pj1-x1033.google.com with SMTP id gt5so11509942pjb.1 for ; Mon, 13 Dec 2021 02:01:34 -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=DPcRvru3qJqvicpeOQ+vQB3I3IO5BXqCTF2H3ZKojA9g8ns45pUKT5oEYLKezSz9yZ aSPAfYrKzi9M4CaT69Pf6aL2s3/Bk7ZJyhXBEF/c4bAGYRKxghqgcaSmXzB7357fY8UZ uJG/1K3uHPZiVj7AqxEyo6estqXj/5d/uujqA= 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=xBpLmjvTQjcgDF48Qsz33sjN1o++oiPRfgdbzFLz7YI/p30VPJuZ7HT8FaISwIBUk8 q2Q1PDeSBgNomMvTc60ATUFCsuG7gj9NBiUrMQRjLIS8dFqDVPQ2F7vPxZMia0/SVc5N PxXC6wHRsT8R2bnco2J8faQa9Scgh4l5gQ7kTIektn71+QFD9EAntEC1KhCye95blgEi hVTjyByDIKK1nkkEZtuJI/eIw/MpUywk1Pp9QgXL7TGchhr/rvWquO8bmb03fJ0U0W2A kMu9CBQEelc1bDxqh6UAUdPephSamMaPihXsHAyRvcyaY3YZ/4h3CNLN/btxAvzHMrvQ l/PA== X-Gm-Message-State: AOAM531QGDOuEsXn+Fkh69BdQOZIsRp0du7L52vXkGkql0I9AH+Cp3Tz HguF7YUrGLL5BdR96i4p3vzTAN0rZ55mIg== X-Google-Smtp-Source: ABdhPJwwL/u3IPZJ00nFwwzVlwweo7HKtRHuaYR9nNRNYZ9QrFT8p+HpS+Yn/TJOApIRQiOzrP/OFA== X-Received: by 2002:a17:902:9694:b0:143:6f27:29ad with SMTP id n20-20020a170902969400b001436f2729admr95912342plp.46.1639389693777; Mon, 13 Dec 2021 02:01:33 -0800 (PST) Received: from shiro.work (p864106-ipngn200510sizuokaden.shizuoka.ocn.ne.jp. [180.9.58.106]) by smtp.googlemail.com with ESMTPSA id d185sm9953767pgc.58.2021.12.13.02.01.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Dec 2021 02:01:33 -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 3/3] ARM: dts: mstar: Add a dts for Miyoo Mini Date: Mon, 13 Dec 2021 19:01:12 +0900 Message-Id: <20211213100112.1791192-4-daniel@0x0f.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211213100112.1791192-1-daniel@0x0f.com> References: <20211213100112.1791192-1-daniel@0x0f.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211213_020135_087569_3D82CA70 X-CRM114-Status: GOOD ( 15.25 ) 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"; +};