]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: rockchip: Make eeprom read-only for Radxa ROCK 3C/5A/5C
authorFUKAUMI Naoki <naoki@radxa.com>
Thu, 8 Jan 2026 03:42:52 +0000 (03:42 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 13 Jan 2026 13:54:37 +0000 (14:54 +0100)
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>
arch/arm64/boot/dts/rockchip/rk3566-rock-3c.dts
arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts

index 80ac40555e023a7fb3660b0372cb1e06013fdf6d..fa28b32f6910835f5dfd7aad90c53276e903059c 100644 (file)
                compatible = "belling,bl24c16a", "atmel,24c16";
                reg = <0x50>;
                pagesize = <16>;
+               read-only;
                vcc-supply = <&vcca1v8_pmu>;
        };
 };
index 045a853d39ec757dd83003ccaef072fab873559f..0991f6a21190058aea2dc305d96150872971cacf 100644 (file)
                compatible = "belling,bl24c16a", "atmel,24c16";
                reg = <0x50>;
                pagesize = <16>;
+               read-only;
                vcc-supply = <&vcc_3v3_pmu>;
        };
 };
index b837c4e08cec075e48264e3ff9ec4ed57e978446..7fe42f4ff82798ee90d792008809afc95205bbe1 100644 (file)
                compatible = "belling,bl24c16a", "atmel,24c16";
                reg = <0x50>;
                pagesize = <16>;
+               read-only;
                vcc-supply = <&vcc_3v3_pmu>;
        };
 };