]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
riscv: dts: spacemit: Enable i2c8 adapter for OrangePi RV2
authorHan Gao <gaohan@iscas.ac.cn>
Tue, 7 Apr 2026 15:28:14 +0000 (23:28 +0800)
committerYixun Lan <dlan@kernel.org>
Mon, 27 Apr 2026 04:09:37 +0000 (04:09 +0000)
The adapter is used to access the SpacemiT P1 PMIC present in this board.

Tested-by: Vincent Legoll <legoll@online.fr> # OrangePi-RV2
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Reviewed-by: Yixun Lan <dlan@kernel.org>
Link: https://lore.kernel.org/r/d66f897b179271f508ac5352e52b1223f3bca5fb.1775575436.git.gaohan@iscas.ac.cn
Signed-off-by: Yixun Lan <dlan@kernel.org>
arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts

index 7b7331cb3c726f11d597f81917f3a3f5fc21e1b9..57ec1cc32b03d7398b2f937a5d5e4854d530c8f4 100644 (file)
        status = "okay";
 };
 
+&i2c8 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&i2c8_cfg>;
+       status = "okay";
+};
+
 &uart0 {
        pinctrl-names = "default";
        pinctrl-0 = <&uart0_2_cfg>;