summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2016-09-11 15:41:10 +0200
committerKevin Hilman <khilman@baylibre.com>2016-09-15 15:02:25 -0700
commit8735053d79686dd87217e300b006175cda1b5c59 (patch)
treed4cc7332c978f8110362dc27cf467de74f93e3dd /arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi
parent566603e5e6b68da1e72011ec3091fe12ba9510b7 (diff)
downloadblackbird-obmc-linux-8735053d79686dd87217e300b006175cda1b5c59.tar.gz
blackbird-obmc-linux-8735053d79686dd87217e300b006175cda1b5c59.zip
ARM64: dts: meson-gxbb-p20x: Enable USB Nodes
Enable both gxbb USB controller and add a 5V regulator for the OTG port VBUS Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> [khilman: rename vbus node to match P200 schematics] Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi')
-rw-r--r--arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi30
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi
index 0eaca7277cfd..06a34dc6002f 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi
@@ -57,6 +57,19 @@
device_type = "memory";
reg = <0x0 0x0 0x0 0x40000000>;
};
+
+ usb_pwr: regulator-usb-pwrs {
+ compatible = "regulator-fixed";
+
+ regulator-name = "USB_PWR";
+
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+
+ /* signal name in schematic: USB_PWR_EN */
+ gpio = <&gpio GPIODV_24 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ };
};
/* This UART is brought out to the DB9 connector */
@@ -77,3 +90,20 @@
pinctrl-0 = <&remote_input_ao_pins>;
pinctrl-names = "default";
};
+
+&usb0_phy {
+ status = "okay";
+ phy-supply = <&usb_pwr>;
+};
+
+&usb1_phy {
+ status = "okay";
+};
+
+&usb0 {
+ status = "okay";
+};
+
+&usb1 {
+ status = "okay";
+};
OpenPOWER on IntegriCloud