From patchwork Fri May 25 06:11:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sricharan Ramabadhran X-Patchwork-Id: 10426471 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 1A59D60327 for ; Fri, 25 May 2018 06:28:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0671F28C55 for ; Fri, 25 May 2018 06:28:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EEDB42925F; Fri, 25 May 2018 06:28:48 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI 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 506EF28C55 for ; Fri, 25 May 2018 06:28:48 +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:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Amp8+7AU/aovZupM/RiAomCtbeNgSVxNgC8TdLuTMtw=; b=PQ6w5veqoa7TkP qxGBtQY4YW/BfGsgJtNbY3HssFLGYCtSRnjGrvrvmPo1OTR2nGPO2d488TI+7F+pgN13N8YNGmdU6 6qJScRkOclMTdhx+TLCEL5cPBcQ03QJWNnBuY1ZUwOR/I01xf0vUjtiePA4cTUt+tjeVAo+rZAIie GaBZq9qT3+dT3jFtDm6bnPaptXCYiiPhSqi69qL4xZtSkk86pkfjkxAHsuTqXfEIz0f6tXY27CcP2 DCwTdC+h8wyyrVLkJ09g7OVc7Y10GDro0A2U6ip/vDbofr6i0dQHxx/FRD45VF6Kw/utbi0d8VfjL rG3NfOx2Pegs6dMfyILw==; 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 1fM6DP-0005Er-4P; Fri, 25 May 2018 06:28:39 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fM6DM-0004xx-Qc for linux-arm-kernel@bombadil.infradead.org; Fri, 25 May 2018 06:28:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:To:From:Sender:Reply-To:Cc: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=gaJeFVIbvx/eO2djOvYR2PRdg5UijYqOvZTJ4FUdSB0=; b=bH8+Lj5ZmgjvOwwv3GwUp+qKC j+/6TwOLGARp9DYmEH/OMzcS0Pc96DHPvAf2TdwqHExJCsOqrH15/EB17su3Q3oLPOCH7nh0RywTA 1RTukMRMy9QEkDu0byu9xM/FNXD20prBp5tN1nJfz2hbrqODiFNGs39Uhrn9M7HhGVDIJhsvzXmDf bmRjw97yCCaZdRLG3t6vk5FRZEiJ1BRBchV7whltJJr7xQPSdyxAHb1gpyutfyfTAgrJT4XvXu1Ch fqZYWJohNxHM+88J5YdkjLQqlbFy3S8lyGTa5ToNgXcHcDUVnyJApHmmuwoX3Kk7VPD+qEQgqiA45 KdM/Ic/pg==; Received: from smtp.codeaurora.org ([198.145.29.96]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fM5xq-0005Z9-W7 for linux-arm-kernel@lists.infradead.org; Fri, 25 May 2018 06:12:36 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 7D00A60C65; Fri, 25 May 2018 06:12:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527228741; bh=r6mubWsES8S+xmEBGda/vZCd2Na0VsgpD4XzhQU1tX0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=EQEOZkurG8Mzf2P6hfOB5ymatpMw1FGX0rHKmZqQOHvynOU6JhDxxLBixqr5r/oFQ 71mHzB96x8Pgajqvsj+mB75mDiYiXfqG/yJYbWJaskbJsOlVG4jTmxKmz3iMUna0gG mAzeWgqovnYCj2p6Y7+H7AHJzkXK0z+NhzPNXOrU= 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 5B1E360C55; Fri, 25 May 2018 06:12:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527228740; bh=r6mubWsES8S+xmEBGda/vZCd2Na0VsgpD4XzhQU1tX0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=HmfM4Ra/VJpHAdwNv6CkA0AP/HnBGExq9Ycvj422L6VleYjepiWfTalgF4ljEMQes KRGKHeZIXGkTomjQM2HM1ZeiJm6GXApQkky+B/XfaN2zLAm/EPSzbozl4LIe5Wh+Wl gUJRAg0Z+v9nVQi+LMAYW4ZhXyBaAAJ+YB2O3FBI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 5B1E360C55 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, sricharan@codeaurora.org Subject: [PATCH v8 04/12] ARM: dts: ipq4019: Add ipq4019-ap.dk04.dtsi Date: Fri, 25 May 2018 11:41:14 +0530 Message-Id: <1527228682-12285-5-git-send-email-sricharan@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1527228682-12285-1-git-send-email-sricharan@codeaurora.org> References: <1527228682-12285-1-git-send-email-sricharan@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180525_071235_293170_E51524CD X-CRM114-Status: GOOD ( 16.31 ) 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: , 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 Add the common parts for the dk04 boards. Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi | 111 ++++++++++++++++++++++++++ arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +- 2 files changed, 112 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi diff --git a/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi b/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi new file mode 100644 index 0000000..7c1eb19 --- /dev/null +++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi @@ -0,0 +1,111 @@ +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2018, The Linux Foundation. All rights reserved. + +#include "qcom-ipq4019.dtsi" +#include +#include + +/ { + model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK04.1"; + + aliases { + serial0 = &blsp1_uart1; + serial1 = &blsp1_uart2; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory { + device_type = "memory"; + reg = <0x80000000 0x10000000>; /* 256MB */ + }; + + soc { + pinctrl@1000000 { + serial_0_pins: serial0-pinmux { + pins = "gpio16", "gpio17"; + function = "blsp_uart0"; + bias-disable; + }; + + serial_1_pins: serial1-pinmux { + 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; + }; + }; + + i2c_0_pins: i2c-0-pinmux { + pins = "gpio20", "gpio21"; + function = "blsp_i2c0"; + bias-disable; + }; + + nand_pins: nand-pins { + pins = "gpio53", "gpio55", "gpio56", + "gpio57", "gpio58", "gpio59", + "gpio60", "gpio62", "gpio63", + "gpio64", "gpio65", "gpio66", + "gpio67", "gpio68", "gpio69"; + function = "qpic"; + }; + }; + + serial@78af000 { + pinctrl-0 = <&serial_0_pins>; + pinctrl-names = "default"; + status = "ok"; + }; + + serial@78b0000 { + pinctrl-0 = <&serial_1_pins>; + pinctrl-names = "default"; + status = "ok"; + }; + + dma@7884000 { + 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>; + }; + }; + + pci@40000000 { + status = "ok"; + perst-gpio = <&tlmm 38 0x1>; + }; + + qpic-nand@79b0000 { + pinctrl-0 = <&nand_pins>; + pinctrl-names = "default"; + }; + }; +}; diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi index ad61a55..7bcd763 100644 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi @@ -323,7 +323,7 @@ dma-names = "rx", "tx"; }; - serial@78b0000 { + blsp1_uart2: serial@78b0000 { compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; reg = <0x78b0000 0x200>; interrupts = ;