]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: rockchip: add EEPROM found on RK3399 Puma Haikou
authorQuentin Schulz <quentin.schulz@cherry.de>
Tue, 18 Feb 2025 11:49:17 +0000 (12:49 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 22 Feb 2025 23:44:37 +0000 (00:44 +0100)
The Haikou carrierboard has an EEPROM on LVDS_BLC_CLK/DAT which are
signals that can carry either I2C or be used as HPD for eDP0/1.

Only eDP0 is routed from RK3399 Puma SoM but only exposed on Haikou
through the Video Connector, a fake PCIe connector. So to be able to use
eDP one would need to use a Device Tree overlay. Therefore, let's
default to having an EEPROM in Haikou carrierboard DTS.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Link: https://lore.kernel.org/r/20250218-tsd-align-haikou-v1-6-5c44d1dd8658@cherry.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dts

index 28d24caffe12f58800ada1348a1cbd8a07e0f50a..300529bdad1db59c1a4e94e15350d5040a1fc9e2 100644 (file)
        };
 };
 
+&i2c7 {
+       eeprom@50 {
+               reg = <0x50>;
+               compatible = "atmel,24c01";
+               pagesize = <8>;
+               size = <128>;
+               vcc-supply = <&vcc3v3_baseboard>;
+       };
+};
+
 &i2s0 {
        status = "okay";
 };