]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: rockchip: Enable i2c2 on Orange Pi 3B
authorMichael Opdenacker <michael.opdenacker@rootcommit.com>
Thu, 20 Nov 2025 19:00:34 +0000 (19:00 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 21 Nov 2025 21:36:32 +0000 (22:36 +0100)
Enable the "i2c2" bus on header pins 3 (I2C_SDA_M1)
and 5 (I2C2_SCL_M1) of the Orange Pi 3B board.

As documented on http://www.orangepi.org/img/pi3b/0719-pi3b-19.png,
such pins are the only ones offering I2C functionality
without conflicting with other SoC blocks.

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Link: https://patch.msgid.link/20251120-orangepi3-enable-i2c2-v1-1-2e023a74012a@rootcommit.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3566-orangepi-3b.dtsi

index d539570f531e1b8d539ccdb67584bab8ade3a8b1..e2f0ccc6dbe7a652c4b727cdc0e2ba49da43e7cd 100644 (file)
        };
 };
 
+&i2c2 {
+       pinctrl-0 = <&i2c2m1_xfer>;
+       status = "okay";
+};
+
 &i2s0_8ch {
        status = "okay";
 };