mirror of
https://github.com/torvalds/linux.git
synced 2026-10-13 22:01:02 +02:00
arm64: dts: renesas: rzg3e-smarc-som: Add I2C1 support
Add and enable I2C1 controller support with pin configuration. The I2C1 bus is routed to the carrier board and used for peripherals such as the audio codec. Signed-off-by: John Madieu <john.madieu.xa@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://patch.msgid.link/20260525110603.4018170-7-john.madieu.xa@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
This commit is contained in:
parent
35cf35e239
commit
4e66920563
|
|
@ -32,6 +32,7 @@ / {
|
|||
aliases {
|
||||
ethernet0 = ð0;
|
||||
ethernet1 = ð1;
|
||||
i2c1 = &i2c1;
|
||||
i2c2 = &i2c2;
|
||||
mmc0 = &sdhi0;
|
||||
mmc2 = &sdhi2;
|
||||
|
|
@ -112,6 +113,12 @@ &gpu {
|
|||
mali-supply = <®_vdd0p8v_others>;
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
pinctrl-0 = <&i2c1_pins>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c2 {
|
||||
pinctrl-0 = <&i2c2_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
|
@ -234,6 +241,11 @@ ctrl {
|
|||
};
|
||||
};
|
||||
|
||||
i2c1_pins: i2c1 {
|
||||
pinmux = <RZG3E_PORT_PINMUX(3, 2, 1)>, /* SCL1 */
|
||||
<RZG3E_PORT_PINMUX(3, 3, 1)>; /* SDA1 */
|
||||
};
|
||||
|
||||
i2c2_pins: i2c {
|
||||
pinmux = <RZG3E_PORT_PINMUX(3, 4, 1)>, /* SCL2 */
|
||||
<RZG3E_PORT_PINMUX(3, 5, 1)>; /* SDA2 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user