* [PATCH 1/4] dt-bindings: eeprom: at24: Add compatible for Belling BL24C04A
2025-12-02 4:56 [PATCH 0/4] Add Belling EEPROMs found in Radxa boards FUKAUMI Naoki
@ 2025-12-02 4:56 ` FUKAUMI Naoki
2025-12-02 4:56 ` [PATCH 2/4] dt-bindings: eeprom: at24: Add compatible for Belling BL24C16F FUKAUMI Naoki
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: FUKAUMI Naoki @ 2025-12-02 4:56 UTC (permalink / raw)
To: heiko
Cc: brgl, robh, krzk+dt, conor+dt, dsimic, didi.debian, wens,
nicolas.frattaroli, detlev.casanova, stephen, sebastian.reichel,
linux-i2c, devicetree, linux-rockchip, FUKAUMI Naoki
Add the compatible for Belling BL24C04A 4Kb EEPROM.
Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
---
Documentation/devicetree/bindings/eeprom/at24.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/eeprom/at24.yaml b/Documentation/devicetree/bindings/eeprom/at24.yaml
index c21282634780..04892749f4ca 100644
--- a/Documentation/devicetree/bindings/eeprom/at24.yaml
+++ b/Documentation/devicetree/bindings/eeprom/at24.yaml
@@ -116,6 +116,7 @@ properties:
- const: atmel,24c02
- items:
- enum:
+ - belling,bl24c04a
- giantec,gt24c04a
- onnn,cat24c04
- onnn,cat24c05
--
2.43.0
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH 2/4] dt-bindings: eeprom: at24: Add compatible for Belling BL24C16F
2025-12-02 4:56 [PATCH 0/4] Add Belling EEPROMs found in Radxa boards FUKAUMI Naoki
2025-12-02 4:56 ` [PATCH 1/4] dt-bindings: eeprom: at24: Add compatible for Belling BL24C04A FUKAUMI Naoki
@ 2025-12-02 4:56 ` FUKAUMI Naoki
2025-12-02 7:44 ` Krzysztof Kozlowski
2025-12-02 4:56 ` [PATCH 3/4] arm64: dts: rockchip: Add EEPROMs for Radxa ROCK 4 boards FUKAUMI Naoki
2025-12-02 4:56 ` [PATCH 4/4] arm64: dts: rockchip: Add EEPROMs for Radxa boards FUKAUMI Naoki
3 siblings, 1 reply; 7+ messages in thread
From: FUKAUMI Naoki @ 2025-12-02 4:56 UTC (permalink / raw)
To: heiko
Cc: brgl, robh, krzk+dt, conor+dt, dsimic, didi.debian, wens,
nicolas.frattaroli, detlev.casanova, stephen, sebastian.reichel,
linux-i2c, devicetree, linux-rockchip, FUKAUMI Naoki
Add the compatible for Belling BL24C16F 16Kb EEPROM.
Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
---
Documentation/devicetree/bindings/eeprom/at24.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/eeprom/at24.yaml b/Documentation/devicetree/bindings/eeprom/at24.yaml
index 04892749f4ca..8f16fa2ba17a 100644
--- a/Documentation/devicetree/bindings/eeprom/at24.yaml
+++ b/Documentation/devicetree/bindings/eeprom/at24.yaml
@@ -125,6 +125,7 @@ properties:
- items:
- enum:
- belling,bl24c16a
+ - belling,bl24c16f
- renesas,r1ex24016
- const: atmel,24c16
- items:
--
2.43.0
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH 2/4] dt-bindings: eeprom: at24: Add compatible for Belling BL24C16F
2025-12-02 4:56 ` [PATCH 2/4] dt-bindings: eeprom: at24: Add compatible for Belling BL24C16F FUKAUMI Naoki
@ 2025-12-02 7:44 ` Krzysztof Kozlowski
2025-12-02 8:43 ` FUKAUMI Naoki
0 siblings, 1 reply; 7+ messages in thread
From: Krzysztof Kozlowski @ 2025-12-02 7:44 UTC (permalink / raw)
To: FUKAUMI Naoki, heiko
Cc: brgl, robh, krzk+dt, conor+dt, dsimic, didi.debian, wens,
nicolas.frattaroli, detlev.casanova, stephen, sebastian.reichel,
linux-i2c, devicetree, linux-rockchip
On 02/12/2025 05:56, FUKAUMI Naoki wrote:
> Add the compatible for Belling BL24C16F 16Kb EEPROM.
>
> Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
> ---
That's just one patch. No need for two one liners, just unneeded effort
in acking.
Best regards,
Krzysztof
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/4] dt-bindings: eeprom: at24: Add compatible for Belling BL24C16F
2025-12-02 7:44 ` Krzysztof Kozlowski
@ 2025-12-02 8:43 ` FUKAUMI Naoki
0 siblings, 0 replies; 7+ messages in thread
From: FUKAUMI Naoki @ 2025-12-02 8:43 UTC (permalink / raw)
To: Krzysztof Kozlowski, heiko
Cc: brgl, robh, krzk+dt, conor+dt, dsimic, didi.debian, wens,
nicolas.frattaroli, detlev.casanova, stephen, sebastian.reichel,
linux-i2c, devicetree, linux-rockchip
Hi Krzysztof,
On 12/2/25 16:44, Krzysztof Kozlowski wrote:
> On 02/12/2025 05:56, FUKAUMI Naoki wrote:
>> Add the compatible for Belling BL24C16F 16Kb EEPROM.
>>
>> Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
>> ---
>
> That's just one patch. No need for two one liners, just unneeded effort
> in acking.
I apologize for the inconvenience. I will combine the two patches and
resend them as one.
Best regards,
--
FUKAUMI Naoki
Radxa Computer (Shenzhen) Co., Ltd.
> Best regards,
> Krzysztof
>
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 3/4] arm64: dts: rockchip: Add EEPROMs for Radxa ROCK 4 boards
2025-12-02 4:56 [PATCH 0/4] Add Belling EEPROMs found in Radxa boards FUKAUMI Naoki
2025-12-02 4:56 ` [PATCH 1/4] dt-bindings: eeprom: at24: Add compatible for Belling BL24C04A FUKAUMI Naoki
2025-12-02 4:56 ` [PATCH 2/4] dt-bindings: eeprom: at24: Add compatible for Belling BL24C16F FUKAUMI Naoki
@ 2025-12-02 4:56 ` FUKAUMI Naoki
2025-12-02 4:56 ` [PATCH 4/4] arm64: dts: rockchip: Add EEPROMs for Radxa boards FUKAUMI Naoki
3 siblings, 0 replies; 7+ messages in thread
From: FUKAUMI Naoki @ 2025-12-02 4:56 UTC (permalink / raw)
To: heiko
Cc: brgl, robh, krzk+dt, conor+dt, dsimic, didi.debian, wens,
nicolas.frattaroli, detlev.casanova, stephen, sebastian.reichel,
linux-i2c, devicetree, linux-rockchip, FUKAUMI Naoki
The BL24C04A EEPROM is found in the schematics for Radxa ROCK Pi 4A+
and 4B+. [1] [2]
The BL24C16A EEPROM is found in the schematics for Radxa ROCK 4C+, 4SE,
Radxa ROCK Pi 4A, 4B, and 4C. [3] [4] [5] [6] [7]
However, newer boards/batches should have the BL24C16A, but older ones
may have the BL24C04A. (the ROCK Pi 4B+ I own has a 16Kb EEPROM)
For the ROCK Pi 4s (except the relatively new ROCK 4SE), add the
BL24C04A eeprom node for backward compatibility.
For the ROCK 4SE, add the BL24C16A eeprom node.
These are designed to have data written during factory programming
(regardless of whether data is actually written or not), and we at
Radxa permit users to read the data but not write to it. [8]
Therefore, we will add a read-only property to the eeprom node.
[1] https://dl.radxa.com/rockpi4/docs/hw/rockpi4/4ap/radxa_rock_4ap_v1730_schematic.pdf p.17
[2] https://dl.radxa.com/rockpi4/docs/hw/rockpi4/4bp/radxa_rock_4bp_v1730_schematic.pdf p.17
[3] https://dl.radxa.com/rockpi4/docs/hw/rockpi4/ROCK-4C+-V1.411-SCH.pdf p.22
[4] https://dl.radxa.com/rockpi4/docs/hw/rockpi4/ROCK-4-SE-V1.53-SCH.pdf p.17
[5] https://dl.radxa.com/rockpi4/docs/hw/rockpi4/4a/ROCK_4A_V1.52_SCH.pdf p.17
[6] https://dl.radxa.com/rockpi4/docs/hw/rockpi4/4b/ROCK_4B_v1.52_SCH.pdf p.17
[7] https://dl.radxa.com/rockpi4/docs/hw/rockpi4/rockpi4c_v12_sch_20200620.pdf p.17
[8] https://github.com/radxa/u-boot/blob/next-dev-v2024.10/drivers/misc/radxa-i2c-eeprom.c
Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
---
arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts | 8 ++++++++
arch/arm64/boot/dts/rockchip/rk3399-rock-4se.dts | 12 ++++++++++++
arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi | 8 ++++++++
3 files changed, 28 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts
index 74160cf89188..f95fd92d58ba 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts
@@ -453,6 +453,14 @@ regulator-state-mem {
regulator-off-in-suspend;
};
};
+
+ eeprom@50 {
+ compatible = "belling,bl24c04a", "atmel,24c04";
+ reg = <0x50>;
+ pagesize = <16>;
+ read-only;
+ vcc-supply = <&vcc_3v0_s0>;
+ };
};
&i2c3 {
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-4se.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock-4se.dts
index a8b8d4acc337..c0b931b3c640 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-rock-4se.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-4se.dts
@@ -8,6 +8,8 @@
#include "rk3399-t.dtsi"
#include "rk3399-rock-pi-4.dtsi"
+/delete-node/ &eeprom;
+
/ {
model = "Radxa ROCK 4SE";
compatible = "radxa,rock-4se", "rockchip,rk3399";
@@ -17,6 +19,16 @@ aliases {
};
};
+&i2c0 {
+ eeprom@50 {
+ compatible = "belling,bl24c16a", "atmel,24c16";
+ reg = <0x50>;
+ pagesize = <16>;
+ read-only;
+ vcc-supply = <&vcc_3v0>;
+ };
+};
+
&sdio0 {
status = "okay";
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi
index 046dbe329017..a8ab043e4062 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi
@@ -456,6 +456,14 @@ regulator-state-mem {
regulator-off-in-suspend;
};
};
+
+ eeprom: eeprom@50 {
+ compatible = "belling,bl24c04a", "atmel,24c04";
+ reg = <0x50>;
+ pagesize = <16>;
+ read-only;
+ vcc-supply = <&vcc_3v0>;
+ };
};
&i2c1 {
--
2.43.0
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH 4/4] arm64: dts: rockchip: Add EEPROMs for Radxa boards
2025-12-02 4:56 [PATCH 0/4] Add Belling EEPROMs found in Radxa boards FUKAUMI Naoki
` (2 preceding siblings ...)
2025-12-02 4:56 ` [PATCH 3/4] arm64: dts: rockchip: Add EEPROMs for Radxa ROCK 4 boards FUKAUMI Naoki
@ 2025-12-02 4:56 ` FUKAUMI Naoki
3 siblings, 0 replies; 7+ messages in thread
From: FUKAUMI Naoki @ 2025-12-02 4:56 UTC (permalink / raw)
To: heiko
Cc: brgl, robh, krzk+dt, conor+dt, dsimic, didi.debian, wens,
nicolas.frattaroli, detlev.casanova, stephen, sebastian.reichel,
linux-i2c, devicetree, linux-rockchip, FUKAUMI Naoki
The BL24C16A EEPROM is found in the schematics for Radxa CM3I, Radxa
ROCK 3A, 3B, 5B+, and 5T. [1] [2] [3] [4] [5]
The BL24C16F EEPROM is found in the schematic for Radxa ROCK 4D. [6]
Add these eeprom nodes.
These are designed to have data written during factory programming
(regardless of whether data is actually written or not), and we at
Radxa permit users to read the data but not write to it. [8]
Therefore, we will add a read-only property to the eeprom node.
[1] https://dl.radxa.com/cm3i/docs/hw/radxa_cm3i_v1310_schematic.pdf p.8
[2] https://dl.radxa.com/rock3/docs/hw/3a/radxa_rock_3a_v1310_schematic.pdf p.7
[3] https://dl.radxa.com/rock3/docs/hw/3b/Radxa_ROCK_3B_V1.51_SCH.pdf p.35
[4] https://dl.radxa.com/rock5/5b+/docs/hw/radxa_rock5bp_v1.2_schematic.pdf p.29
[5] https://dl.radxa.com/rock5/5t/docs/hw/radxa_rock5t_schematic_v1.2_20250109.pdf p.36
[6] https://dl.radxa.com/rock4/4d/docs/hw/Radxa_ROCK_4D_SCH_V1.12.pdf p.23
[7] https://github.com/radxa/u-boot/blob/next-dev-v2024.10/drivers/misc/radxa-i2c-eeprom.c
Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
---
.../arm64/boot/dts/rockchip/rk3568-radxa-cm3i.dtsi | 10 +++++++++-
arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts | 8 ++++++++
arch/arm64/boot/dts/rockchip/rk3568-rock-3b.dts | 8 ++++++++
arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts | 14 ++++++++++++++
.../boot/dts/rockchip/rk3588-rock-5b-plus.dts | 10 ++++++++++
arch/arm64/boot/dts/rockchip/rk3588-rock-5t.dts | 10 ++++++++++
6 files changed, 59 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3568-radxa-cm3i.dtsi b/arch/arm64/boot/dts/rockchip/rk3568-radxa-cm3i.dtsi
index 729e38b9f620..f97a0eb7f7c0 100644
--- a/arch/arm64/boot/dts/rockchip/rk3568-radxa-cm3i.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3568-radxa-cm3i.dtsi
@@ -321,7 +321,7 @@ regulator-state-mem {
};
};
- vcc_3v3: SWITCH_REG1 {
+ gpio_vref: vcc_3v3: SWITCH_REG1 {
regulator-name = "vcc_3v3";
regulator-always-on;
regulator-boot-on;
@@ -340,6 +340,14 @@ regulator-state-mem {
};
};
};
+
+ eeprom@50 {
+ compatible = "belling,bl24c16a", "atmel,24c16";
+ reg = <0x50>;
+ pagesize = <16>;
+ read-only;
+ vcc-supply = <&gpio_vref>;
+ };
};
&pinctrl {
diff --git a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts
index 44cfdfeed668..9214e38648f2 100644
--- a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts
@@ -532,6 +532,14 @@ regulator-state-mem {
};
};
};
+
+ eeprom@50 {
+ compatible = "belling,bl24c16a", "atmel,24c16";
+ reg = <0x50>;
+ pagesize = <16>;
+ read-only;
+ vcc-supply = <&vcc3v3_pmu>;
+ };
};
&i2c3 {
diff --git a/arch/arm64/boot/dts/rockchip/rk3568-rock-3b.dts b/arch/arm64/boot/dts/rockchip/rk3568-rock-3b.dts
index 3d0c1ccfaa79..69001e453732 100644
--- a/arch/arm64/boot/dts/rockchip/rk3568-rock-3b.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3568-rock-3b.dts
@@ -480,6 +480,14 @@ regulator-state-mem {
};
};
};
+
+ eeprom@50 {
+ compatible = "belling,bl24c16a", "atmel,24c16";
+ reg = <0x50>;
+ pagesize = <16>;
+ read-only;
+ vcc-supply = <&vcc3v3_sys>;
+ };
};
&i2c5 {
diff --git a/arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts b/arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts
index 7023dc326d0e..899a84b1fbf9 100644
--- a/arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts
@@ -682,6 +682,20 @@ hym8563: rtc@51 {
};
};
+&i2c6 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c6m3_xfer>;
+ status = "okay";
+
+ eeprom@50 {
+ compatible = "belling,bl24c16f", "atmel,24c16";
+ reg = <0x50>;
+ pagesize = <16>;
+ read-only;
+ vcc-supply = <&vcc_3v3_s3>;
+ };
+};
+
&mdio0 {
rgmii_phy0: ethernet-phy@1 {
compatible = "ethernet-phy-id001c.c916";
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus.dts
index 07a840d9b385..30d15c7e860a 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus.dts
@@ -69,6 +69,16 @@ wwan-wake-n-hog {
};
};
+&i2c1 {
+ eeprom@50 {
+ compatible = "belling,bl24c16a", "atmel,24c16";
+ reg = <0x50>;
+ pagesize = <16>;
+ read-only;
+ vcc-supply = <&vcc_3v3_s3>;
+ };
+};
+
&pcie30phy {
data-lanes = <1 1 2 2>;
};
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5t.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5t.dts
index 0dd90c744380..425036146b6d 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5t.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5t.dts
@@ -60,6 +60,16 @@ &hdmi_receiver {
status = "okay";
};
+&i2c1 {
+ eeprom@50 {
+ compatible = "belling,bl24c16a", "atmel,24c16";
+ reg = <0x50>;
+ pagesize = <16>;
+ read-only;
+ vcc-supply = <&vcc_3v3_s3>;
+ };
+};
+
&pcie2x1l1 {
pinctrl-names = "default";
pinctrl-0 = <&pcie2_1_rst>;
--
2.43.0
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply related [flat|nested] 7+ messages in thread