From patchwork Wed Nov 28 13:03: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: 10702615 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 868DC13A4 for ; Wed, 28 Nov 2018 13:05:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 743C42B9A5 for ; Wed, 28 Nov 2018 13:05:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6890D2B9B9; Wed, 28 Nov 2018 13:05:48 +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 048462B9A5 for ; Wed, 28 Nov 2018 13:05:48 +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=AkB9xmjH2hKMHMA4to3qYz3vYR Go0d9aEk6A+Yzs13phWFXO9QXyoRk9Jfwh0kjFd8yZeoLj3XkMnl3XJtVZwrEmmqtCA37dH60O8cP yiVlCmzJnwG/7yXXk02gWvSEFK7Y1m+1nVyRPAk3ZeiPBJswZTAHrE+/gb9wc/Jy9v0JPlDZ1O9NM Zq2qeWBSnv167YfykbBuu7xqBXN05GrMPReOZBP5ufOgF4tFtsZF/k8on7Jptu74ORBERmWlkDOAs ESXlXaKsyOdy7C9ee5w8ZW27KZ5mGdx/tfMIGi/79VoVMub7nD+2OkdH8wlgQ3r4LTTzp2j7YnkFA QNs/lG2g==; 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 1gRzX8-0006fw-VI; Wed, 28 Nov 2018 13:05:38 +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 1gRzWN-0003Gc-8y for linux-arm-kernel@lists.infradead.org; Wed, 28 Nov 2018 13:05:03 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 04F2E25BEE7; Thu, 29 Nov 2018 00:03:24 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1543410204; bh=cs7t1mL1Zl+xU35THRrrklTuUZh/67dAvjf16K/lNkA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T3xcFc0lTiZmMtws3aY2BQY1wUYfYO3N+MNHFffbcshpLnijLqxsjNZAHM3qq1NaH /GDj6Q2TnOi38iHgBA7F3y3738pC356opRWKhLrBxMohgSqEQwFYjpxT6sMhxXHMc4 8/F87wRfQu1XdlOKx4ZVzKmAHkOi4owjnWNI1wuM= Received: by reginn.horms.nl (Postfix, from userid 7100) id 6B2B0940A3B; Wed, 28 Nov 2018 14:03:21 +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: Wed, 28 Nov 2018 14:03:17 +0100 Message-Id: <91f5c32dd0c8fc662694de4d8c5eeb61e4b4210b.1543409901.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-20181128_050451_625384_5B77A2C1 X-CRM114-Status: GOOD ( 12.75 ) 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";