mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
riscv: dts: spacemit: enable the i2c2 adapter on K3 Pico-ITX board
Define I2C2 pinctrl properties, and enable it on the K3 Pico-ITX board. It will be used by the 24c02 eeprom. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Reviewed-by: Yixun Lan <dlan@kernel.org> Link: https://patch.msgid.link/20260623204431.498700-3-aurelien@aurel32.net Signed-off-by: Yixun Lan <dlan@kernel.org>
This commit is contained in:
parent
788ed93b3b
commit
48dd3d0205
|
|
@ -43,6 +43,12 @@ reg_aux_vcc5v: regulator-aux-vcc5v {
|
|||
};
|
||||
};
|
||||
|
||||
&i2c2 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c2_1_cfg>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c8 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c8_cfg>;
|
||||
|
|
|
|||
|
|
@ -78,6 +78,17 @@ gmac1-phy-0-pins {
|
|||
};
|
||||
};
|
||||
|
||||
/omit-if-no-ref/
|
||||
i2c2_1_cfg: i2c2-1-cfg {
|
||||
i2c2-1-pins {
|
||||
pinmux = <K3_PADCONF(46, 5)>, /* i2c2 scl */
|
||||
<K3_PADCONF(47, 5)>; /* i2c2 sda */
|
||||
|
||||
bias-pull-up = <0>;
|
||||
drive-strength = <25>;
|
||||
};
|
||||
};
|
||||
|
||||
/omit-if-no-ref/
|
||||
i2c8_cfg: i2c8-cfg {
|
||||
i2c8-pins {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user