aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2016-09-11 09:41:11 -0400
committerKevin Hilman <khilman@baylibre.com>2016-09-15 18:02:59 -0400
commitc763eb82a01dd4536a4d4b6bb6be115d4ee32842 (patch)
tree6445ad4beb0c0118946ca0b8536151dfb3877612
parent8735053d79686dd87217e300b006175cda1b5c59 (diff)
ARM64: dts: meson-gxbb-vega-s95: Enable USB Nodes
Enable both gxbb USB controller and add a 5V regulator for the OTG port VBUS Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
-rw-r--r--arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi30
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
index 56243261e9d5..73f159370188 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
@@ -52,6 +52,19 @@
52 chosen { 52 chosen {
53 stdout-path = "serial0:115200n8"; 53 stdout-path = "serial0:115200n8";
54 }; 54 };
55
56 usb_vbus: regulator-usb0-vbus {
57 compatible = "regulator-fixed";
58
59 regulator-name = "USB0_VBUS";
60
61 regulator-min-microvolt = <5000000>;
62 regulator-max-microvolt = <5000000>;
63
64 gpio = <&gpio GPIODV_24 GPIO_ACTIVE_HIGH>;
65 enable-active-high;
66 };
67
55}; 68};
56 69
57&uart_AO { 70&uart_AO {
@@ -72,3 +85,20 @@
72 pinctrl-0 = <&eth_pins>; 85 pinctrl-0 = <&eth_pins>;
73 pinctrl-names = "default"; 86 pinctrl-names = "default";
74}; 87};
88
89&usb0_phy {
90 status = "okay";
91 phy-supply = <&usb_vbus>;
92};
93
94&usb1_phy {
95 status = "okay";
96};
97
98&usb0 {
99 status = "okay";
100};
101
102&usb1 {
103 status = "okay";
104};