From patchwork Thu Jul 19 10:54:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10534187 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id F169D600F4 for ; Thu, 19 Jul 2018 11:13:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DCB332654B for ; Thu, 19 Jul 2018 11:13:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D07A8294C3; Thu, 19 Jul 2018 11:13:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8200229478 for ; Thu, 19 Jul 2018 11:13:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=SdvLtCARsH7LOm6+8J8CSradZO9H1OlWE8W8k2c0Xiw=; b=Ut+O7DERBVoUxR4Sa0K0M28rkV wiTMtQrzDJUrhDPpWNeTAOwZ3Lc7Z+RcVRd0yZTHW73Cp5mBj/xlUOOQ9QembTKhjsgJH2Crsk1dO FfftPojScJiZWB+Su2JXTbmVm1c8xBBH7c2fmgH6xy5tTe8tjToBwuz1bVtO+QS9Yoatr9K2DGFEM g7nsgADuW8iCzB7CY3MbGWPjRpQcRW8YfSqMilt5LaOP+0VWyQs4tMwp8WQ8IKoRCKnThbJQ57qO7 1JyOOuTmztdaJaLInM52qrsmf0Q69Ic7YN8SzVix7whT3Laun6KDs+51b+rScjkKUE00TNYOs/G+P 2XdBccoQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fg6s9-00025H-KL; Thu, 19 Jul 2018 11:13:25 +0000 Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fg6ag-0007z8-LY for linux-mediatek@lists.infradead.org; Thu, 19 Jul 2018 10:55:28 +0000 Received: by mail-pf0-x241.google.com with SMTP id i26-v6so3734080pfo.12 for ; Thu, 19 Jul 2018 03:55:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=zD+732wJGoyhaZG9GQ1m66dYgDFzqDgbF+9C92Le6nc=; b=HSoAhcdsQ/3mEwI0FYFs9T6p4Aai0YxHEX/PWWvX43Ax3vf+Gln9+rGdmsAyAq68Vm Q7LiDmpYn31GXzmCb+aH8O7eKzUFMFllUGVQJcwFpBSmnNgU8XyVeF4Rr7f/WdUhUxH6 jfEBv3pC+NpF0HuwgQwyheBcSmHCpcOKzNXCU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=zD+732wJGoyhaZG9GQ1m66dYgDFzqDgbF+9C92Le6nc=; b=DTMgsc50fkpymuDHpUPimjm8KF1dJ/zNg9RI5bWLpCzF65pIKL7P7Z3VjkePpkYo8g v/TZYp3F08wqAaLMzY0iAK93t5cH9cl8pxxWHBFgoW8rvG9i4lHBPUChDrn4xdNIZYDi MVAzasXxtqxnAi+o5irdnBqpQflqaVypWr9MMm8dE5xp23QM0U0LeQgLrXZ6fP4KTbvO YnBSN3w8/YrKfkBHShBq96x2No5uvAx7vseV9WWX2rrt+0mBR4/9UAqaQ7JqdwZdVZZf MMuyqwwv5SWscT6tcdJfv+oluOdSLD84w2bj+sagiuywSMdgSDpj61jeLXwF/dE2WFSI Y1Wg== X-Gm-Message-State: AOUpUlGxw2zdgWctVndHvztk2FhpCqZ9bNfvawym1kCvet8yi4WB+4nU P0I+RVc12ib9rdKJk/HoMSue X-Google-Smtp-Source: AAOMgpcUh6t2cgCdft8fhk5AXBPcv9iC5xvIsinpWtZfCiWHsD2qMNKOvxGRGU4UqxImduLmkfHuyg== X-Received: by 2002:a63:7b4d:: with SMTP id k13-v6mr9477266pgn.64.1531997712185; Thu, 19 Jul 2018 03:55:12 -0700 (PDT) Received: from localhost.localdomain ([103.59.133.81]) by smtp.googlemail.com with ESMTPSA id 85-v6sm3653262pgd.81.2018.07.19.03.55.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 19 Jul 2018 03:55:11 -0700 (PDT) From: Manivannan Sadhasivam To: matthias.bgg@gmail.com, robh+dt@kernel.org Subject: [PATCH v3 2/2] arm64: dts: Add Mediatek X20 Development Board support Date: Thu, 19 Jul 2018 16:24:50 +0530 Message-Id: <1531997690-6040-3-git-send-email-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1531997690-6040-1-git-send-email-manivannan.sadhasivam@linaro.org> References: <1531997690-6040-1-git-send-email-manivannan.sadhasivam@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180719_035523_114410_EADE1A2B X-CRM114-Status: GOOD ( 14.18 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, daniel.thompson@linaro.org, manivannanece23@gmail.com, taiten.peng@linaro.org, linux-kernel@vger.kernel.org, amit.kucheria@linaro.org, linux-mediatek@lists.infradead.org, Manivannan Sadhasivam , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add initial device tree support for Mediatek X20 Development Board based on MT6797 Deca core SoC. This board is one of the 96Boards Consumer Edition platform. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts | 33 +++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile index ac17f60..5b7fd6a 100644 --- a/arch/arm64/boot/dts/mediatek/Makefile +++ b/arch/arm64/boot/dts/mediatek/Makefile @@ -3,5 +3,6 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt2712-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt6755-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt6795-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt6797-evb.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt6797-x20-dev.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt7622-rfb1.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8173-evb.dtb diff --git a/arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts b/arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts new file mode 100644 index 0000000..742938a --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts @@ -0,0 +1,33 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for MediaTek X20 Development Board + * + * Copyright (C) 2018, Linaro Ltd. + * + */ + +/dts-v1/; + +#include "mt6797.dtsi" + +/ { + model = "Mediatek X20 Development Board"; + compatible = "archermind,mt6797-x20-dev", "mediatek,mt6797"; + + aliases { + serial0 = &uart1; + }; + + memory@40000000 { + device_type = "memory"; + reg = <0 0x40000000 0 0x80000000>; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&uart1 { + status = "okay"; +};