Received: by 10.213.65.68 with SMTP id h4csp229883imn; Fri, 23 Mar 2018 03:25:59 -0700 (PDT) X-Google-Smtp-Source: AG47ELtnhMItHy3xtNcdBarqOup08GG1+sTgX79K5JBRHQMk7Aq5vMXAjciWgxzFCehk+D5R15+F X-Received: by 10.98.87.29 with SMTP id l29mr19680341pfb.214.1521800759646; Fri, 23 Mar 2018 03:25:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521800759; cv=none; d=google.com; s=arc-20160816; b=gfTblSc9hvNwLU4FCORXe5kx/TcT3zW8SPs9Rt9/HAspMk++7aHrnOuQowmMXCiPCC EtCoyhUr6m4WQthF2r6/DE3YtsIaWPasvmRO1fjnCu5HpXUgqvqaEu7uCilrJLNZAqsH OZ1zOJV40KsoObr9xgPR4GB6+Ht7ySfejk6qsJaXm5sswOERRTqWENxK7EolspRZToPF nzrEXY6/5FXOlGVNciu9N8p81hklne35dBIh0mhq3df27gn9ssW2pE55jDjp/30Irizu xHsVbFZfHo3GpXk3csXvr2P63lKOFa/4h8s6GhErYyKGpFhBxbF3zwu7tTTaa4c3QAfo WdFg== 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:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=+ocd4LI4dFGdQ0kEvL8OHzcJeB1dfsl9FZxUkGpgrGk=; b=OcVtXWqbKAteuWaQsj5EDiz0RVncNnLB9zEVfV9wNwC1MH291N3nMWGHBnAyE7tly0 BFR27JvT5AkcRNgPE+Fab7nAcwBGeg9C2J3GmQaBRQlN1PHvZqReWBpv4o3/s/LoxeiW hs/in5AOy2e+yrtLrxZ/+0oisLQerI9vskFM8zppI5Oo4eP57du1dF+wVVCJikDiK4h5 AhGV5ecRCXbdHdE7q5GXd2+VF24VmZyzSBcab8C026YZOHR0/DEb0K7MAwADISPqdtJp iLQpFRE9NzYF3iXzk8ZpIHjD7GajtoBpmUl9Y4RwqlzaIfO+CRtZLgsKnX/RgL3JOscF Dvyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=JqYm5bFU; dkim=pass header.i=@codeaurora.org header.s=default header.b=VB3LetEI; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j7si5873594pgf.622.2018.03.23.03.25.45; Fri, 23 Mar 2018 03:25:59 -0700 (PDT) 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=@codeaurora.org header.s=default header.b=JqYm5bFU; dkim=pass header.i=@codeaurora.org header.s=default header.b=VB3LetEI; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753644AbeCWKYU (ORCPT + 99 others); Fri, 23 Mar 2018 06:24:20 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:60980 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933736AbeCWKUA (ORCPT ); Fri, 23 Mar 2018 06:20:00 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 921DF60807; Fri, 23 Mar 2018 10:19:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521800399; bh=yuQsThk6PT/hBZDUoFVwnA1geZnikYdyCufbZYtbaPY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JqYm5bFUiA+v+c5DAHpcVl9OM4qoS4JyewHrvlQXKCSCpPvPz5ugn6cGIp/hBSHiQ 2DHkjbwF2PF1WJ4Lg1kiYvMP2W0dk0a+jys9AHlfV+Sy/j3Wm+J0dIBnEhpO7YoSZl q3XpdmDQZ63iMZbo1WTeGjibSD8xQggzHvQQ0kqg= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 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 D60AE60FF4; Fri, 23 Mar 2018 10:19:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521800398; bh=yuQsThk6PT/hBZDUoFVwnA1geZnikYdyCufbZYtbaPY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VB3LetEIunsfg1L2QNQcuD1TY0DK8XAUI/jMLU8V3ukleNv3gSmlYAx25l+UJ6kZ7 VIVV/Q8pHJd3eaxTb98LdiAP94Fdq7G/6ZEo7Bt2mg752cQ5VUJn89uI9oURUh3mfm hq5AgVuUlEeApg6A8ud+dNGQ4mriMpmqEgbXArrk= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org D60AE60FF4 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 Cc: sricharan@codeaurora.org Subject: [PATCH v5 05/13] ARM: dts: ipq4019: Add ipq4019-ap.dk04.dtsi Date: Fri, 23 Mar 2018 15:48:48 +0530 Message-Id: <1521800336-19266-6-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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 | 115 ++++++++++++++++++++++++++ arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +- 2 files changed, 116 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..7c5d717 --- /dev/null +++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi @@ -0,0 +1,115 @@ +// 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"; + compatible = "qcom,ipq4019"; + + 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 { + mux { + pins = "gpio16", "gpio17"; + function = "blsp_uart0"; + bias-disable; + }; + }; + + 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; + }; + }; + + i2c_0_pins: i2c_0_pinmux { + mux { + pins = "gpio20", "gpio21"; + function = "blsp_i2c0"; + bias-disable; + }; + }; + + nand_pins: nand_pins { + mux { + 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>; + }; + }; +}; diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi index 1c3b0ff..41a213a 100644 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi @@ -307,7 +307,7 @@ dma-names = "rx", "tx"; }; - serial@78b0000 { + blsp1_uart2: serial@78b0000 { compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; reg = <0x78b0000 0x200>; interrupts = <0 108 0>; -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation