From patchwork Fri Mar 23 10:18:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sricharan Ramabadhran X-Patchwork-Id: 10303779 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 D3E6960385 for ; Fri, 23 Mar 2018 10:24:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BFF952875F for ; Fri, 23 Mar 2018 10:24:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B23D828DAF; Fri, 23 Mar 2018 10:24:22 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 363A62875F for ; Fri, 23 Mar 2018 10:24:22 +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=nJHRvWGZQn+xX1m3PzEiGk/C2UHdPUNUj56O7lUIiIE=; b=fu+NzSR7xLZQV/w9TZw6bJU7Nw jCTIY0FPtKY69xU9g8aARCW1Adk9xzioPk9QtVo9vSiuZHiq7CycxHYy7qsOlsenm84G53vwD3rLO R++1mhl2OZ5INVg+qI24TvBIZfPrxOyeeSnxhjnnTeA+viLiEiWQl80ioE0AGyNt+YFuNIU2ar5Ak G8G4uHBE1ir6hckSg2+AXHBv/ZGZU7e5pKtuXhpB/TsHg7FAm8thFIjMljZIkeug0LeFnKt4j0vjd gYdHqszrmAiZgRQIsdU3O4EQU5WAc2mrTusVxbWMQf8cqKqSWrYD9YNZszzwYqxzPbBKEknEih0us zA55wy9w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1ezJrt-0008Md-Cl; Fri, 23 Mar 2018 10:24:17 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ezJot-0005lg-Kh for linux-arm-kernel@bombadil.infradead.org; Fri, 23 Mar 2018 10:21:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZE3wC7wVxYgvpiS9eFx74bB4Q9OLs0h17P7YdFgf548=; b=TxqJRkcdY6FE4jpXAGCdIwWkP PkV3yitdogO+SJTQjCLohL8y6yvvBZcC2PwZ6mt7yXJbMVYwMKwAuFXIDMJusO3SNXhwZLhsHErcD 86j6A0bWybtCfPIrjiO0J9xZtLNhMZOHAq2tXcBmZ+mCMAxvjARLnbStiinizzHE4PfrzRmglWkIN z4M3h1HsH0igvh9SRCPAdVz44VvyIucRvRnGpJ3h7LpTHzk5EjgWWm/qJxAsJL13CHEVEqlTD7Zki ZDICJH//TA7DQLnfR1xh4KbbWa9yKv222Ex20GzwHH3PTiGHq8H0HyenfsJ7auJOSZDFq5tS6QzK+ 9H2i1wcCg==; Received: from smtp.codeaurora.org ([198.145.29.96]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ezJop-0002Zu-0B for linux-arm-kernel@lists.infradead.org; Fri, 23 Mar 2018 10:21:08 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 9276360F8F; Fri, 23 Mar 2018 10:20:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521800454; bh=n5XPZy+C2KLTZae/zuQ4UaWAQkqV4SVLN5WMKmEcJik=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ha+rI7k53aEc9xyaxCGKHscX2egXlOhIqdSXYecwyuZczrNBQqDFRy90ILxIDyPyv hHkFvDn+N+Bk4WegvI95aV0cvFD01WFstFuDkihQG6eTQSS5iMvj2+3FGM1aCiH8IK AwVX8vf2wB0oXHAM3l9GJ6niBeteiqV8gUIdp0Fo= 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 F155061111; Fri, 23 Mar 2018 10:20:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521800434; bh=n5XPZy+C2KLTZae/zuQ4UaWAQkqV4SVLN5WMKmEcJik=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nroAMiE8itTCYKlxbJXKsQ3tfk93KrGJTyUK+Je7JifXL26tmmIcGGheDONcQDgBH Pvo/TIz9kPnKbrmflxUka02p1DxolG9BwwAGbe5Yy4CrCt39GOoHF6CRNjBxOK/u4C nQ6kG0/ZLGoTogx7o/FHiz+1y2wVVXFLYnHaDsAA= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org F155061111 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, absahu@codeaurora.org, marc.zyngier@arm.com, richardcochran@gmail.com Subject: [PATCH v5 09/13] ARM: dts: ipq4019: Add qcom-ipq4019-ap.dk07.1-c1 board file Date: Fri, 23 Mar 2018 15:48:52 +0530 Message-Id: <1521800336-19266-10-git-send-email-sricharan@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1521800336-19266-1-git-send-email-sricharan@codeaurora.org> References: <1521800336-19266-1-git-send-email-sricharan@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180323_062107_202970_FF049AC8 X-CRM114-Status: GOOD ( 16.04 ) 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 Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1-c1.dts | 65 +++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1-c1.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index cf083c9..ae7f214 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -749,6 +749,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-ipq4019-ap.dk01.1-c1.dtb \ qcom-ipq4019-ap.dk04.1-c1.dtb \ qcom-ipq4019-ap.dk04.1-c3.dtb \ + qcom-ipq4019-ap.dk07.1-c1.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-c1.dts b/arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1-c1.dts new file mode 100644 index 0000000..dab052c --- /dev/null +++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1-c1.dts @@ -0,0 +1,65 @@ +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2018, The Linux Foundation. All rights reserved. + +#include "qcom-ipq4019-ap.dk07.1.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK07.1-C1"; + + soc { + pci@40000000 { + status = "ok"; + perst-gpio = <&tlmm 38 0x1>; + }; + + spi@78b6000 { /* BLSP1 QUP2 */ + status = "ok"; + }; + + pinctrl@1000000 { + serial_1_pins: serial1_pinmux { + mux { + pins = "gpio8", "gpio9", + "gpio10", "gpio11"; + function = "blsp_uart1"; + bias-disable; + }; + }; + + spi_0_pins: spi_0_pinmux { + pinmux { + function = "blsp_spi0"; + pins = "gpio13", "gpio14", "gpio15"; + bias-disable; + }; + pinmux_cs { + function = "gpio"; + pins = "gpio12"; + bias-disable; + output-high; + }; + }; + }; + + serial@78b0000 { + pinctrl-0 = <&serial_1_pins>; + pinctrl-names = "default"; + status = "ok"; + }; + + spi@78b5000 { /* BLSP1 QUP1 */ + pinctrl-0 = <&spi_0_pins>; + pinctrl-names = "default"; + status = "ok"; + cs-gpios = <&tlmm 12 0>; + + m25p80@0 { + #address-cells = <1>; + #size-cells = <1>; + reg = <0>; + compatible = "n25q128a11"; + spi-max-frequency = <24000000>; + }; + }; + }; +};