Commit 5a0803bd authored by Brian Kim's avatar Brian Kim Committed by Kevin Hilman

ARM64: dts: meson-gxbb-odroidc2: Enable USB Nodes

Enable both gxbb USB controller and add a 5V regulator for the OTG port
VBUS
Signed-off-by: default avatarBrian Kim <brian.kim@hardkernel.com>
Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
parent 3be2d9cf
......@@ -64,6 +64,18 @@ memory@0 {
reg = <0x0 0x0 0x0 0x80000000>;
};
usb_otg_pwr: regulator-usb-pwrs {
compatible = "regulator-fixed";
regulator-name = "USB_OTG_PWR";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio_ao GPIOAO_5 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
leds {
compatible = "gpio-leds";
blue {
......@@ -98,3 +110,20 @@ &i2c_A {
pinctrl-0 = <&i2c_a_pins>;
pinctrl-names = "default";
};
&usb0_phy {
status = "okay";
phy-supply = <&usb_otg_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