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 3/4] riscv: dts: spacemit: k1-orangepi-r2s: fix EEPROM page size
Date: Thu, 3 Dec 2026 11:36:21 +0800 [thread overview]
Message-ID: <20261203-fix-bpf3-eeprom-v2-3-4e62be7bf32a@gmail.com> (raw)
In-Reply-To: <20261203-fix-bpf3-eeprom-v2-0-4e62be7bf32a@gmail.com>
The OrangePi R2S carries a Giantec GT24C02B EEPROM with an 8-byte
write page. The device tree declares pagesize = <16>, which does not
match the datasheet.
Fixes: ac436e6879f5 ("riscv: dts: spacemit: enable onboard eeprom for OrangePi")
Signed-off-by: Zixian Zeng <sycamoremoon376@gmail.com>
---
arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts b/arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts
index eb77aae9d600..a89970b363ce 100644
--- a/arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts
+++ b/arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts
@@ -158,7 +158,7 @@ &i2c2 {
eeprom@50 {
compatible = "atmel,24c02";
reg = <0x50>;
- pagesize = <16>;
+ pagesize = <8>;
size = <256>;
read-only;
vcc-supply = <&buck3_1v8>;
--
2.56.0
WARNING: multiple messages have this Message-ID (diff)
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 3/4] riscv: dts: spacemit: k1-orangepi-r2s: fix EEPROM page size
Date: Thu, 3 Dec 2026 11:36:21 +0800 [thread overview]
Message-ID: <20261203-fix-bpf3-eeprom-v2-3-4e62be7bf32a@gmail.com> (raw)
In-Reply-To: <20261203-fix-bpf3-eeprom-v2-0-4e62be7bf32a@gmail.com>
The OrangePi R2S carries a Giantec GT24C02B EEPROM with an 8-byte
write page. The device tree declares pagesize = <16>, which does not
match the datasheet.
Fixes: ac436e6879f5 ("riscv: dts: spacemit: enable onboard eeprom for OrangePi")
Signed-off-by: Zixian Zeng <sycamoremoon376@gmail.com>
---
arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts b/arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts
index eb77aae9d600..a89970b363ce 100644
--- a/arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts
+++ b/arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts
@@ -158,7 +158,7 @@ &i2c2 {
eeprom@50 {
compatible = "atmel,24c02";
reg = <0x50>;
- pagesize = <16>;
+ pagesize = <8>;
size = <256>;
read-only;
vcc-supply = <&buck3_1v8>;
--
2.56.0
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2026-12-03 3:37 UTC|newest]
Thread overview: 12+ 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
2026-12-03 3:36 ` [PATCH v2 1/4] riscv: dts: spacemit: k1-bananapi-f3: fix EEPROM page size Zixian Zeng
2026-12-03 3:36 ` Zixian Zeng
2026-12-03 3:36 ` [PATCH v2 2/4] riscv: dts: spacemit: k1-bananapi-cm6: fix core board " Zixian Zeng
2026-12-03 3:36 ` Zixian Zeng
2026-12-03 3:36 ` Zixian Zeng [this message]
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
2026-12-03 3:36 ` Zixian Zeng
2026-12-03 5:48 ` [PATCH v2 0/4] riscv: dts: spacemit: k1: fix EEPROM page size on boards Yixun Lan
2026-12-03 5:48 ` Yixun Lan
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-3-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.