From patchwork Mon Jan 29 05:11:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sricharan Ramabadhran X-Patchwork-Id: 10189345 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 C405560375 for ; Mon, 29 Jan 2018 05:29:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B40AB287A4 for ; Mon, 29 Jan 2018 05:29:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A8031287A7; Mon, 29 Jan 2018 05:29:09 +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 4DCD4287A6 for ; Mon, 29 Jan 2018 05:29:09 +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=vevo0+HVlqcjZcDOlbuN95CBj8y5koXj+pMFuRwdzQs=; b=ptcmQLMENkT7vIM/rOPQzuxxpK 7i1ucRh2ILO8wg+Xd+1pqUAj0/0r11MoMXOE9a9cXdvCkb7bDgl4KWVvkVU/++E8dNXTd9325TrTw V/buaMlAmvuOwThZUQm1DhXX1y03lFty3NISUkfx8j2VYflhT532bWPe6YEstLhH4KGUIgB6fDMej wCHjui/YacxhJettzpRHAxmDBjRHGT7q8HbQZ0w7SjXTLgwbTpIhRPUqaQUpzSHZGLvgINFQh35St CmzadNLnvH1bpZuOjgVD9S2Abd8bmlrRmj9VqJ1bsnuxoiZ+6/IM7hBwsPjLqs/UXqYTBnIwF1CWF EOE8AYqw==; 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 1eg20A-0003Lp-MN; Mon, 29 Jan 2018 05:29:06 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eg208-0003GB-52 for linux-arm-kernel@bombadil.infradead.org; Mon, 29 Jan 2018 05:29:04 +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: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=3GPXGbmUzwpbQqZKPD5hUkYMdbSpTR1A0jN23JOZRUM=; b=kVLCf3Owov6j2xEr10sPoMca/ 8jwxAkLv6B1MmAWJCdb961wytNJ++GfR1tz+dPKdxmAqaT82qGAebN1vRZKel/s2Sc29InhGUkS5M TreyUoJyF1xzPEz8tDT+qLCdDjpLSKnMVs/L7GIG4srkSfjneNTmiv4e0LwFvcMPpuwuk40CswRKd qnKmHQNfGpF6UyVJsEvEABAqOc55D+KSp59kBbKydqkF4rMQjO0g1+lt8GqS9mQBv4KJyMCfh3svH aODMbLQRTfs2b5z+eZqDaXZvg1vSOk4XYnvBg1UaeF8rikbFWapIOcvFWSTkHtIRsxEUDKsVUpO3E XIpH7Povw==; Received: from smtp.codeaurora.org ([198.145.29.96]) by casper.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eg1kj-00044N-5W for linux-arm-kernel@lists.infradead.org; Mon, 29 Jan 2018 05:13:11 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 97D6C6071A; 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=1517202775; bh=m84neavgE/HpUV24DbQswVXTgEQluaK5/py9iGHpqLk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EmLzfu495QB0oPiZpnzYo9Nf9EwT9Wi76yaLdbOEa7n2EWEhYSrcJGy/OVqLH+tvg 3ZO+GGN/eIljHlZKOEMOU3/dBIMscHClAIVsmxFNqg7WN3qnqhzJRpHZx5agt698Lj 97WxexEhV1hu2/dGlGz17Ki9LFEyeXC+bTF+a4Hk= 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180129_051309_554351_D011B4C7 X-CRM114-Status: GOOD ( 12.48 ) 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/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>; + }; }; };