Commit 8735053d authored by Jerome Brunet's avatar Jerome Brunet Committed by Kevin Hilman

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: default avatarJerome Brunet <jbrunet@baylibre.com>
[khilman: rename vbus node to match P200 schematics]
Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
parent 566603e5
...@@ -57,6 +57,19 @@ memory@0 { ...@@ -57,6 +57,19 @@ memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x0 0x0 0x0 0x40000000>; 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 */ /* This UART is brought out to the DB9 connector */
...@@ -77,3 +90,20 @@ &ir { ...@@ -77,3 +90,20 @@ &ir {
pinctrl-0 = <&remote_input_ao_pins>; pinctrl-0 = <&remote_input_ao_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
}; };
&usb0_phy {
status = "okay";
phy-supply = <&usb_pwr>;
};
&usb1_phy {
status = "okay";
};
&usb0 {
status = "okay";
};
&usb1 {
status = "okay";
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment