Skip to content

Commit 4ad1a75

Browse files
RadxaNaokimmind
authored andcommitted
arm64: dts: rockchip: Make eeprom read-only for Radxa ROCK 3C/5A/5C
The BL24C16 EEPROM implemented on the Radxa ROCK 3C, 5A, and 5C [1] [2] [3] is 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. [4] Therefore, we will add a read-only property to the eeprom node. [1] https://dl.radxa.com/rock3/docs/hw/3c/v1400/radxa_rock_3c_v1400_schematic.pdf p.13 [2] https://dl.radxa.com/rock5/5a/docs/hw/radxa_rock5a_V1.1_sch.pdf p.19 [3] https://dl.radxa.com/rock5/5c/docs/hw/v1100/radxa_rock_5c_schematic_v1100.pdf p.18 [4] 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> Link: https://patch.msgid.link/20260108034252.2713-1-naoki@radxa.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 26cfaee commit 4ad1a75

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3566-rock-3c.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,7 @@
466466
compatible = "belling,bl24c16a", "atmel,24c16";
467467
reg = <0x50>;
468468
pagesize = <16>;
469+
read-only;
469470
vcc-supply = <&vcca1v8_pmu>;
470471
};
471472
};

arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@
233233
compatible = "belling,bl24c16a", "atmel,24c16";
234234
reg = <0x50>;
235235
pagesize = <16>;
236+
read-only;
236237
vcc-supply = <&vcc_3v3_pmu>;
237238
};
238239
};

arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@
325325
compatible = "belling,bl24c16a", "atmel,24c16";
326326
reg = <0x50>;
327327
pagesize = <16>;
328+
read-only;
328329
vcc-supply = <&vcc_3v3_pmu>;
329330
};
330331
};

0 commit comments

Comments
 (0)