]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: marvell: kirkwood: use recent scl/sda gpio bindings
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 19 May 2025 11:21:04 +0000 (13:21 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Mon, 7 Jul 2025 14:58:42 +0000 (16:58 +0200)
We have dedictaded bindings for scl/sda nowadays. Switch away from the
deprecated plain 'gpios' property.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/boot/dts/marvell/kirkwood-km_common.dtsi

index 52baffe45f1265eebe7d6be416f94041a64e6ef3..259cb3d5f16df9402c0bc75ebda2ef14f26dc2a0 100644 (file)
@@ -27,8 +27,8 @@
 
        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 */
        };
 };