Skip to content

Commit 28254bc

Browse files
Wolfram Sanggclement
authored andcommitted
ARM: dts: marvell: kirkwood: use recent scl/sda gpio bindings
We have dedictaded bindings for scl/sda nowadays. Switch away from the deprecated plain 'gpios' property. Signed-off-by: Wolfram Sang <[email protected]> Signed-off-by: Gregory CLEMENT <[email protected]>
1 parent 19272b3 commit 28254bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arm/boot/dts/marvell/kirkwood-km_common.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727

2828
i2c {
2929
compatible = "i2c-gpio";
30-
gpios = < &gpio0 8 GPIO_ACTIVE_HIGH /* sda */
31-
&gpio0 9 GPIO_ACTIVE_HIGH>; /* scl */
30+
sda-gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
31+
scl-gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
3232
i2c-gpio,delay-us = <2>; /* ~100 kHz */
3333
};
3434
};

0 commit comments

Comments
 (0)