Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dd70ccfa authored by Rafał Miłecki's avatar Rafał Miłecki Committed by Florian Fainelli
Browse files

ARM: BCM5301X: Set vcc-gpio for USB controllers of few devices



There are few devices that have USB power controlled using GPIO. Linux
USB host driver (bcma-hcd) already supports this by reading vcc-gpio
from DT. Set it properly for all known devices.

Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent f55532a0
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -139,3 +139,11 @@
&uart0 {
	status = "okay";
};

&usb2 {
	vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
};

&usb3 {
	vcc-gpio = <&chipcommon 10 GPIO_ACTIVE_LOW>;
};
+4 −11
Original line number Diff line number Diff line
@@ -24,17 +24,6 @@
		reg = <0x00000000 0x08000000>;
	};

	axi@18000000 {
		usb3@23000 {
			reg = <0x00023000 0x1000>;

			#address-cells = <1>;
			#size-cells = <1>;

			vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
		};
	};

	leds {
		compatible = "gpio-leds";

@@ -97,3 +86,7 @@
&uart0 {
	status = "okay";
};

&usb3 {
	vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
};
+5 −0
Original line number Diff line number Diff line
@@ -126,3 +126,8 @@
		};
	};
};


&usb2 {
	vcc-gpio = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
};
+8 −0
Original line number Diff line number Diff line
@@ -106,3 +106,11 @@
		};
	};
};

&usb2 {
	vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
};

&usb3 {
	vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
};
+4 −0
Original line number Diff line number Diff line
@@ -109,3 +109,7 @@
	status = "okay";
	clock-frequency = <125000000>;
};

&usb3 {
	vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
};
Loading