summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
diff options
context:
space:
mode:
authorBrian Kim <brian.kim@hardkernel.com>2016-10-04 16:06:43 +0900
committerKevin Hilman <khilman@baylibre.com>2016-10-18 09:36:01 -0700
commit5a0803bd5ae289fbacd4d207e8c5e6719224ef92 (patch)
tree36ba455d7f00794e50d3a48cdb7b270e6e39eef8 /arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
parent3be2d9cf1cfbf5bb1ebb7cf958a665d0cac9e7d6 (diff)
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: Brian Kim <brian.kim@hardkernel.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts')
-rw-r--r--arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
index 325b9c5691be..a45d1013c225 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
@@ -64,6 +64,18 @@
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 @@
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";
+};