From patchwork Mon Nov 26 12:54:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10698259 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 637B113AD for ; Mon, 26 Nov 2018 12:57:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 520E0297BA for ; Mon, 26 Nov 2018 12:57:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 45A4E297C3; Mon, 26 Nov 2018 12:57:42 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham 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 E1424297BA for ; Mon, 26 Nov 2018 12:57:41 +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=xtp+4kmjPhwuJ8Or1iK67JiL+uno2rlt/gOXXxBdtXY=; b=FKAMVInqiXJ7qx2tIBJGBn9oDd naTf7UvlVFkgy072BwriKtt6agjGnQ7nPH912n+0u1lyHC4Cur7lAxA0ScY811Zbs7osO0lpIlC2C jY9TUCpMMmU46U4HAXbQC9A/Ka5+Sy32C76wQsevfnhZUTv5/q54hM4Qj8VPSS9pWSonhpwultPrN JlItXfBY22u6QB7RIwjPL8c+qUtD2TDk0cMBr6qsTWzeCeiVSztLtL2U1QFLfcDYSIfTwS6lDm073 jbTGx4wZ/Yw2Lae+LE1hI2SoX7NQUNU3cdO7CvLDzorrw68LGv7ZdR3MeYUbEMuCwTRUEQiyEPpax 5tRZqaEw==; 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 1gRGSK-0001DS-AG; Mon, 26 Nov 2018 12:57:40 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRGRZ-0005fj-2p for linux-arm-kernel@lists.infradead.org; Mon, 26 Nov 2018 12:57:13 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id A149B25BEE5; Mon, 26 Nov 2018 23:54:22 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1543236862; bh=cs7t1mL1Zl+xU35THRrrklTuUZh/67dAvjf16K/lNkA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H9aXp4MDWaobjuYFDMEvDSa1sMkiJDxvZIa/v7H+6hNJzmWRAQiGCMzYXeB3cJbcF vr5Pq9ewVvXvAm2l/nGbHE5u3By2uYwC/+D6UnWNc9kvslG5zCNSYJ/tJRi8H5RN40 2ahRDDk2BucF39iByIMy2eVkyNRJdHN6tq6+VTiQ= Received: by reginn.horms.nl (Postfix, from userid 7100) id F364294091B; Mon, 26 Nov 2018 13:54:20 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 15/16] ARM: dts: iwg23s-sbc: Add QSPI flash support Date: Mon, 26 Nov 2018 13:54:17 +0100 Message-Id: <8923e9a2667f7e62174f382b6cd3e1e9c62aa017.1543236456.git.horms+renesas@verge.net.au> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181126_045653_569931_0ADFB542 X-CRM114-Status: GOOD ( 12.91 ) 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: Fabrizio Castro , Simon Horman , Magnus Damm , linux-arm-kernel@lists.infradead.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 From: Fabrizio Castro This commit adds QSPI flash support to the iwg23s board specific device tree. Signed-off-by: Fabrizio Castro Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts b/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts index 52f23b858885..40b7f98d6013 100644 --- a/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts +++ b/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts @@ -96,6 +96,11 @@ power-source = <1800>; }; + qspi0_pins: qspi0 { + groups = "qspi0_ctrl", "qspi0_data2"; + function = "qspi0"; + }; + scif1_pins: scif1 { groups = "scif1_data_b"; function = "scif1"; @@ -114,6 +119,27 @@ }; }; +&qspi0 { + pinctrl-0 = <&qspi0_pins>; + pinctrl-names = "default"; + + status = "okay"; + + /* WARNING - This device contains the bootloader. Handle with care. */ + flash: flash@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "issi,is25lp016d", "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <133000000>; + spi-tx-bus-width = <1>; + spi-rx-bus-width = <1>; + m25p,fast-read; + spi-cpol; + spi-cpha; + }; +}; + &rwdt { timeout-sec = <60>; status = "okay";