Skip to content

Commit fa15ffa

Browse files
thierryredingnvswarren
authored andcommitted
ARM: tegra: Combine VBUS enable pins into one node
Both USB_VBUS_EN0 and USB_VBUS_EN1 are configured the same way, so they can be combined into a single node. While at it, don't configure them as pull-up since they already have external pull-ups. Also U-Boot doesn't configure them as pull-up either. Signed-off-by: Thierry Reding <[email protected]> Signed-off-by: Stephen Warren <[email protected]>
1 parent e2b6d77 commit fa15ffa

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

arch/arm/boot/dts/tegra124-venice2.dts

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -402,19 +402,11 @@
402402
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
403403
};
404404
usb_vbus_en0_pn4 {
405-
nvidia,pins = "usb_vbus_en0_pn4";
405+
nvidia,pins = "usb_vbus_en0_pn4",
406+
"usb_vbus_en1_pn5";
406407
nvidia,function = "usb";
407408
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
408-
nvidia,pull = <TEGRA_PIN_PULL_UP>;
409-
nvidia,tristate = <TEGRA_PIN_DISABLE>;
410-
nvidia,lock = <TEGRA_PIN_DISABLE>;
411-
nvidia,open-drain = <TEGRA_PIN_ENABLE>;
412-
};
413-
usb_vbus_en1_pn5 {
414-
nvidia,pins = "usb_vbus_en1_pn5";
415-
nvidia,function = "usb";
416-
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
417-
nvidia,pull = <TEGRA_PIN_PULL_UP>;
409+
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
418410
nvidia,tristate = <TEGRA_PIN_DISABLE>;
419411
nvidia,lock = <TEGRA_PIN_DISABLE>;
420412
nvidia,open-drain = <TEGRA_PIN_ENABLE>;

0 commit comments

Comments
 (0)