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: 137118 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3593168lji; Mon, 28 May 2018 21:53:46 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJXanlrXNpXkHfEb7E709eV2F3qM+nsZasrmfcMbhWhQkgMsQ+zKYeVQkCP3Hb4/ZztlINn X-Received: by 2002:a62:a09c:: with SMTP id p28-v6mr10661255pfl.9.1527569626197; Mon, 28 May 2018 21:53:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527569626; cv=none; d=google.com; s=arc-20160816; b=dLLITkmfRnBxTDLMchyzQb/Zu7Xwoaqk5QelLeahK+ARj0tLZJwep1uUxv+SCbkPlx ObmInRiCR1lybYrgF+ZkjmdBOCFdtPVt9A1JaOyEXw7CBsyTVswcUl8ZkZaheslEWikz JVa2+1NELlTqdxxQzS0ZsbwKhIFY1JbviHM0MCtjIT3qObWeeb+Wgwr6qQ/SeHgjwoX/ LZss0AkKZs+3/zCiQkPnNdE9Qf6dXccol/PEa5AnuwdbkD5j3/ZiNx3/H2nJ8NJmkfP3 aj11od9Phu+NNzV7SyNiOXfN/AkP3+Z4zHWVwvgptXnvPwrcX3J+AGyqEnLLek4Llpfy /FsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=lRj3LkmhBUV+7K05nm1mI6o61dxXqOsFpxDSM8Bunc8=; b=zmvFRr5sRX7uW/BxgoI8IoZeNQZydV9es3HeMYyY+btx20c61Ndrq4RRAFBXg6VHTG JCHTMSkEvcPaknjosSTPjGONcBGSCZWQvH9W5pmlIj8eQQVhzv4MNuRXzjzgMYjQudzk G1AbOyZx7TBId/PkCSe5/8XYQA7dTukhD5StD5p5b5roxxRagty58R0JCHq7u6TOOD7Z +ESltUDvCPJri7Z7npvVhdi2/+3enNiPxtFHNckx240BsRPctOZj3Uq5GKLoO4SyfIIN CcJn+uLjDmgLOlpYrtFBeTbfdYNRVAI/5Ru4zQkDXLNYlJSlXwrv5uifuaeizi1QGCCf DDRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=SGEw0xqh; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g33-v6si32812437plb.297.2018.05.28.21.53.45; Mon, 28 May 2018 21:53:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=SGEw0xqh; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751714AbeE2Exo (ORCPT + 5 others); Tue, 29 May 2018 00:53:44 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:44397 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751668AbeE2Exc (ORCPT ); Tue, 29 May 2018 00:53:32 -0400 Received: by mail-pg0-f65.google.com with SMTP id p21-v6so6031891pgd.11 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=bwiL/wyUPdKOlWKKk0Ieh/47gMXazqjLVN8T+K9OcK7kqmLI+A7Q3gS5jnnCbQfmz0 XGHX5gs2pECdksvepsLgg7T2ouflTzwqErpHU+2sdK8j9TZib3c2bSpsnvJoOR1vITlf UujEADy4dSA+G+kSl54lRlQtqZhl2quBstrwE/SIvtZSwOGV9Wamjqhx/unhZABn4M/Q mLCVnZvG9T2k1Il7u3kbRDT3lO4cWJkAdxJdY2KQFuNcvodtigwJIuKqemAeOz+Q2zBi 01xbotuPDkqWQRNZShRdUYZttx560p8NzPdGo0GPnEPB9IMAF5dCHpAGK2Jl0pzE5AWc X79g== X-Gm-Message-State: ALKqPwfmZcZmygpE1SmE1d+0XDbpz+kkA3/LUDWg4+b+oX785dm2Cit9 nVgzxOOQCzp7BLhnSq2/3Q98 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 Cc: linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, taiten.peng@linaro.org, daniel.thompson@linaro.org, amit.kucheria@linaro.org, manivannanece23@gmail.com, Manivannan Sadhasivam 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> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 -- 2.17.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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"; +};