Skip to content

Commit 9442f96

Browse files
b-k-officialnmenon
authored andcommitted
arm64: dts: ti: k3-j722s-evm: Enable support for mcu_i2c0
Enable support for mcu_i2c0 and add pinmux required to bring out the mcu_i2c0 signals on 40-pin RPi expansion header on the J722S EVM. Signed-off-by: Bhavya Kapoor <[email protected]> Signed-off-by: Shreyash Sinha <[email protected]> Reviewed-by: Prasanth Babu Mantena <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Nishanth Menon <[email protected]>
1 parent 28596f0 commit 9442f96

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

arch/arm64/boot/dts/ti/k3-j722s-evm.dts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,13 @@
406406

407407
&mcu_pmx0 {
408408

409+
mcu_i2c0_pins_default: mcu-i2c0-default-pins {
410+
pinctrl-single,pins = <
411+
J722S_MCU_IOPAD(0x048, PIN_INPUT, 0) /* (E11) MCU_I2C0_SDA */
412+
J722S_MCU_IOPAD(0x044, PIN_INPUT, 0) /* (B13) MCU_I2C0_SCL */
413+
>;
414+
};
415+
409416
mcu_mcan0_pins_default: mcu-mcan0-default-pins {
410417
pinctrl-single,pins = <
411418
J722S_MCU_IOPAD(0x038, PIN_INPUT, 0) /* (D8) MCU_MCAN0_RX */
@@ -812,3 +819,10 @@
812819
&mcu_gpio0 {
813820
status = "okay";
814821
};
822+
823+
&mcu_i2c0 {
824+
pinctrl-names = "default";
825+
pinctrl-0 = <&mcu_i2c0_pins_default>;
826+
clock-frequency = <400000>;
827+
status = "okay";
828+
};

0 commit comments

Comments
 (0)