Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp949760pxp; Wed, 16 Mar 2022 22:21:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7m3ldjpsqChELSKTIN/arGSjR7GQuFxX4MfdzfEpL8lkt7vb7kVJEEAO15uYYRFBpeUOf X-Received: by 2002:a17:903:22c8:b0:153:bfe0:f8de with SMTP id y8-20020a17090322c800b00153bfe0f8demr3121465plg.46.1647494486717; Wed, 16 Mar 2022 22:21:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647494486; cv=none; d=google.com; s=arc-20160816; b=BsNs7gwDC6ZiebMGgMr6EM2znlejExiIFgcPJyXebJ9LFV/hQmEiBkLxbF5Uw9cNIn XWykXLWZIlSBjNmPKPJI1kPhGEzeBNgu9rK5ilEfGFZdLHEY5yLO1RztBN0y5b1BV1HX xEhkibs5SNVyOZ88fjpeQecOXbTbMiFVmk85EaUc8oqTDehXmtZ9ZbSp0n9ia5JckMry OpY8B6n0TSxB9pqIvlX34qnqS0mU9lZo9tdsFt0w8rRAksSJis38337YlGwjtPIJHMju eM0MHIIxnkj7CTPr8RwcP1EAkGLoyp22U4ds3mCJP0rEXZdxuYVq4UBpx0mHNKRMHnNZ qIjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wlFAMh6SL+k5mn/gCuGtAIEHmIJS4i1o0Z2kjBBBZlg=; b=NHXQpfhSJ2Ifq91uCE/X/ruxtzV0dd6/dN2mq60O3vYxyHLDPjcVg3VzwosHStoNVJ KUqw8jsaFZGZSAWGP3nYy0BUp7buFc0JbQ8/Qu94R+TsfY9UlvIeE16uN69BYCBKmjuq NJ9tuqliIGG4HGzfca1AeT7wNr0QBcRVDZ3hxWE/L+agW8x5eGcvI4sdHU0M55PIi7Fv aPyfiTnJcuf11gCMs/OkNnwTBkEoQOM/xthHUAea1Nrr9fEV6VjmcASElE1rgWxX4078 P6on/2qgJAneZDo4TPEmy1rGOTf3LfOOKMWqY2ctHpwKm7IgRdSh6yv0wLRapzI7KhkP WKGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=KmJJGQDg; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id m4-20020a633f04000000b003816043eeadsi112106pga.162.2022.03.16.22.21.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 22:21:26 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=KmJJGQDg; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 958E520D514; Wed, 16 Mar 2022 21:27:24 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357171AbiCPPPS (ORCPT + 99 others); Wed, 16 Mar 2022 11:15:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357125AbiCPPOt (ORCPT ); Wed, 16 Mar 2022 11:14:49 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65751403FA; Wed, 16 Mar 2022 08:13:34 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: nfraprado) with ESMTPSA id 2445C1F44671 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1647443613; bh=VWVdyhf+kOwqwxWog/5n8WYiI9hoA0DQJolpHjf/k6A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KmJJGQDgz8NfiPUmBh5lnKP2WxK8Xyx1GwbYIoCQx1XE/AQbHUsygFjoDMh8HJcJX VHO84PlMXXMG7KJLaBoTpRDCKbzoVd5GLX25qqPvgwQUP/vc+vvweQToeHfqQgalJZ QwWtMSyB/YuWGIha3161V0JVVZRStw/cW3tTq+6J12z7XFTR1otcxhrZXZXcP60p2I AykDLBVcD9hTxEKL4mZGJ53xqsCvVz3vMC8wPcUTXIP6k7AJd4aKFmTUHrmqiPegrR qBgVfOD8c5f23jSSmBJD0u/a9dyyJ5JExkuVgakgOPwu2DjBaRI1Hk2uayHPA1Ov8x d0qH0ZLrR6OSQ== From: =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= To: Matthias Brugger Cc: AngeloGioacchino Del Regno , kernel@collabora.com, =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v1 01/10] arm64: dts: mediatek: Introduce MT8192-based Asurada board family Date: Wed, 16 Mar 2022 11:13:18 -0400 Message-Id: <20220316151327.564214-2-nfraprado@collabora.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220316151327.564214-1-nfraprado@collabora.com> References: <20220316151327.564214-1-nfraprado@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Introduce the MT8192 Asurada Chromebook platform, including the Asurada Spherion and Asurada Hayato boards. This is enough configuration to get serial output working on Spherion and Hayato. Signed-off-by: NĂ­colas F. R. A. Prado Reviewed-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/Makefile | 2 ++ .../dts/mediatek/mt8192-asurada-hayato-r1.dts | 11 ++++++++ .../mediatek/mt8192-asurada-spherion-r0.dts | 13 ++++++++++ .../boot/dts/mediatek/mt8192-asurada.dtsi | 26 +++++++++++++++++++ 4 files changed, 52 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8192-asurada-hayato-r1.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8192-asurada-spherion-r0.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile index 8c1e18032f9f..034cba17276b 100644 --- a/arch/arm64/boot/dts/mediatek/Makefile +++ b/arch/arm64/boot/dts/mediatek/Makefile @@ -37,5 +37,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-kodama-sku32.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-krane-sku0.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-krane-sku176.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-pumpkin.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-asurada-hayato-r1.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-asurada-spherion-r0.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8516-pumpkin.dtb diff --git a/arch/arm64/boot/dts/mediatek/mt8192-asurada-hayato-r1.dts b/arch/arm64/boot/dts/mediatek/mt8192-asurada-hayato-r1.dts new file mode 100644 index 000000000000..e18e14b13d61 --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8192-asurada-hayato-r1.dts @@ -0,0 +1,11 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2020 Google LLC + */ +/dts-v1/; +#include "mt8192-asurada.dtsi" + +/ { + model = "MediaTek Hayato rev1"; + compatible = "google,hayato-rev1", "google,hayato", "mediatek,mt8192"; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt8192-asurada-spherion-r0.dts b/arch/arm64/boot/dts/mediatek/mt8192-asurada-spherion-r0.dts new file mode 100644 index 000000000000..b5372ce6bd95 --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8192-asurada-spherion-r0.dts @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + */ +/dts-v1/; +#include "mt8192-asurada.dtsi" + +/ { + model = "MediaTek Spherion (rev0 - 3)"; + compatible = "google,spherion-rev3", "google,spherion-rev2", + "google,spherion-rev1", "google,spherion-rev0", + "google,spherion", "mediatek,mt8192"; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi b/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi new file mode 100644 index 000000000000..277bd38943fe --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi @@ -0,0 +1,26 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (C) 2020 MediaTek Inc. + * Author: Seiya Wang + */ +/dts-v1/; +#include "mt8192.dtsi" + +/ { + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@40000000 { + device_type = "memory"; + reg = <0 0x40000000 0 0x80000000>; + }; +}; + +&uart0 { + status = "okay"; +}; -- 2.35.1