diff options
author | Nishanth Menon <nm@ti.com> | 2023-06-02 16:49:32 -0500 |
---|---|---|
committer | Vignesh Raghavendra <vigneshr@ti.com> | 2023-06-15 11:05:48 +0530 |
commit | 5dfbd1debc8ce5123310265cd44b5d99d272b1fe (patch) | |
tree | c380b9baa8153940bb25438658f2f109b23e1359 /arch | |
parent | 6fa5d37a2f34476613012789d4618c3dc6c68b35 (diff) | |
download | linux-stable-5dfbd1debc8ce5123310265cd44b5d99d272b1fe.tar.gz linux-stable-5dfbd1debc8ce5123310265cd44b5d99d272b1fe.tar.bz2 linux-stable-5dfbd1debc8ce5123310265cd44b5d99d272b1fe.zip |
arm64: dts: ti: k3-j784s4-evm: 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/20230602214937.2349545-4-nm@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts index de7c44af3bec..09f052c94844 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts +++ b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts @@ -25,6 +25,7 @@ serial2 = &main_uart8; mmc0 = &main_sdhci0; mmc1 = &main_sdhci1; + i2c0 = &wkup_i2c0; i2c3 = &main_i2c0; }; @@ -297,6 +298,13 @@ >; }; + wkup_i2c0_pins_default: wkup-i2c0-pins-default { + pinctrl-single,pins = < + J721S2_WKUP_IOPAD(0x98, PIN_INPUT, 0) /* (N33) WKUP_I2C0_SCL */ + J721S2_WKUP_IOPAD(0x9c, PIN_INPUT, 0) /* (N35) WKUP_I2C0_SDA */ + >; + }; + mcu_uart0_pins_default: mcu-uart0-pins-default { pinctrl-single,pins = < J784S4_WKUP_IOPAD(0x090, PIN_INPUT, 0) /* (H37) WKUP_GPIO0_14.MCU_UART0_CTSn */ @@ -397,6 +405,19 @@ pinctrl-0 = <&wkup_uart0_pins_default>; }; +&wkup_i2c0 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&wkup_i2c0_pins_default>; + clock-frequency = <400000>; + + eeprom@50 { + /* CAV24C256WE-GT3 */ + compatible = "atmel,24c256"; + reg = <0x50>; + }; +}; + &mcu_uart0 { status = "okay"; pinctrl-names = "default"; |