[PATCH v1 09/13] arm64: dts: rockchip: rock-5a: add I2C EEPROM
Sebastian Reichel
sebastian.reichel at collabora.com
Mon Jul 10 09:52:24 PDT 2023
Add the I2C EEPROM to the Rock 5A DT.
Signed-off-by: Sebastian Reichel <sebastian.reichel at collabora.com>
---
arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
index 4c6c87d462e9..0b18d4230eef 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
@@ -163,6 +163,16 @@ regulator-state-mem {
};
};
+&i2c2 {
+ status = "okay";
+
+ eeprom: eeprom at 50 {
+ compatible = "belling,bl24c16a", "atmel,24c16";
+ reg = <0x50>;
+ pagesize = <16>;
+ };
+};
+
&i2c7 {
status = "okay";
--
2.40.1
More information about the linux-arm-kernel
mailing list