Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2424727iob; Fri, 6 May 2022 02:32:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwAyVG9H2vYiN0OTNisf6lpTPdSGQo7Bw+gUqlPRgJrjb6PfVewouaeGd04QvTh8GSOpahi X-Received: by 2002:a17:907:6eaa:b0:6f4:7e59:feae with SMTP id sh42-20020a1709076eaa00b006f47e59feaemr2095533ejc.99.1651829521505; Fri, 06 May 2022 02:32:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651829521; cv=none; d=google.com; s=arc-20160816; b=0ru2rAfZoiNdPYKfQX+aaO/F1VL89oJM9w+glomqISJFkjqHxfUPYX7BAkG9+61SoY KgxfRby1Q/81bULpQO95c264RULqZH+9DRlIUr2KH3Q1a8kjUcZXQ9eg+L8UfPq1e576 1u0BW1nfAiAD+ODuHI768pwAT0ctReIeTmYf4+LLlLLL6oFGZfCXNdv9RmZjHO0hPFyq foQV+HPM3wTTPg3ni0u9ChXs2uZQpsJkyB02GciB3pMsNEGxRMEPuRg5wI7YmqMdqCBQ pZvsZ8s5R7ygV0d3HbtoLLc/3UJbN1pevKZnUAJp74gtti2zU0SJpPZJPTX4tVKcX86K j1Ow== 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=HA9RiijxnGvbo2heaQ58sHsPp+zbINjN5AC5CEeiQOE=; b=AOt20ZGOVQk1yOeH4JRjxbpHqDh2Rras0JrjHPUB/qNgxlxGXSYfrvGfdkQtsuTUND MBAvnhosUaPj9jfF3lQuptwfvWude1j7DRsbCJ9UIvKkzmtDDymlkIKwJSGZ/ift+mgv sz3gRYx0vOPXvOD8FQecBVqZIT1QzwRaMQzByzb+hRbhleEXbhWMob8/db3FexRDfylM p0WIE+rtYT12sz4Sje+RsSM7erfi2AMxvrrfeUk71DxrugJ/Pit8P/SBJpp2D3WUQwcc xBtSjyp4o8wP89y4bMsFAq6Yj8hzJv6BFWUsgyKzaBpC8XQcScuXSqSZgywk5/Z9IO3m WtQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=k7cC7Wwr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 10-20020a170906310a00b006df76385dd3si4472951ejx.627.2022.05.06.02.31.37; Fri, 06 May 2022 02:32:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=k7cC7Wwr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1385314AbiEETt6 (ORCPT + 99 others); Thu, 5 May 2022 15:49:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1385303AbiEETty (ORCPT ); Thu, 5 May 2022 15:49:54 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 761D85D651; Thu, 5 May 2022 12:46:14 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: nfraprado) with ESMTPSA id A12161F45CCB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1651779973; bh=sGHBxK6V/fFriQYhcXCXjVn4Eixl4oBE2sqjXMTIte8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=k7cC7WwrvswPAet+3zghF6librIKngm73EtS/0lUq7zY8jL71ZyuHD7NlryCHwyde gwoiWydPnuyLsNMjtKVLEPYJXY0NtZfugYR3nclvxRlWYAJh4JJuU2Mi/CNrqhMv1r iSgphCOzAFzc60sb2fASVmuLUik60cQXHvGqzdVuXC4gSL6/7E4aMOb70c42r6YoKv Mt3QZcR4hMdQSl+Q1oO+RfKeQhgAIdJOhGW5K75kpZDyN7VJL1zlDxnDTkC2fqi6bW z3nfRtQmN1VYxUevVhcMZ1lmsGF9kVqUzaXE1usbg9TXtARvNVTnKtofX1BF0xauZi LysvqzuhmvD1Q== From: =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= To: Matthias Brugger Cc: AngeloGioacchino Del Regno , kernel@collabora.com, Chen-Yu Tsai , =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 03/16] arm64: dts: mediatek: Introduce MT8192-based Asurada board family Date: Thu, 5 May 2022 15:45:37 -0400 Message-Id: <20220505194550.3094656-4-nfraprado@collabora.com> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220505194550.3094656-1-nfraprado@collabora.com> References: <20220505194550.3094656-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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham 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 --- Changes in v2: - Changed model name prefix from Mediatek to Google on Hayato and Spherion dts 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 c7d4636a2cb7..4f2c258311d6 100644 --- a/arch/arm64/boot/dts/mediatek/Makefile +++ b/arch/arm64/boot/dts/mediatek/Makefile @@ -37,6 +37,8 @@ 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) += mt8195-demo.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-evb.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..00c76709a055 --- /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 = "Google 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..d384d584bbcf --- /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 = "Google 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.36.0