Devicetree
 help / color / mirror / Atom feed
From: Zixian Zeng <sycamoremoon376@gmail.com>
To: Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, Yixun Lan <dlan@kernel.org>,
	Troy Mitchell <troy.mitchell@linux.spacemit.com>,
	Paul Walmsley <pjw@kernel.org>,
	Palmer Dabbelt <palmer@dabbelt.com>,
	Albert Ou <aou@eecs.berkeley.edu>,
	Alexandre Ghiti <alex@ghiti.fr>,
	Aurelien Jarno <aurelien@aurel32.net>,
	Vivian Wang <wangruikang@iscas.ac.cn>,
	Michael Opdenacker <michael.opdenacker@rootcommit.com>,
	Junhui Liu <junhui.liu@pigmoral.tech>,
	Chukun Pan <amadeus@jmu.edu.cn>,
	Anand Moon <linux.amoon@gmail.com>,
	Andre Heider <a.heider@gmail.com>, Rob Herring <robh@kernel.org>
Cc: Zixian Zeng <sycamoremoon376@gmail.com>,
	devicetree@vger.kernel.org, linux-riscv@lists.infradead.org,
	spacemit@lists.linux.dev
Subject: [PATCH v2 1/4] riscv: dts: spacemit: k1-bananapi-f3: fix EEPROM page size
Date: Thu,  3 Dec 2026 11:36:19 +0800	[thread overview]
Message-ID: <20261203-fix-bpf3-eeprom-v2-1-4e62be7bf32a@gmail.com> (raw)
In-Reply-To: <20261203-fix-bpf3-eeprom-v2-0-4e62be7bf32a@gmail.com>

The Banana Pi BPI-F3 carries a Giantec GT24C02B EEPROM: 256 bytes
with an 8-byte write page. The device tree declares pagesize = <16>,
which does not match the datasheet.

Fixes: bfce75e2345f ("riscv: dts: spacemit: add 24c02 eeprom on BPI-F3")
Tested-by: Anand Moon <linux.amoon@gmail.com>
Signed-off-by: Zixian Zeng <sycamoremoon376@gmail.com>
---
 arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts b/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
index 58035d886bf6..1db896536256 100644
--- a/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
+++ b/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
@@ -195,7 +195,7 @@ eeprom@50 {
 		compatible = "atmel,24c02";
 		reg = <0x50>;
 		vcc-supply = <&buck3_1v8>; /* EEPROM_VCC1V8 */
-		pagesize = <16>;
+		pagesize = <8>;
 		read-only;
 		size = <256>;
 

-- 
2.56.0


  reply	other threads:[~2026-12-03  3:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03  3:36 [PATCH v2 0/4] riscv: dts: spacemit: k1: fix EEPROM page size on boards Zixian Zeng
2026-12-03  3:36 ` Zixian Zeng [this message]
2026-12-03  3:36 ` [PATCH v2 2/4] riscv: dts: spacemit: k1-bananapi-cm6: fix core board EEPROM page size Zixian Zeng
2026-12-03  3:36 ` [PATCH v2 3/4] riscv: dts: spacemit: k1-orangepi-r2s: fix " Zixian Zeng
2026-12-03  3:36 ` [PATCH v2 4/4] riscv: dts: spacemit: k1-orangepi-rv2: " Zixian Zeng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261203-fix-bpf3-eeprom-v2-1-4e62be7bf32a@gmail.com \
    --to=sycamoremoon376@gmail.com \
    --cc=a.heider@gmail.com \
    --cc=alex@ghiti.fr \
    --cc=amadeus@jmu.edu.cn \
    --cc=aou@eecs.berkeley.edu \
    --cc=aurelien@aurel32.net \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dlan@kernel.org \
    --cc=junhui.liu@pigmoral.tech \
    --cc=krzk+dt@kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=linux.amoon@gmail.com \
    --cc=michael.opdenacker@rootcommit.com \
    --cc=palmer@dabbelt.com \
    --cc=pjw@kernel.org \
    --cc=robh@kernel.org \
    --cc=spacemit@lists.linux.dev \
    --cc=troy.mitchell@linux.spacemit.com \
    --cc=wangruikang@iscas.ac.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox