[PATCH v2 2/2] arm64: dts: ti: k3-j7200-som: Enable I2C

Udit Kumar u-kumar1 at ti.com
Mon Apr 17 22:05:14 PDT 2023


This patch enables wkup_i2c0 node in board dts file.
and underneath eeprom CAV24C256WE.

J7200 User Guide (Section 4.3, Table 4-2) :
https://www.ti.com/lit/ug/spruiw7a/spruiw7a.pdf

Signed-off-by: Udit Kumar <u-kumar1 at ti.com>
---
 arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi
index fa44ed4c17d5..137492ae89c4 100644
--- a/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi
@@ -214,6 +214,14 @@ exp_som: gpio at 21 {
 	};
 };
 
+&wkup_i2c0 {
+	status = "okay";
+	eeprom at 50 {
+		compatible = "atmel,24c256";
+		reg = <0x50>;
+	};
+};
+
 &ospi0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;
-- 
2.34.1




More information about the linux-arm-kernel mailing list