Received: by 10.223.176.5 with SMTP id f5csp2451382wra; Sun, 28 Jan 2018 21:14:06 -0800 (PST) X-Google-Smtp-Source: AH8x225BGcwWclJJguAYghWqCmxxXZ8ZVfafFeoKJ/+iXV8YPQ8TjiPiHTytO2xvx1y8bPHcL+xy X-Received: by 10.99.67.197 with SMTP id q188mr20033775pga.255.1517202846054; Sun, 28 Jan 2018 21:14:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517202846; cv=none; d=google.com; s=arc-20160816; b=z27Xdh6piZV6pATfxTM/Zh6YfIWjFaQ2POucmtjeIuVtzOgCPTm4QWyzikOdHegFrH h4YeA4KDtv6ZfaeYy3/ATUPq65k63ni1oPb9B1JfIFQnmz6ISPkH8R7Pw3rkTL/OdjsR emuRQeQfK5C35JJEkpnIzWP3CZaEEZcC848U1dVNwtfGc75DNz7oXGIbOXobM6pmqPd9 zsou+idMvAS+S/4DbdN5BoGEkIrEMezuz458MDrRgUIit7WRx/UiDoqjtXkpOzVwMRtZ CClu/k88RvMbrnWga3AIi51XJI0rgx0CEEeYJSVLmBcso5GUvhTUVRj0kF1beAncegWE fiOQ== 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=3GPXGbmUzwpbQqZKPD5hUkYMdbSpTR1A0jN23JOZRUM=; b=SExgSoP5jPRFKIWdex8fLRHyLS1wAz7nrbD2SoDbJymWx43xQvc0OgtXzCVvJxSDk2 Z9NsxUwBrMV2FLUU3l7LISsCvos/rx0gF7TP+rhrCH6PsJhj3NGJXA+i1r4IrKeHHsOS e+BPxKtpEme2d3+Hc9d4pZM1dshXIuukbLELVOKM8z5L3iV2ZYWz0RrkPNvKplxWIslp ug2WQ3JqlO7SxySkVWaY1kQHuTt8f8EYrA+92SHv0AtLz1fFT1txTq2h750WysYOJv5n PDukvA9Jm2bGLt1IcdhjYXG89c7aXgTwdWPyI9yh3VZ2vQya2Bv2JH8PJupNuq0YiLzJ aSHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=J0hAXJfV; dkim=pass header.i=@codeaurora.org header.s=default header.b=ODiGnQgX; 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 b24-v6si163735pls.617.2018.01.28.21.13.51; Sun, 28 Jan 2018 21:14:06 -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=@codeaurora.org header.s=default header.b=J0hAXJfV; dkim=pass header.i=@codeaurora.org header.s=default header.b=ODiGnQgX; 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 S1751850AbeA2FNK (ORCPT + 99 others); Mon, 29 Jan 2018 00:13:10 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:36392 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751810AbeA2FM4 (ORCPT ); Mon, 29 Jan 2018 00:12:56 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 1BCA660A61; Mon, 29 Jan 2018 05:12:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1517202776; bh=m84neavgE/HpUV24DbQswVXTgEQluaK5/py9iGHpqLk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=J0hAXJfVY4roNwkTXwQ+JLcq0nocRXqKhMdnSPoIkE9kafpeLS4rrhETB0F0+oRaA 6u/I4PnJ8cS8aUZozZHTaE4FFYnfgfYhuxpNXNZ3+8qFw6XJDcEmAmRw2qTmhDIq7z 97AMRxQAE1LY2CVXMQvP87th0u8oEAT47xamW2NE= 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 ABA16609F3; Mon, 29 Jan 2018 05:12:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1517202774; bh=m84neavgE/HpUV24DbQswVXTgEQluaK5/py9iGHpqLk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ODiGnQgXNS3YgEbR03QU8G0xTuzotNlKM3DKQa3den+A03E/QSZcPiWcw8LDJ36VN PDa2F93oMPnQ4oRvlYd2xapkKJ9b8Y269Nrs7jhTSySlfBag10mGyYiFrRacACoOtc jCks1tTwCC7glys7OpvwW0YGj9ullxZKFgcPljgA= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org ABA16609F3 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 Cc: sricharan@codeaurora.org Subject: [PATCH 15/15] ARM: dts: ipq8074: Enable few peripherals for hk01 board Date: Mon, 29 Jan 2018 10:41:29 +0530 Message-Id: <1517202689-14212-16-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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Sricharan R --- arch/arm64/boot/dts/qcom/ipq8074-hk01.dts | 99 +++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts b/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts index 6a838b5..69a1b0c 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts +++ b/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts @@ -21,6 +21,7 @@ aliases { serial0 = &blsp1_uart5; + serial1 = &serial_blsp2; }; chosen { @@ -41,6 +42,46 @@ bias-disable; }; }; + + i2c_0_pins: i2c_0_pinmux { + mux { + pins = "gpio42", "gpio43"; + function = "blsp1_i2c"; + drive-strength = <8>; + bias-disable; + }; + }; + + spi_0_pins: spi_0_pins { + mux { + pins = "gpio38", "gpio39", "gpio40", "gpio41"; + function = "blsp0_spi"; + drive-strength = <8>; + bias-disable; + }; + }; + + hsuart_pins: hsuart_pins { + mux { + pins = "gpio46", "gpio47", "gpio48", "gpio49"; + function = "blsp2_uart"; + drive-strength = <8>; + bias-disable; + }; + }; + + qpic_pins: qpic_pins { + mux { + pins = "gpio0", "gpio1", "gpio2", "gpio3", "gpio4", + "gpio5", "gpio6", "gpio7", "gpio8", "gpio9", + "gpio10", "gpio11", "gpio12", "gpio13", + "gpio14", "gpio15", "gpio16", "gpio17"; + function = "qpic"; + drive-strength = <8>; + bias-disable; + }; + }; + }; serial@78b3000 { @@ -48,5 +89,63 @@ pinctrl-names = "default"; status = "ok"; }; + + spi_0: spi@78b5000 { + pinctrl-0 = <&spi_0_pins>; + pinctrl-names = "default"; + status = "ok"; + + m25p80@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "n25q128a11", "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <50000000>; + }; + }; + + serial_blsp2: serial@78B1000 { + pinctrl-0 = <&hsuart_pins>; + pinctrl-names = "default"; + status = "ok"; + }; + + i2c_0@78b6000 { + pinctrl-0 = <&i2c_0_pins>; + pinctrl-names = "default"; + status = "ok"; + }; + + i2c_1@78b7000 { + status = "disabled"; + }; + + dma@7984000 { + status = "ok"; + }; + + nand@79b0000 { + pinctrl-0 = <&qpic_pins>; + pinctrl-names = "default"; + status = "ok"; + + nand@0 { + reg = <0>; + nand-ecc-strength = <4>; + nand-ecc-step-size = <512>; + nand-bus-width = <8>; + }; + + }; + + pcie0: pci@20000000 { + status = "ok"; + perst-gpio = <&tlmm 58 0x1>; + }; + + pcie1: pci@10000000 { + status = "ok"; + perst-gpio = <&tlmm 61 0x1>; + }; }; }; -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation