From patchwork Tue Jun 5 16:34:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10448605 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 153D460234 for ; Tue, 5 Jun 2018 16:37:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 03BCB29929 for ; Tue, 5 Jun 2018 16:37:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EC5452992C; Tue, 5 Jun 2018 16:37:06 +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 9BF2D29929 for ; Tue, 5 Jun 2018 16:37:06 +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=oR+YVDcgVsqeIZ0OuPKhI01qpo oZKkZflUL0dAWOevwyF1J29340KnIsi8e9MrVKSARreLgbdV5Cy2qXgn01RJhQ0cS+O6LzXFM13aX A2nmuViI0gD5XaamHs5udIesHsktjTQrc3q5++TOP1nHaz87OyS6MVBitm8V0jcH4LSIJPHpNt8Ls BOHYREbHxGRcqdAVRXP/EBlXcQQmGgX9/dkpMKl1KdEO5xr/K+kqlQHAwJDDclnf9HiuY80U1N6dH sK8QJz+fFw8AchitKbpcSEBkNs04iKiCLFOSnmbcQUxeZxH70tz1F1+acLd/H/Xe9OauKtEm0ozlq a6PhORcQ==; 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 1fQExC-0004xf-5u for patchwork-linux-mediatek@patchwork.kernel.org; Tue, 05 Jun 2018 16:37:02 +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 1fQEwB-0004Vo-7W for linux-mediatek@lists.infradead.org; Tue, 05 Jun 2018 16:36:23 +0000 Received: by mail-pg0-x241.google.com with SMTP id e11-v6so1488089pgq.0 for ; Tue, 05 Jun 2018 09:35:48 -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=k4bGH86duiJM2eB6mtS44L5sOSF41/3LOqtjfkruhqVbIsVIpBQvGY7z266Om+FGfi TcFlDNegayrhSjkxBii6OVza9Wow8LewNbx+D8Rx4U25wojJsZwpj7tQ1OMrF7h/y3lp sE/p8fmT/u00+a6DN65Pp5LZ26nLSVUic3hTk= 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=rHMX48vE1XI4ba2wbwdTN7DyOMHGSUSmzfbtrPBUF0GkDrzVvamjuNEYgps6CK0UiB d2AVTIQNM2V2CR5QWPUjfn5JbOzdHL7fGX2JUG9CKsb508J/DBYUvVeglnGg4RL4HSyZ guvH6pRhJYflKSbDAb/J6eLXSX20bEvL4dDqKj6mAg+c6IRWWfWrrZfDlFbQbqJR1Pnf pm71Lwj3z7TXtPd9X+0wfRxIomh8rq2HTrq5RywqLa79XZHjrjBIlap1crMto2dFeV+U fKAa+tncp2jyWmBIprG4m9NH0d6rzWQUCXDw9IItBVSJJ2+7aDiv6bRBhi6LZTIgYsjh t/aQ== X-Gm-Message-State: APt69E0ZO6XD5PoMzKWf/BKIhZNYuX1336IB8GcMr60Ng9bXtQFppdvV frEqoBvT5Io5tgzVvH78aO6s X-Google-Smtp-Source: ADUXVKKNH6+WV8RoaMl3hODMpZrkfc6nAFUGn89XtmiHp8pDi3Qeg0d2ebSnym+1itNL2JIyweL/8g== X-Received: by 2002:a65:578c:: with SMTP id b12-v6mr1294143pgr.315.1528216548310; Tue, 05 Jun 2018 09:35:48 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:10e:33c6:6506:5cf2:fe93:b69]) by smtp.gmail.com with ESMTPSA id h130-v6sm131728340pfc.98.2018.06.05.09.35.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Jun 2018 09:35:47 -0700 (PDT) From: Manivannan Sadhasivam To: matthias.bgg@gmail.com, robh+dt@kernel.org Subject: [PATCH v2 2/2] arm64: dts: Add Mediatek X20 Development Board support Date: Tue, 5 Jun 2018 22:04:42 +0530 Message-Id: <20180605163442.4812-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180605163442.4812-1-manivannan.sadhasivam@linaro.org> References: <20180605163442.4812-1-manivannan.sadhasivam@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180605_093559_291390_D33EF758 X-CRM114-Status: GOOD ( 11.84 ) 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"; +};