From patchwork Mon Jan 29 05:11:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sricharan Ramabadhran X-Patchwork-Id: 10189341 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5F62460375 for ; Mon, 29 Jan 2018 05:16:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4AF9F2879E for ; Mon, 29 Jan 2018 05:16:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3F998287A5; Mon, 29 Jan 2018 05:16:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CE3F12879E for ; Mon, 29 Jan 2018 05:16:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=gue6zpTqJmtUPx5tEUZkf790IFC9UjveIq+W2+xuG24=; b=GUR0AYOoTROBEpSWmechjaHgwU QStxy+jDSivHufRPtEJFz4BzdQ3J09fUAsFUCnZTFbXp6xtCNw6KSP2zLhyiND+MjlX/VE748SHxf GaYxN5ghHD1+92b58//zgKltZKY/m28fWR2W7AZsSEcaI0ppLf91SZ0pn54Xauord7ijf8oDNYFlm VF7wIllJ6O74pKkfXz/c4seY2oP4or8ieeBLNe26oI0pL/Dds5pBoyO+HYRHg45BLsYDq0yiuTUXM VsQBn0sbONP9cc2I41olPJg59plDxWxc0e3Fg4NoMifnag2JkMoo0SCYgseAEFslcx3SPNNMGOUBx e3z1w0DQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eg1nW-0007uM-MM; Mon, 29 Jan 2018 05:16:02 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eg1kU-0003WL-ED for linux-arm-kernel@lists.infradead.org; Mon, 29 Jan 2018 05:13:21 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 0769460F6B; Mon, 29 Jan 2018 05:12:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1517202764; bh=LXBrp6ED3+xHo8+NHnKbfBKhav2Tpjqw6Ac68i7lvGw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MH0+gZo7qyCt4rvbYWKp/5GYGittjUosFhvyO+N55NR1czwTxZ5r7mmP3jKYeqA6q zj40XtyjEVuswDZilI9d1giDjEg9e2iOLIQNvoIbFtIMSDIDg+MT/9TqyCWm+JoC7v +grcfxY3pG5DyYoogLRIDp2H/62JkWqTgfEnFJdM= Received: from srichara-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sricharan@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 173296071A; Mon, 29 Jan 2018 05:12:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1517202760; bh=LXBrp6ED3+xHo8+NHnKbfBKhav2Tpjqw6Ac68i7lvGw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Cbe9deZumlHlIFFVv0gdSgvf5Sh9NKXsEWh9O7aFLk2oEc9z4Eyfa+UxeNLeSO7NS cEZIUJZNN60eZUDZZ0de+QGf5L4flkDB4COiduo3jQ/tGG9McxrKZkaL+Y4v4hPUeg IUAV2g2gTGnAtTUwlYX61l5eqGCxgadJbpyXO14Y= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 173296071A Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sricharan@codeaurora.org From: Sricharan R To: robh+dt@kernel.org, robh@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, andy.gross@linaro.org, david.brown@linaro.org, catalin.marinas@arm.com, will.deacon@arm.com, sboyd@codeaurora.org, bjorn.andersson@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org Subject: [PATCH 12/15] ARM: dts: ipq4019: Add qcom-ipq4019-ap.dk07.1-c2 board file Date: Mon, 29 Jan 2018 10:41:26 +0530 Message-Id: <1517202689-14212-13-git-send-email-sricharan@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1517202689-14212-1-git-send-email-sricharan@codeaurora.org> References: <1517202689-14212-1-git-send-email-sricharan@codeaurora.org> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sricharan@codeaurora.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Sricharan R --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1-c2.dts | 78 +++++++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1-c2.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index ef5b133..b4339ae 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -729,6 +729,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-ipq4019-ap.dk04.1-c5.dtb \ qcom-ipq4019-ap.dk04.1-c3.dtb \ qcom-ipq4019-ap.dk07.1-c1.dtb \ + qcom-ipq4019-ap.dk07.1-c2.dtb \ qcom-ipq8064-ap148.dtb \ qcom-msm8660-surf.dtb \ qcom-msm8960-cdp.dtb \ diff --git a/arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1-c2.dts b/arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1-c2.dts new file mode 100644 index 0000000..d4ee52d --- /dev/null +++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1-c2.dts @@ -0,0 +1,78 @@ +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2017, The Linux Foundation. All rights reserved. + +#include "qcom-ipq4019-ap.dk07.1.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. IPQ40xx/AP-DK07.1-C2"; + + soc { + pcie0: pci@40000000 { + status = "disabled"; + }; + + pinctrl@1000000 { + serial_1_pins: serial1_pinmux { + mux { + pins = "gpio8", "gpio9"; + function = "blsp_uart1"; + bias-disable; + }; + }; + + spi_0_pins: spi_0_pinmux { + mux { + pins = "gpio13", "gpio14", "gpio15"; + function = "blsp_spi0"; + bias-disable; + }; + cs1 { + pins = "gpio12"; + function = "gpio"; + }; + host_int1 { + pins = "gpio10"; + function = "gpio"; + input; + }; + cs2 { + pins = "gpio45"; + function = "gpio"; + }; + host_int2 { + pins = "gpio61"; + function = "gpio"; + input; + }; + rst { + pins = "gpio36"; + function = "gpio"; + output-high; + }; + }; + }; + + serial@78b0000 { + pinctrl-0 = <&serial_1_pins>; + pinctrl-names = "default"; + status = "ok"; + }; + + spi_0: spi@78b5000 { /* BLSP1 QUP1 */ + pinctrl-0 = <&spi_0_pins>; + pinctrl-names = "default"; + status = "ok"; + + spidev0_0 { + compatible = "spidev"; + reg = <0>; + spi-max-frequency = <24000000>; + }; + spidev0_1 { + compatible = "spidev"; + reg = <1>; + spi-max-frequency = <24000000>; + }; + }; + }; +};