Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: dts: ti: k3-j721s2-som-p0: Enable wakeup_i2c0 and eeprom

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>
Reviewed-by: Udit Kumar <u-kumar1@ti.com>
Link: https://lore.kernel.org/r/20230602153554.1571128-7-nm@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>

authored by

Nishanth Menon and committed by
Vignesh Raghavendra
9d0350e8 f5e9ee0b

+22
+22
arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi
··· 61 61 }; 62 62 }; 63 63 64 + &wkup_pmx2 { 65 + wkup_i2c0_pins_default: wkup-i2c0-pins-default { 66 + pinctrl-single,pins = < 67 + J721S2_WKUP_IOPAD(0x98, PIN_INPUT, 0) /* (H24) WKUP_I2C0_SCL */ 68 + J721S2_WKUP_IOPAD(0x9c, PIN_INPUT, 0) /* (H27) WKUP_I2C0_SDA */ 69 + >; 70 + }; 71 + }; 72 + 64 73 &main_pmx0 { 65 74 main_i2c0_pins_default: main-i2c0-pins-default { 66 75 pinctrl-single,pins = < ··· 83 74 J721S2_IOPAD(0x028, PIN_INPUT, 0) /* (AB24) MCAN16_RX */ 84 75 J721S2_IOPAD(0x024, PIN_OUTPUT, 0) /* (Y28) MCAN16_TX */ 85 76 >; 77 + }; 78 + }; 79 + 80 + &wkup_i2c0 { 81 + status = "okay"; 82 + pinctrl-names = "default"; 83 + pinctrl-0 = <&wkup_i2c0_pins_default>; 84 + clock-frequency = <400000>; 85 + 86 + eeprom@50 { 87 + /* CAV24C256WE-GT3 */ 88 + compatible = "atmel,24c256"; 89 + reg = <0x50>; 86 90 }; 87 91 }; 88 92