From patchwork Thu Jul 19 10:54:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 142337 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1586268ljj; Thu, 19 Jul 2018 03:55:12 -0700 (PDT) X-Google-Smtp-Source: AAOMgpca0EpJheYVN2TzmxwN43peOXgDEagqIB+E4tEgLOUNHGEZMEWRDO3zjLDarHrlAbdnnX/j X-Received: by 2002:a63:f:: with SMTP id 15-v6mr9589492pga.430.1531997712468; Thu, 19 Jul 2018 03:55:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531997712; cv=none; d=google.com; s=arc-20160816; b=LPP33Vko8ykmcpwHDi4ODB48L4nYFh2c/4sokrV+rJm4jmbKvzZmtZDQNgK6IRB3tl pxfzXi6pkZIU/txBOpyLt2PYNG37LNudEStxBfQVqG9YWh5D5aEysQe8b+1peNdcU7kL qFi4Cyflc1for+4wAdgqdKdG08+ApsRm9OPmIzlLYI+3sd8RpoACj2ipJ+P8cyPtGw07 HTbqKV2SDVrke8tDF5ctwBNIE8XEenKRSkhdGIRd59gCDmMq5p9AaJ0D9yk2mD7C0GUV o3QgCOWUHTa55fsSg/7GmlePba5OzOLyAhrJopyUDz1nodehvjE0B1SvHZrpHWV/X2T0 PCmA== 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=FpNQDKwAonjqvoukl3WObBvX3Y5bPh4aNQFopg9JSV0=; b=Al+I+qQ7TKDo0RxtrDeYgna/L+T3dN8TehxFX7ppoSmVM5MVV5qMpX0wlBNsTgYUCv IEM0LgvtEG9kwqCRFMHCIHcPIb1AnBF//5hjvqXheSjp/2i73k6Yk0PUokiI1qrvsARv eKv6b9FMse9d4MmDPMh0Mx46m/G0kN5/7l17EeHjlAiRqRxB9UtH9Esz0nt9COdy6PJW zm7R8UYT/rN1M9Ckj5vbm/I0ARQigp8twK1wqAfTHvEYtFTSgO7tkCmvAXxYdmsmKdMN 2oB55N5OZvmwFLeIscSpL/XAEBWsf+/AxrjFvv/sk+WSniGHLrGtNAMw+e9yALRLYhPr 5ing== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GbXaSmAZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (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 p77-v6si5812803pfj.294.2018.07.19.03.55.12; Thu, 19 Jul 2018 03:55:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GbXaSmAZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731443AbeGSLhp (ORCPT + 31 others); Thu, 19 Jul 2018 07:37:45 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:40189 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730954AbeGSLho (ORCPT ); Thu, 19 Jul 2018 07:37:44 -0400 Received: by mail-pg1-f194.google.com with SMTP id x5-v6so3470919pgp.7 for ; Thu, 19 Jul 2018 03:55:09 -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=FpNQDKwAonjqvoukl3WObBvX3Y5bPh4aNQFopg9JSV0=; b=GbXaSmAZTskrPhtm4SOAMJ8qyjHWmjXf+qsO2ntxH9sKNQ40vVYlePvjPvysNGKU4N RzLAgoKbTXn4vbNucNmCsKFUEt9208TWHuETI2SRtkSmCkpc7yqOKvGv4NzK5K4YqULg o7uE2glTeicUqqHRz7WsWl4DTw4lmUw2G3VFA= 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=FpNQDKwAonjqvoukl3WObBvX3Y5bPh4aNQFopg9JSV0=; b=SonIp1eUuqTxrhh1trC5fXYSZBeO/s/SGVjAs3EM1kv4fv0z/wj677rRqKIsb+kdgM NHkbc8q+byFGCMhfz3pOUcnhU0nzUo7tRCYd2Ok6A2D3qySmubJAdXyE+UH2+1ox8/yr inou7Lr0nZd6McJHrfPkKtgo9Mb58llcLYJv+akqNI2CwZojudYowsuMvSpTvY+GSzMF 2bEdCPiRU99G+XluBVbFTWCJ1CSJoECtPBwQbUt1WJVMiTyN6S0HifWlkSu5r19YwP22 +fnQeq2aAuMSs9dT06DBh05CAaJY8msNqNR8G3cr7iovWvioUeweawldEHqu2yjlhhn5 iX/Q== X-Gm-Message-State: AOUpUlE3jc88yILTLw0sC4kkpIm7RkXcMhz+2ByMoX+Co7iAqb8j0cnK 2Cyud1G3aSfLRSEp1EVlHJAW X-Received: by 2002:a65:5286:: with SMTP id y6-v6mr9512175pgp.65.1531997708730; Thu, 19 Jul 2018 03:55:08 -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.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 19 Jul 2018 03:55:08 -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 v3 1/2] dt-bindings: arm: mediatek: Document Mediatek X20 Development Board Date: Thu, 19 Jul 2018 16:24:49 +0530 Message-Id: <1531997690-6040-2-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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document Mediatek X20 Development Board which is a 96Boards Consumer Edition platform based on MT6797 SoC. Signed-off-by: Manivannan Sadhasivam Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/mediatek.txt | 3 +++ 1 file changed, 3 insertions(+) -- 2.7.4 diff --git a/Documentation/devicetree/bindings/arm/mediatek.txt b/Documentation/devicetree/bindings/arm/mediatek.txt index 7d21ab3..356df1e 100644 --- a/Documentation/devicetree/bindings/arm/mediatek.txt +++ b/Documentation/devicetree/bindings/arm/mediatek.txt @@ -47,6 +47,9 @@ Supported boards: - Evaluation board for MT6797(Helio X20): Required root node properties: - compatible = "mediatek,mt6797-evb", "mediatek,mt6797"; +- Mediatek X20 Development Board: + Required root node properties: + - compatible = "archermind,mt6797-x20-dev", "mediatek,mt6797"; - Reference board variant 1 for MT7622: Required root node properties: - compatible = "mediatek,mt7622-rfb1", "mediatek,mt7622"; 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: 142338 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1586308ljj; Thu, 19 Jul 2018 03:55:15 -0700 (PDT) X-Google-Smtp-Source: AAOMgpew+H3qZDtZYuKoedBD6WOv1rRhaX6qbROXH04tjEJ5RNctVcBGWDu6uhY7m56StGgyh/w7 X-Received: by 2002:a17:902:7891:: with SMTP id q17-v6mr9831031pll.186.1531997715756; Thu, 19 Jul 2018 03:55:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531997715; cv=none; d=google.com; s=arc-20160816; b=CUwperpi8gQW90IYG0OM1Cr5uOVeutHEg0K0ZdGzq1eI0zweNSYmuQ9zOpzgmoJopg wKP94AYStRl5A7/2jdbUKWF++SetoSxhQ0BV+Y021mnxv3gAdwwhl5OtlhcXRpaZlfRO RABZjSlXpg6gSZ/VCdN26tboa1SWlSBdmzdGk1SbbKOGfUFITSLva9gcIHEI7YUkZNQl l3c3QmW2QFFKplORhuiK2JgJstlgzgnbr5JjGIxXltevs2e9bpurIg8tdFtcYU5L3Z2x QqnyM6FTWuuzv5bniNKg14TK/1K7sfdr8juRaUqEEYpNmjgbHr6t3fP+urmDS6lM2EeD jyxA== 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=zD+732wJGoyhaZG9GQ1m66dYgDFzqDgbF+9C92Le6nc=; b=Gjes+Vt5eR3RbvN7WMnHVege9bkCLPAPyrqhyBUiBItEPwLBQYEcqSYnW/QNhli0C+ rzdxTGI6UkfKs9yh5MdMIvzRV1dguGrxQEQWN1YPY5eKh/FVG3xikEVAmNcSv42tf3O4 Fb68/b4Sk2lknP1VqAx4RhXxHrKzk6I9DLlpoMfU4L1hKuHjNaZslERIM0NZaRE2jCj4 MJJRCJ14xrVTRpvHkFXux4/F8qeJJQqem48YKad26w20Z/z0rJg3uhMDt55S7RPt1R3I BNqOuQNzjS7Iy/ztf8LWxcOptAXAMU8IIXfvNKYUt10qNjwFP41soLVj1BDsUMc0Lol+ CFRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HSoAhcds; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (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 o2-v6si5534042pgm.288.2018.07.19.03.55.15; Thu, 19 Jul 2018 03:55:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HSoAhcds; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731525AbeGSLht (ORCPT + 31 others); Thu, 19 Jul 2018 07:37:49 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:43471 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731126AbeGSLhs (ORCPT ); Thu, 19 Jul 2018 07:37:48 -0400 Received: by mail-pf0-f196.google.com with SMTP id j26-v6so3738085pfi.10 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=t7AZJo78pzPQNqLuuO5I7S9Q/GR3SxkPftXJxuOaAWz7znMERi+YGM2DL/zjxPSli5 an6fq5NPJuufiuzx8zlRd6+97e/73+sO/7i6401BF3tfS0QsK++L9ysnxH+njH1EfVwC ouYvFyXTSMsI0D5sbITgaa5ptsXfVR8JQJLBTkHdRsOfN68RzIOvfu8diSeDuEO1I3l+ Zoec5mK4Co54vWHQ2stF0hNI90eWQkwsRXJ7Dqy7c9mLWVcJyUAu/GZz+d7Y0ZHVkAhR fAo7tqklDH5SyPy4vSbvDD4jKjCbEqfaw/mKXlBVzAeVTuNL8eG5oAvwE1AqFXlWCEfA SmKg== X-Gm-Message-State: AOUpUlF4hfZI7XrGVKNyFlxcbbyHyLpddV5iYH0HLB/nlIf6u1bCe8tC MV8/BCpd43YgHj9nL3BFuezC 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 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 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 + 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 -- 2.7.4 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"; +};