summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTroy Mitchell <troy.mitchell@linux.dev>2026-09-14 16:18:05 +0800
committerYixun Lan <dlan@kernel.org>2026-09-15 09:11:36 +0000
commit97bd8165a3f734fe97664e186406686bfa34f42f (patch)
treef6d9c1c7d2d4edf1b119067e246016905839d81d
parentac436e6879f5bf25e971d80f96f9392b61ff54c6 (diff)
downloadlinux-next-97bd8165a3f734fe97664e186406686bfa34f42f.tar.gz
linux-next-97bd8165a3f734fe97664e186406686bfa34f42f.zip
riscv: dts: spacemit: Add K3 I2C6 pinctrl state
Add the K3 I2C6 pinctrl state used by boards that route I2C6 to pads 7 and 8. Use a 25 mA drive strength, which is supported for both K3 IO voltage domains, and leave board-specific IO voltage selection to board files. Signed-off-by: Troy Mitchell <troy.mitchell@linux.dev> Reviewed-by: Yixun Lan <dlan@kernel.org> Link: https://patch.msgid.link/20260914-ctl2301-v5-5-522def70acb4@linux.dev Signed-off-by: Yixun Lan <dlan@kernel.org>
-rw-r--r--arch/riscv/boot/dts/spacemit/k3-pinctrl.dtsi11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/spacemit/k3-pinctrl.dtsi b/arch/riscv/boot/dts/spacemit/k3-pinctrl.dtsi
index 6482d24be139..cb4f4f4e33af 100644
--- a/arch/riscv/boot/dts/spacemit/k3-pinctrl.dtsi
+++ b/arch/riscv/boot/dts/spacemit/k3-pinctrl.dtsi
@@ -102,6 +102,17 @@
};
/omit-if-no-ref/
+ i2c6_1_cfg: i2c6-1-cfg {
+ i2c6-1-pins {
+ pinmux = <K3_PADCONF(7, 6)>, /* i2c6 scl */
+ <K3_PADCONF(8, 6)>; /* i2c6 sda */
+
+ bias-pull-up = <0>;
+ drive-strength = <25>;
+ };
+ };
+
+ /omit-if-no-ref/
i2c8_cfg: i2c8-cfg {
i2c8-pins {
pinmux = <K3_PADCONF(128, 0)>, /* i2c8 scl */