diff options
| author | Aurelien Jarno <aurelien@aurel32.net> | 2025-09-26 19:54:39 +0200 |
|---|---|---|
| committer | Yixun Lan <dlan@gentoo.org> | 2025-10-13 21:52:14 +0800 |
| commit | 859ce3828f0b462e991c24224390def4c8fea673 (patch) | |
| tree | 246e36ae722b2dee32821a79fe34b59294a80723 | |
| parent | bfce75e2345fa1ecbf046e696994132f56d6db1c (diff) | |
riscv: dts: spacemit: add i2c aliases on BPI-F3
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>
| -rw-r--r-- | arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts b/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts index 487278ea9273..33ca816bfd4b 100644 --- a/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts +++ b/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts @@ -14,6 +14,8 @@ ethernet0 = ð0; ethernet1 = ð1; serial0 = &uart0; + i2c2 = &i2c2; + i2c8 = &i2c8; }; chosen { |
