[PATCH v6 1/3] riscv: dts: spacemit: Enable i2c8 adapter for OrangePi RV2

Troy Mitchell troy.mitchell at linux.spacemit.com
Fri Apr 3 04:34:22 PDT 2026


On Fri, Apr 03, 2026 at 19:18:21 CST, Han Gao wrote:
> The adapter is used to access the SpacemiT P1 PMIC present in this board.
> 
> Signed-off-by: Han Gao <gaohan at iscas.ac.cn>
> ---
>  arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts b/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
> index 7b7331cb3c72..93880ba7bdfe 100644
> --- a/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
> +++ b/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
> @@ -87,6 +87,12 @@ &pdma {
>  	status = "okay";
>  };
>  
> +&i2c8 {
> +	pinctrl-0 = <&i2c8_cfg>;
> +	pinctrl-names = "default";
Please keep pinctrl-names before pinctrl-0 to maintain consistency with the rest of the file.

                                              - Troy



More information about the linux-riscv mailing list