From patchwork Fri Oct 4 17:32:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 13822852 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4CA253E49D; Fri, 4 Oct 2024 17:32:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.160.252.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728063172; cv=none; b=CQUO5HFuYCvT0Plf4iK29x0Allj9i/jU53Sa7W3+3M2XeIXXN+cptltSRCsux93NloMrf+FoiLjFk5yRC6XstBchrjCp6mWwQpP0VWP3L7QV5oL5CsDwWpCrtSHf5G3eyJPcKmRMmqW3if6AorQeJQK3zeunLSeEyjr71cj1vEI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728063172; c=relaxed/simple; bh=Kp07i5SXOKodjMo48XNn2U8zeRawZILe6R6C672UpMc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=H9hKnYukouXaUJurLncXkIb3FgvI/3pANHQP/3iW5GzZwkzW6+U1dXc9MV1ScGKyMj0xV5fcKcGA22Ymu7/I5DPHJT0oXcDCQXU3se+61H7s4Ne0lvMBcFJ2tnoFvqITuGI0xUqQ9DYzlvQzdTXEmaMJQvRMv4KW4OzhPMHrVNs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com; spf=pass smtp.mailfrom=bp.renesas.com; arc=none smtp.client-ip=210.160.252.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bp.renesas.com X-IronPort-AV: E=Sophos;i="6.11,178,1725289200"; d="scan'208";a="224808644" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 05 Oct 2024 02:32:42 +0900 Received: from localhost.localdomain (unknown [10.226.92.178]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 0D1534031864; Sat, 5 Oct 2024 02:32:37 +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 v5 0/2] Enable serial NOR flash on RZ/G2UL SMARC EVK Date: Fri, 4 Oct 2024 18:32:30 +0100 Message-ID: <20241004173235.74307-1-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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} v4->v5: * Updated bl2 size to avoid 4 KiB gap between bl2 and fip partitions. 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(-)