mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 23:58:05 +00:00
arm64: dts: marvell: 98dx25xx: use correct property for i2c gpios
Use the correct names for scl-gpios and sda-gpios so that the generic
i2c recovery code will find them. While we're here set the
GPIO_OPEN_DRAIN flag on the gpios.
Fixes: b795fadfc4
("arm64: dts: marvell: Add Armada 98DX2530 SoC and RD-AC5X board")
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
This commit is contained in:
parent
1a9f9785a9
commit
2b14d382ec
1 changed files with 4 additions and 4 deletions
|
@ -147,8 +147,8 @@ i2c0: i2c@11000{
|
|||
pinctrl-names = "default", "gpio";
|
||||
pinctrl-0 = <&i2c0_pins>;
|
||||
pinctrl-1 = <&i2c0_gpio>;
|
||||
scl_gpio = <&gpio0 26 GPIO_ACTIVE_HIGH>;
|
||||
sda_gpio = <&gpio0 27 GPIO_ACTIVE_HIGH>;
|
||||
scl-gpios = <&gpio0 26 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
|
||||
sda-gpios = <&gpio0 27 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -166,8 +166,8 @@ i2c1: i2c@11100{
|
|||
pinctrl-names = "default", "gpio";
|
||||
pinctrl-0 = <&i2c1_pins>;
|
||||
pinctrl-1 = <&i2c1_gpio>;
|
||||
scl_gpio = <&gpio0 20 GPIO_ACTIVE_HIGH>;
|
||||
sda_gpio = <&gpio0 21 GPIO_ACTIVE_HIGH>;
|
||||
scl-gpios = <&gpio0 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
|
||||
sda-gpios = <&gpio0 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue