arm64: dts: ti: k3-j721e-sk: Enable wakeup_i2c0 and eeprom
authorNishanth Menon <nm@ti.com>
Thu, 1 Jun 2023 18:31:44 +0000 (13:31 -0500)
committerVignesh Raghavendra <vigneshr@ti.com>
Thu, 15 Jun 2023 05:35:49 +0000 (11:05 +0530)
Enable wakeup_i2c and use un-used pinmux. While at it, describe the
board detection eeprom present on the board.

Signed-off-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/20230601183151.1000157-3-nm@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-j721e-sk.dts

index 1969c62262a2822f7f95709b1da150753223c1c7..0b15c44e0e668e4b926c010fb8671f8ba2ef7eef 100644 (file)
        pinctrl-0 = <&wkup_uart0_pins_default>;
 };
 
+&wkup_i2c0 {
+       status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&wkup_i2c0_pins_default>;
+       clock-frequency = <400000>;
+
+       eeprom@51 {
+               /* AT24C512C-MAHM-T */
+               compatible = "atmel,24c512";
+               reg = <0x51>;
+       };
+};
+
 &mcu_uart0 {
        status = "okay";
        pinctrl-names = "default";