1 From: Russell King <rmk+kernel@armlinux.org.uk>
2 Bcc: linux@mail.armlinux.org.uk
3 Cc: Vladimir Vid <vladimir.vid@sartura.hr>,Jason Cooper <jason@lakedaemon.net>,Andrew Lunn <andrew@lunn.ch>,Gregory Clement <gregory.clement@bootlin.com>,Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>,Rob Herring <robh+dt@kernel.org>,Mark Rutland <mark.rutland@arm.com>,linux-arm-kernel@lists.infradead.org,devicetree@vger.kernel.org
4 Subject: [PATCH] arm64: dts: add uDPU i2c bus recovery
6 Content-Disposition: inline
7 Content-Transfer-Encoding: 8bit
8 Content-Type: text/plain; charset="utf-8"
10 Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
12 .../boot/dts/marvell/armada-3720-uDPU.dts | 22 +++++++++++++++++--
13 1 file changed, 20 insertions(+), 2 deletions(-)
15 --- a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts
16 +++ b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts
22 + i2c1_recovery_pins: i2c1-recovery-pins {
27 + i2c2_recovery_pins: i2c2-recovery-pins {
35 - pinctrl-names = "default";
36 + pinctrl-names = "default", "recovery";
37 pinctrl-0 = <&i2c1_pins>;
38 + pinctrl-1 = <&i2c1_recovery_pins>;
39 /delete-property/mrvl,i2c-fast-mode;
40 + scl-gpios = <&gpionb 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
41 + sda-gpios = <&gpionb 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
46 - pinctrl-names = "default";
47 + pinctrl-names = "default", "recovery";
48 pinctrl-0 = <&i2c2_pins>;
49 + pinctrl-1 = <&i2c2_recovery_pins>;
50 /delete-property/mrvl,i2c-fast-mode;
51 + scl-gpios = <&gpionb 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
52 + sda-gpios = <&gpionb 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;