From patchwork Tue May 29 04:52:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10434343 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 19B98601E9 for ; Tue, 29 May 2018 04:54:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0926727FB7 for ; Tue, 29 May 2018 04:54:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F15ED285CE; Tue, 29 May 2018 04:54:24 +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 7BD6827FB7 for ; Tue, 29 May 2018 04:54:24 +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=n0dTKKwk31a4mMtTwI9Oh7fe72xneoOl+8lpQ2OxKGQ=; b=S3Pdr/reUFgYJQtCxabE2Eo2tM 3Bv64g81KZx1EH3W8uwpHK2SNS5wynaJgrUEjcmR/K+wtPG58ZdL24p+ijFb+Hsh1AOHGRRiGxO7H 0WaXz6lBCCjeeb+cXMJNu3Rfvm9hpyAiQDBci40VuIJlotLi/dT4UhffgkkXEMTJzB24XOTCr+142 O6rp4Nbto2hSOAlpYP5JG8je6G/24W4b4/cwW9kBDetG1dr9TwmCqvIRhlj70da07iVSiAatnwl9F c99ek99HktlyAc1xodbJl3yCu2bEbBFGofnzPue8BBvWPTWCA+SsFMfnaxOqHIrG3mU7bqTSruU1s LoeDmbyQ==; 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 1fNWeM-0001OO-Dn for patchwork-linux-mediatek@patchwork.kernel.org; Tue, 29 May 2018 04:54:22 +0000 Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fNWdi-0000xY-OL for linux-mediatek@lists.infradead.org; Tue, 29 May 2018 04:53:52 +0000 Received: by mail-pg0-x241.google.com with SMTP id p8-v6so6029929pgq.10 for ; Mon, 28 May 2018 21:53:32 -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=56/rkMk+3ZAYiH9RQR6dbZ3ArjEHaL1tjkug48ctX4o=; b=SGEw0xqh1/65HFm/ELEeMNh3++D636rroq6xEMoCUVcOCWkdOMhjQbv2IW+x2s4exe zC3VeN+JRZW7nGdH98NhNbDUcGOOBWhBUQBFJ5DHI2LsXFwj80jeCLRYdN4tpzgbz0T5 JKE75zoQD3KY6B8murGRe9bYjKpHqfMvZBtDo= 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=56/rkMk+3ZAYiH9RQR6dbZ3ArjEHaL1tjkug48ctX4o=; b=MzL6K9qAzu3JhKAAUs2JKgUABKRRzpJ3jRBHRyxxyvBdFVZgn7U7GdiMgnpNmZJWn0 dTH2oF/1/JWsfUuwkJm3ACkNdTx6v9agYayv7dBXiLKdRrOhr75suQkn3oRpGhO7gGEc fb7cIwUrzsa3+Ot3fodIV13XzAkS7UYtBZILikGPR1OcLt6U/u7luVnKmU/Ie54oP+hK mGTGlu6RxY0YGxMCvDvfpsnxY1pgx1+puBYaDC7ZagXAwaPl7FNJuuYPub5gnTr++34I 5z0yx4KSosZkBrWN8altZJchoQyj5J3CX40hNgS/wTxkdSD9VELW/dUwf7RK/sj3W8jA +ljA== X-Gm-Message-State: ALKqPwfn3MmL3TdUv2+Mx8m4FxYOQxq3d9hdiPKePjVCNgm19xEnKzqg cMyPNQW9Yn9TrRgKU2mmKUAk X-Google-Smtp-Source: AB8JxZpIepWJHGd8sgU8evg6t9L8i42AUzAUC5Ul0F4xS0ZkXX3TFvh5MT9jXBa4Aw5NN8Ok20bfYg== X-Received: by 2002:a62:7002:: with SMTP id l2-v6mr15990287pfc.40.1527569611354; Mon, 28 May 2018 21:53:31 -0700 (PDT) Received: from localhost.localdomain ([2405:204:700e:7557:299c:7352:24cf:ac93]) by smtp.gmail.com with ESMTPSA id m14-v6sm50407382pgs.72.2018.05.28.21.53.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 May 2018 21:53:30 -0700 (PDT) From: Manivannan Sadhasivam To: matthias.bgg@gmail.com, robh+dt@kernel.org Subject: [PATCH 2/2] arm64: dts: Add Mediatek X20 Development Board support Date: Tue, 29 May 2018 10:22:58 +0530 Message-Id: <20180529045258.1415-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180529045258.1415-1-manivannan.sadhasivam@linaro.org> References: <20180529045258.1415-1-manivannan.sadhasivam@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180528_215342_820535_0E28F717 X-CRM114-Status: GOOD ( 12.45 ) 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 + .../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 ac17f60f998c..5b7fd6ad96e4 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 000000000000..2c09ca95d9e2 --- /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 0x1e605000>; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&uart1 { + status = "okay"; +};