From patchwork Thu Nov 8 18:39:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150571 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1184235ljp; Thu, 8 Nov 2018 10:41:04 -0800 (PST) X-Google-Smtp-Source: AJdET5flgIJgcc1tOkjecygaggLDVD+42xnu6u91nOQN6tYU3TpNrAslmAmKe+4NLPh7+qewcQ7G X-Received: by 2002:a62:8d92:: with SMTP id p18-v6mr5832746pfk.217.1541702464717; Thu, 08 Nov 2018 10:41:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541702464; cv=none; d=google.com; s=arc-20160816; b=SWtN9s/vtvS9wg7yI8sC0sWuXCjUoOUykqQcXvDVk7ac9nb/VWabDyc7FK9JO2U+BC n3mMW3hesXFYK1YfoWSFEpVv5uqiZUOolEvDj5kyRKJmJFQyfZqVit99gGJWJH3IIpC3 sEq8f3/c4L512CuFcmw+J6QwXwTqezfBy6vhpnhM/58VVx5Hz5sH68IMJOhpb3KhxuiG 57K4cj0uDcC0icLxY35miDOq1iZmKIHGgHOOqDANylxDX5smyHCjG5wr1i1KOgJeqw3f Ozo81ccARlyjoq9yBQYgyjA2lbexnzei1N2NPMW6gSu2t+vWcklEK7S73NihYRAIsczS sRrg== 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=EkS9uPeUVse1eTo7yXzjyQpa2lYqjNDRBohW3eQocmbalBeK12Z4Ehr65Hm6g95q+N 7YZmCX6EsX2QWLZEaM14e9kCNgq8v2457vMOc2167szMUrjedjJwgkdV7z8E0iHOJ/dZ MDHbFPsJC06UggkEgvdXHc+c2jnX1NIatKSYrMOGubynvq8zvQGFrWNNZC+1uNg2H/OC ksv9pgnH2E8zlTLnKcsPVOAmMMhZAXA9/qlHYjnjL91/t1SzEs8i7HSLl4hU7bpQCPWO /g00ezmWnxKfg3KU816zw3qkYonx9EfvHjXanbmtatrpLGL6hlBzUg0AMSYTog2FCmHZ MhVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=wxfSEfjd; 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 u64si4429420pgd.262.2018.11.08.10.41.04; Thu, 08 Nov 2018 10:41:04 -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=wxfSEfjd; 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 S1727668AbeKIERt (ORCPT + 32 others); Thu, 8 Nov 2018 23:17:49 -0500 Received: from mail.kernel.org ([198.145.29.99]:59632 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbeKIERt (ORCPT ); Thu, 8 Nov 2018 23:17:49 -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 C0CA420684; Thu, 8 Nov 2018 18:40:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541702462; bh=GMg1XEoOp0IvjcuhyeNGWYKWecigbIiHWp3bML/11Ns=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wxfSEfjdoYtksHx04Y+MvUKFxOOZIVPKh2SaHS9LvnnuqRcSX3PxctI5swAEq6wlF INusxWqkTcKligPd8ovHTwOOUTVaiDrUtRUxIjkYEiWLVBQGwgV2sdpcIJRlftI6KB D9O96L97VCmVTPeIgKH/Sap4l9eMWhlYFnXFb+J8= From: Vinod Koul To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul Subject: [PATCH v4 02/18] arm64: dts: qcom: qcs404-evb: add dts files for EVBs Date: Fri, 9 Nov 2018 00:09:53 +0530 Message-Id: <20181108184009.18430-3-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108184009.18430-1-vkoul@kernel.org> References: <20181108184009.18430-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 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"; + }; +};