From patchwork Tue Mar 20 03:58:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sricharan Ramabadhran X-Patchwork-Id: 10296405 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 A703D602C2 for ; Tue, 20 Mar 2018 04:17:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8661229137 for ; Tue, 20 Mar 2018 04:17:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7AF4529174; Tue, 20 Mar 2018 04:17:03 +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 1E54229137 for ; Tue, 20 Mar 2018 04:17:03 +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=kNFHbjmPQ5i90lSs0ECXVet/KQNYyaYBL0ZnxN3n+EU=; b=h43PokY7XPVLQiGUQm54kPV2bg ajRhYksVEXIe+OiEBNajHLiCxYhASifx4iMyf0YawCaenkVb6bYLIzyXqt/f2DqPDIblsWxu/2U2d S5kDG6dfjE56ZR2lvBRPUTqq7JqH+KnzZ4UgB5QAV/JLXhB7s2pc50B67rnrvLtIz3e4Lz91YmSc4 1XO5NcIs+Ab5rm80opCR79vNc+5pgfq1TDqGDBRolmpjHntAffJdVUHEpVDq2ds54orVVPQJdJFB3 0GCrquThuR2aKCCp9YHPNTVUpxGM+mylqUnvjKbyJElAe2uhy0vz9SLpIVoY8bdsMHoZHcbFGp5D8 Q9C48CSg==; 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 1ey8hl-00025x-Jk; Tue, 20 Mar 2018 04:16:57 +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 1ey8hk-00020U-Cx for linux-arm-kernel@bombadil.infradead.org; Tue, 20 Mar 2018 04:16:56 +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=UZWL8D8CrA58klmv6AmwG54/7EQMSF2WWmzZvLUSQkQ=; b=UQK3xtTDyru3vjA5XJhcvjnf2 w7bfzunrPaALkaLUJqqDMWTd5GRVLcj2sUS27/cSZtm3JNrvJm/ZaVvndQTdsTwzFdujZFZ/OLs+9 szFUqFjcADhRLRm/wmQou+C0k7gAzCFfn2Mm/B+9cZpI6BZkP25lnSKLcOXtR2eG46ANax3D8gstl 84yzPypCkqRuRQOrT3vwU0vEkf73DdV9+Z7rycA0rm6CBAgICyjSZRiSN6PP3lSl5phG9lL+CQLax zvW1qj2elQoWdna6CCy4TY+tuC5R6KhpO1SC/2j0Uy2j6n5fwgJ4k6H/+G++4M061vdwQwhCNN6sw LXgIUGm+w==; Received: from smtp.codeaurora.org ([198.145.29.96]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ey8S1-0002zm-GW for linux-arm-kernel@lists.infradead.org; Tue, 20 Mar 2018 04:00:43 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id D1D5860F90; Tue, 20 Mar 2018 04:00:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521518427; bh=cBls46S5CbupIK5xyP9DIGhXKbP9ynq35hA5KneA1tQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gr8BmI2li00rT4nZckEjMeNb0hM/nmyhFrFMMjIYYI0wg2wr2zhofA++87HgmbFEb D6Y9fRnwEOkvFImlwZZndJQwLkzj6G3lcMZiVSLnXyDcjcHEa/Hq/x6zJjT5vEbK11 oc9r4I/HUwmxo5plPuNDjwfYlbqFQAQPMlBrP2jY= 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 2415E60FF7; Tue, 20 Mar 2018 04:00:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521518426; bh=cBls46S5CbupIK5xyP9DIGhXKbP9ynq35hA5KneA1tQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QCv/OoGLDRlDU88Iw4wVCw7f0nFpoVJ3DKT3vG6HxwHTDBFYEgHWYsnp2XeqCJj6D pD3kz6BmN7dG1a55HBj1g+uOJeE8AEDyoe8mDVKDo1gxeNZFvgCz4PUSg3eAl/QoTX 64iSFt/yL8crUOM6HXJ28MXrDP8p0qsEIqYZ+fYI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 2415E60FF7 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 Subject: [PATCH v3 13/13] ARM: dts: ipq8074: Enable few peripherals for hk01 board Date: Tue, 20 Mar 2018 09:28:56 +0530 Message-Id: <1521518336-5467-14-git-send-email-sricharan@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1521518336-5467-1-git-send-email-sricharan@codeaurora.org> References: <1521518336-5467-1-git-send-email-sricharan@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180320_040041_816026_DF609172 X-CRM114-Status: GOOD ( 10.92 ) 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/arm64/boot/dts/qcom/ipq8074-hk01.dts | 103 ++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts b/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts index 6a838b5..8efc8f9e 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,47 @@ 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 = "gpio1", "gpio3", "gpio4", + "gpio5", "gpio6", "gpio7", + "gpio8", "gpio10", "gpio11", + "gpio12", "gpio13", "gpio14", + "gpio15", "gpio16", "gpio17"; + function = "qpic"; + drive-strength = <8>; + bias-disable; + }; + }; + }; serial@78b3000 { @@ -48,5 +90,66 @@ pinctrl-names = "default"; status = "ok"; }; + + 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@78b1000 { + pinctrl-0 = <&hsuart_pins>; + pinctrl-names = "default"; + status = "ok"; + }; + + i2c_0@78b6000 { + pinctrl-0 = <&i2c_0_pins>; + pinctrl-names = "default"; + status = "ok"; + }; + + 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>; + }; + }; + + phy@86000 { + status = "ok"; + }; + + phy@8e000 { + status = "ok"; + }; + + pci@20000000 { + status = "ok"; + perst-gpio = <&tlmm 58 0x1>; + }; + + pci@10000000 { + status = "ok"; + perst-gpio = <&tlmm 61 0x1>; + }; }; };