From patchwork Sun Sep 1 18:34:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 13786584 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6A505C54FC6 for ; Sun, 1 Sep 2024 18:39:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=/igHlogd0PYZIl6Ms5zAHdm/n4WMvUaUgMbu9kG7ik4=; b=RwkjE6/EUoc9Ja cww1J8djakRLp1XkTEfszaDBOusmxleJJ/pXmeF8VfmTbL1mLErVjagF8sFfkHwegjhxBY4mRFjwN 3HXHHZ5e24QIImCDK5VOa8DkztTyjHjBlciB6GTMLPVdbl3U4YGFfhP4wV/ia3Q1Fbe0Ag8Qdk5kb Pz6+FtzN372ofjX6mG1rQrRQEw91GhOJFi4h2zCcMhYCcdWmjU5G+8f7wwYQiG/CX5jBEyuphT7j7 fiTt59isQx5fYX5V59X2eKt1ZCOtqBfJFOc5DJ3j5q6cDA/8EZsJFmj18sXhVfgiccXlQRw+GiyJy 3vFR9C8q/QJLvkyuri7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1skpTj-0000000C9Gf-3xhF; Sun, 01 Sep 2024 18:39:11 +0000 Received: from relmlor2.renesas.com ([210.160.252.172] helo=relmlie6.idc.renesas.com) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1skpPG-0000000C8S6-1fgO for linux-riscv@lists.infradead.org; Sun, 01 Sep 2024 18:34:36 +0000 X-IronPort-AV: E=Sophos;i="6.10,194,1719846000"; d="scan'208";a="221160764" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 02 Sep 2024 03:34:30 +0900 Received: from localhost.localdomain (unknown [10.226.92.9]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 5AE2B40071EC; Mon, 2 Sep 2024 03:34:26 +0900 (JST) From: Biju Das To: Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Biju Das , Geert Uytterhoeven , Magnus Damm , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, Prabhakar Mahadev Lad , Biju Das Subject: [PATCH v4 0/2] Enable serial NOR flash on RZ/G2UL SMARC EVK Date: Sun, 1 Sep 2024 19:34:16 +0100 Message-ID: <20240901183422.31600-1-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240901_113434_564005_92978BD6 X-CRM114-Status: UNSURE ( 7.66 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org This patch series aims to enable serial NOR flash on RZ/G2UL SMARC EVK. Also update partition table for spi-nor flash on RZ{G2L,G2LC,V2L}, so that we can flash bootloaders in Linux by executing the below commands: flash_erase /dev/mtd0 0 0 flash_erase /dev/mtd1 0 0 mtd_debug write /dev/mtd0 0 ${BL2_FILE_SIZE} ${BL2_IMAGE} mtd_debug write /dev/mtd1 512 ${FIP_FILE_SIZE} ${FIP_IMAGE} v3->v4: * Dropped patch#1 from the series [1] as it is aceepted. * Merged patch#2 for [1] and patch from [2] * Updated partition table for spi-nor flash. * Removed Rb tag from Geert as there are some changes w.r.to partition table. [1] https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=885350 [2] https://patchwork.kernel.org/project/linux-renesas-soc/patch/20230901075932.105822-2-biju.das.jz@bp.renesas.com/ v2->v3: * Dropped subnodes, as all pins use the same power-source value. v1->v2: * Enabled 4-bit tx support Biju Das (2): arm64: dts: renesas: rzg2ul-smarc-som: Enable serial NOR flash arm64: dts: renesas: rz{g2l,g2lc}-smarc-som: Update partition table for spi-nor flash .../boot/dts/renesas/rzg2l-smarc-som.dtsi | 15 +++++-- .../boot/dts/renesas/rzg2lc-smarc-som.dtsi | 15 +++++-- .../boot/dts/renesas/rzg2ul-smarc-som.dtsi | 45 +++++++++++++++++++ .../boot/dts/renesas/rzfive-smarc-som.dtsi | 4 ++ 4 files changed, 71 insertions(+), 8 deletions(-)