]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: rockchip: mark eeprom as read-only for Radxa E52C
authorChukun Pan <amadeus@jmu.edu.cn>
Sun, 10 Aug 2025 10:00:19 +0000 (18:00 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Sep 2025 17:02:17 +0000 (19:02 +0200)
[ Upstream commit f18c9e79bbe65627805fff6aac3ea96b6b55b53d ]

The eeprom on the Radxa E52C SBC contains manufacturer data
such as the mac address, so it should be marked as read-only.

Fixes: 9be4171219b6 ("arm64: dts: rockchip: Add Radxa E52C")
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: https://lore.kernel.org/r/20250810100020.445053-2-amadeus@jmu.edu.cn
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts

index e04f21d8c831ebe8386b6e952ec8320ab2bca918..431ff77d4518033a1d4c9e89f31adf28e2cc12c2 100644 (file)
                compatible = "belling,bl24c16a", "atmel,24c16";
                reg = <0x50>;
                pagesize = <16>;
+               read-only;
                vcc-supply = <&vcc_3v3_pmu>;
        };
 };