]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
riscv: dts: spacemit: add i2c aliases on BPI-F3
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 26 Sep 2025 17:54:39 +0000 (19:54 +0200)
committerYixun Lan <dlan@gentoo.org>
Mon, 13 Oct 2025 13:52:14 +0000 (21:52 +0800)
Add i2c aliases for i2c2 and i2c8 on BPI-F3. This is useful to keep a
stable number for the /dev entries after loading the i2c-dev module.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
Reviewed-by: Vivian Wang <wangruikang@iscas.ac.cn>
Reviewed-by: Yixun Lan <dlan@gentoo.org>
Link: https://lore.kernel.org/r/20250926175833.3048516-4-aurelien@aurel32.net
Signed-off-by: Yixun Lan <dlan@gentoo.org>
arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts

index 487278ea92734c2f7d90619fad8167d108aa973d..33ca816bfd4b395848df2ebb977a0c31cac3fdf7 100644 (file)
@@ -14,6 +14,8 @@
                ethernet0 = &eth0;
                ethernet1 = &eth1;
                serial0 = &uart0;
+               i2c2 = &i2c2;
+               i2c8 = &i2c8;
        };
 
        chosen {