ARM: dts: sun7i: Correct USB regulators on pcDuino v3 Nano
authorAdam Sampson <ats@offog.org>
Sat, 10 Oct 2015 12:52:52 +0000 (13:52 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 11 Oct 2015 17:27:13 +0000 (19:27 +0200)
commitb3f3db9c39779e1ee0926d369adab78698aef267
treef508e456077a8e7a351d586e7855fa58e5ac8049
parenteeea0fa3c5ae45ea905fbf244291ec5440756fa1
ARM: dts: sun7i: Correct USB regulators on pcDuino v3 Nano

The LinkSprite pcDuino v3 Nano's two USB host ports are powered by a
single RT9701GB regulator, which has its enable input tied to the A20's
PD2 pin, pulled up to 3v3 via a 10k resistor.

However, the script.bin that shipped with the device listed PH11 and PH3
as Vbus control pins for the two USB ports. Neither of these are
actually connected to anything.

Siarhei Siamashka spotted this problem while reviewing the other
LinkSprite boards. This patch fixes it by only defining a single
regulator, controlled by PD2. Testing shows that the USB ports are now
(correctly) only powered up once the USB PHY driver is loaded.

Reported-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Signed-off-by: Adam Sampson <ats@offog.org>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts