[PATCH v5 6/6] riscv: dts: spacemit: Add CTF2301 on K3 CoM260

Yixun Lan dlan at kernel.org
Tue Sep 15 02:05:10 PDT 2026


Hi Troy,


On 16:18 Mon 14 Sep     , Troy Mitchell wrote:
> Enable I2C6 on the K3 CoM260 module and describe the Sensylink
> CTF2301 temperature sensor and fan controller at address 0x4c.
> 
> Override the I2C6 pin power source at board level because the IO rail
> voltage is board-specific.
> 
> Signed-off-by: Troy Mitchell <troy.mitchell at linux.dev>
> ---
>  arch/riscv/boot/dts/spacemit/k3-com260.dtsi | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
> 

Reviewed-by: Yixun Lan <dlan at kernel.org>

> diff --git a/arch/riscv/boot/dts/spacemit/k3-com260.dtsi b/arch/riscv/boot/dts/spacemit/k3-com260.dtsi
> index 37627963a6492..92dea86397798 100644
> --- a/arch/riscv/boot/dts/spacemit/k3-com260.dtsi
> +++ b/arch/riscv/boot/dts/spacemit/k3-com260.dtsi
> @@ -58,6 +58,23 @@ serial-number {
>  	};
>  };
>  
> +&i2c6_1_cfg {
> +	i2c6-1-pins {
> +		power-source = <3300>;
> +	};
> +};
> +
> +&i2c6 {
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&i2c6_1_cfg>;
> +	status = "okay";
> +
> +	temperature-sensor at 4c {
> +		compatible = "sensylink,ctf2301";
> +		reg = <0x4c>;
> +	};
> +};
> +
>  &i2c8 {
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&i2c8_cfg>;
> 
> -- 
> 2.55.0
> 

-- 
Yixun Lan (dlan)



More information about the linux-riscv mailing list