[PATCH 2/4] ARM: dts: marvell: kirkwood: use recent scl/sda gpio bindings

Gregory CLEMENT gregory.clement at bootlin.com
Mon May 19 07:31:13 PDT 2025


Wolfram Sang <wsa+renesas at sang-engineering.com> writes:

> We have dedictaded bindings for scl/sda nowadays. Switch away from the
> deprecated plain 'gpios' property.
>
> Signed-off-by: Wolfram Sang <wsa+renesas at sang-engineering.com>

Applied on mvebu/dt

Thanks,

Gregory

> ---
>  arch/arm/boot/dts/marvell/kirkwood-km_common.dtsi | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/marvell/kirkwood-km_common.dtsi b/arch/arm/boot/dts/marvell/kirkwood-km_common.dtsi
> index 52baffe45f12..259cb3d5f16d 100644
> --- a/arch/arm/boot/dts/marvell/kirkwood-km_common.dtsi
> +++ b/arch/arm/boot/dts/marvell/kirkwood-km_common.dtsi
> @@ -27,8 +27,8 @@ serial at 12000 {
>  
>  	i2c {
>  		compatible = "i2c-gpio";
> -		gpios = < &gpio0 8 GPIO_ACTIVE_HIGH		/* sda */
> -			  &gpio0 9 GPIO_ACTIVE_HIGH>;		/* scl */
> +		sda-gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
> +		scl-gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
>  		i2c-gpio,delay-us = <2>;	/* ~100 kHz */
>  	};
>  };
> -- 
> 2.47.2
>

-- 
Grégory CLEMENT, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the linux-arm-kernel mailing list