Hello,
I am wondering how to add I2C2 to the device tree? I see I2C0 & I2C1 defined in the device tree:
(https://elixir.bootlin.com/linux/latest/source/arch/arm/boot/dts/keystone-k2g-evm.dts)
i2c0_pins: pinmux_i2c0_pins {
pinctrl-single,pins = <
K2G_CORE_IOPAD(0x137c) (BUFFER_CLASS_B | PIN_PULLUP | MUX_MODE0) /* i2c0_scl.i2c0_scl */
K2G_CORE_IOPAD(0x1380) (BUFFER_CLASS_B | PIN_PULLUP | MUX_MODE0) /* i2c0_sda.i2c0_sda */
>;
};
i2c1_pins: pinmux_i2c1_pins {
pinctrl-single,pins = <
K2G_CORE_IOPAD(0x1384) (BUFFER_CLASS_B | PIN_PULLUP | MUX_MODE0) /* i2c1_scl.i2c1_scl */
K2G_CORE_IOPAD(0x1388) (BUFFER_CLASS_B | PIN_PULLUP | MUX_MODE0) /* i2c1_sda.i2c1_sda */
>;
};
I am wondering where does these numbers: 0x137c, 1380, 1384, 1388, come from? I searched the 66AK2G12 data sheet
( https://www.ti.com/lit/gpn/66ak2g12), but I do not see those i2c pin related numbers. Can someone kindly explain?
Tom