From patchwork Thu Nov 8 17:50:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150542 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1131078ljp; Thu, 8 Nov 2018 09:51:48 -0800 (PST) X-Google-Smtp-Source: AJdET5c/GyscVxfpnm/GbDmyNyxzQFZMHijeGsdDZW3lYiNu8+KWW2YuhMuuRuojeyHFPEuAZSdK X-Received: by 2002:a17:902:2006:: with SMTP id n6-v6mr5513384pla.131.1541699507955; Thu, 08 Nov 2018 09:51:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541699507; cv=none; d=google.com; s=arc-20160816; b=QXlximCBKads2Yfbc5m+Ha/En/JemABpfYG9sW8p00sPqk/RSaSAzhPSIr7y191Ddm /NmzNEFEgwdrHlPY7GGlTnzpaxqiMfCVFZEnZ7ti44mtOSof19e9psEI8I9LWc2M2zjH l97vYCtSR6qdnoAxz2N13iVgPvoPjrp9h58hUUoWX8tD30Zb8fIssBjAnLsANyr9u2cC cd9wbfw3YF+xHQWgyQZCalvszuEcOhM9FpciPc9mv4VyFBQw+P7Jkr+BGUnkt4y37FY7 H+xMC3n0rXJBDXPbVedlwlV19e6MCmwnUhb0E2QxEYGEAOuFJtJ39Xm878CsdpcMHiXG hq7Q== 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=ixpNfgN3bSjoY0C7EYqxI66qhp7Igwi90oW+w6AHn4l0NMC9S4JfnHbg79r+3ZCveh /uNgj9zpCisrbBtRz9M5JPl1QMN8Bv03qcOt6glaOZ7oCEmbbiwEP7EAwBCxAzgEzCqY h78T2dtHb98gWgDdd7UgK98fiQpszH5pk0j/8gW5Qut/ORs0IyDbOvnkkij8nYYhm/Eb hDPGKrhKI1kROCLQlmG5kMY9aYuzs16MrGfKLQea6dH4ji2FjXwShUREXKJSp0/79QX4 ny9+0J4Mw2ULFwSx1kW7ZfdsmEKaoYv6dqUe83fJw3OaPitC35gXD9U72w7Txo41LF5W nWig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="TLuUYF/r"; 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 x12-v6si4793367pfn.111.2018.11.08.09.51.47; Thu, 08 Nov 2018 09:51:47 -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="TLuUYF/r"; 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 S1727308AbeKID2V (ORCPT + 32 others); Thu, 8 Nov 2018 22:28:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:40296 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726869AbeKID2V (ORCPT ); Thu, 8 Nov 2018 22:28:21 -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 6E4C220817; Thu, 8 Nov 2018 17:51:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541699505; bh=GMg1XEoOp0IvjcuhyeNGWYKWecigbIiHWp3bML/11Ns=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TLuUYF/rTIGT27uaRBe4Q2BVlI1K3w25Ojhx2zwP88fjKyfWE00EOd7V9hYCCxCa1 z7pLRbxLnI7/4qnaHy3plT0h3ZKEtZ64NYMjgJpoXmJsjmFB898TVJCxQKOC3iD3cR LmkqQ9KlSvDyupK+1BuJeWOq2wYeLc/4EEWu3KD4= 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 v3 02/18] arm64: dts: qcom: qcs404-evb: add dts files for EVBs Date: Thu, 8 Nov 2018 23:20:33 +0530 Message-Id: <20181108175049.7090-3-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108175049.7090-1-vkoul@kernel.org> References: <20181108175049.7090-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"; + }; +};