[PATCH v5 5/6] riscv: dts: spacemit: Add K3 I2C6 pinctrl state

Yixun Lan dlan at kernel.org
Tue Sep 15 02:04:33 PDT 2026


Hi Troy,

On 16:18 Mon 14 Sep     , Troy Mitchell wrote:
> 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 at linux.dev>
> ---
>  arch/riscv/boot/dts/spacemit/k3-pinctrl.dtsi | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
Reviewed-by: Yixun Lan <dlan at kernel.org>

> diff --git a/arch/riscv/boot/dts/spacemit/k3-pinctrl.dtsi b/arch/riscv/boot/dts/spacemit/k3-pinctrl.dtsi
> index 6482d24be1394..cb4f4f4e33aff 100644
> --- a/arch/riscv/boot/dts/spacemit/k3-pinctrl.dtsi
> +++ b/arch/riscv/boot/dts/spacemit/k3-pinctrl.dtsi
> @@ -101,6 +101,17 @@ i2c2-1-pins {
>  		};
>  	};
>  
> +	/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 {
> 
> -- 
> 2.55.0
> 

-- 
Yixun Lan (dlan)



More information about the linux-riscv mailing list