Skip to content

Commit 7af5ede

Browse files
aurel32Yixun Lan
authored andcommitted
riscv: dts: spacemit: add i2c aliases on Milk-V Jupiter
Add i2c aliases for i2c2 and i2c8 on Milk-V Jupiter. 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: Javier Martinez Canillas <javierm@redhat.com> Reviewed-by: Yixun Lan <dlan@kernel.org> Link: https://lore.kernel.org/r/20260326183745.1370642-4-aurelien@aurel32.net Signed-off-by: Yixun Lan <dlan@kernel.org>
1 parent 7715621 commit 7af5ede

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
ethernet0 = &eth0;
1616
ethernet1 = &eth1;
1717
serial0 = &uart0;
18+
i2c2 = &i2c2;
19+
i2c8 = &i2c8;
1820
};
1921

2022
chosen {

0 commit comments

Comments
 (0)