From patchwork Fri Nov 9 09:44:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150617 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1923023ljp; Fri, 9 Nov 2018 01:45:03 -0800 (PST) X-Google-Smtp-Source: AJdET5deiJTaLxeqyxKzZ7GWvYQYoQVll9S4anp30HI+8lltwoNTP/Z+GloJ27tHRwgQIV+riyAN X-Received: by 2002:a62:9702:: with SMTP id n2-v6mr8189653pfe.222.1541756703331; Fri, 09 Nov 2018 01:45:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541756703; cv=none; d=google.com; s=arc-20160816; b=1IWF9tG7ENdX4tsJq3JTNs+3FVhnvYsmOF4qCWIS1bpzqg3iBQV9HWjHCGBdLncDzW nPPTSMW1ZXGhPcLFWzWmeQZpgb0PMh7LofZJCtqX81OQULrRE1SWTvwbyuv9zA8QVJOI M1+TvMijGRNPNZJlmY/aMH3d3b2AWB/cioG0m0xHSOcYHucnzqVj3U0VEuhRbM2ue0kH 3Kq7NSXxjl9p3oEv3m8wdOLSJOxrce+m/Ajj5nZibCjJNGwSGt033EOmNx9lk5Q51318 QsllauvOfArHbS8hHV8joG9exDi5iWrrLV2SCaMbiXIaBsY12N504+wvzAjzzKk7FV12 x8xQ== 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; bh=PKBez56p8G8okKXdoq5UUO45Mv2pW7XPt3l2uTvMu+0=; b=vxteSpN/7R/8RtvHXIBguhLw5k12z9teYWxDCtO+KTruyMP5q2BUc06L9S+8ZG1WkI SXy/A9FoY+OCmzsh3NFKnUJ4Qmr6XEinhjcSBvI18Swc7eknUBIr3nBseOsXOLInvYgZ jag0txnNw1Z1i9KnbV+YQogMWfvTBWJQq4u0WTAOMvI+Xv2l7OJ6LIbmrvgbJy5Maoah AJjVQafwKnZrVgidycF2bsce+wRNNZ7V38jb2J0Tg4nbp5NfVjtXzlnhmm8LgCpitgh3 BUu+eAdpoI3g8JruA4LTavkbd2jtz1dSZOH2uQSSA3SIRpPLh9z8NpcbXLF3fGX8Lc5n PDVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mU3cXB4V; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q64si6726483pga.280.2018.11.09.01.45.03; Fri, 09 Nov 2018 01:45:03 -0800 (PST) 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=@kernel.org header.s=default header.b=mU3cXB4V; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728005AbeKITYr (ORCPT + 32 others); Fri, 9 Nov 2018 14:24:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:53268 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727560AbeKITYq (ORCPT ); Fri, 9 Nov 2018 14:24:46 -0500 Received: from localhost.localdomain (unknown [171.76.98.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 979C72147D; Fri, 9 Nov 2018 09:44:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541756700; bh=GMg1XEoOp0IvjcuhyeNGWYKWecigbIiHWp3bML/11Ns=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mU3cXB4V0OVBoTrIXOuxS1CKKnYcnWXih5QCmnTXp+G4w7B9BqU1VEHJtqH656RVX xCtz0ocQIXtkqRfzDW/lWS0fFRm0SWXGD6S7LluoelNyHTaTI6IqQ7V3giXDPKkhED ltMM+LQiIRm/0geQOBHT0W5T3VRvSqo79GlaJWFc= From: Vinod Koul To: Andy Gross Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vinod Koul Subject: [PATCH v5 02/18] arm64: dts: qcom: qcs404-evb: add dts files for EVBs Date: Fri, 9 Nov 2018 15:14:01 +0530 Message-Id: <20181109094417.12109-3-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181109094417.12109-1-vkoul@kernel.org> References: <20181109094417.12109-1-vkoul@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QCS404 has two EVBs, EVB-1000 and EVB-4000. These boards are mostly similar with few differences in the peripherals used. So use a common qcs404-evb.dtsi which contains the common parts and use qcs404-evb-1000.dts and qcs404-evb-4000.dts for diffs Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/Makefile | 2 ++ arch/arm64/boot/dts/qcom/qcs404-evb-1000.dts | 11 +++++++++++ arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts | 11 +++++++++++ arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 14 ++++++++++++++ 4 files changed, 38 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/qcs404-evb-1000.dts create mode 100644 arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts create mode 100644 arch/arm64/boot/dts/qcom/qcs404-evb.dtsi -- 2.14.4 Reviewed-by: Bjorn Andersson diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index a658c07652a7..21d548f02d39 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -8,3 +8,5 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8994-angler-rev-101.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8996-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8998-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm845-mtp.dtb +dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-1000.dtb +dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-4000.dtb diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb-1000.dts b/arch/arm64/boot/dts/qcom/qcs404-evb-1000.dts new file mode 100644 index 000000000000..2c14903d808e --- /dev/null +++ b/arch/arm64/boot/dts/qcom/qcs404-evb-1000.dts @@ -0,0 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2018, Linaro Limited + +/dts-v1/; + +#include "qcs404-evb.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. QCS404 EVB 1000"; + compatible = "qcom,qcs404-evb"; +}; diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts b/arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts new file mode 100644 index 000000000000..11269ad3de0d --- /dev/null +++ b/arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts @@ -0,0 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2018, Linaro Limited + +/dts-v1/; + +#include "qcs404-evb.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. QCS404 EVB 4000"; + compatible = "qcom,qcs404-evb"; +}; diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi new file mode 100644 index 000000000000..91ecbdf0ecda --- /dev/null +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2018, Linaro Limited + +#include "qcs404.dtsi" + +/ { + aliases { + serial0 = &blsp1_uart2; + }; + + chosen { + stdout-path = "serial0"; + }; +};