summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
diff options
context:
space:
mode:
authorChunfeng Yun <chunfeng.yun@mediatek.com>2015-11-24 12:09:56 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-01 19:45:51 +0100
commitbfcce47af567983a35f9689f392b68ae40229aea (patch)
treede100c8b3879c81c43f81b02e6c133bbbda88456 /arch/arm64/boot/dts/mediatek/mt8173-evb.dts
parentxhci: mediatek: support MTK xHCI host controller (diff)
downloadlinux-bfcce47af567983a35f9689f392b68ae40229aea.tar.xz
linux-bfcce47af567983a35f9689f392b68ae40229aea.zip
arm64: dts: mediatek: add xHCI & usb phy for mt8173
add xHCI and phy drivers for MT8173-EVB Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm64/boot/dts/mediatek/mt8173-evb.dts')
-rw-r--r--arch/arm64/boot/dts/mediatek/mt8173-evb.dts16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
index 811cb760ba49..9b1482a1d007 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
+++ b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
@@ -13,6 +13,7 @@
*/
/dts-v1/;
+#include <dt-bindings/gpio/gpio.h>
#include "mt8173.dtsi"
/ {
@@ -32,6 +33,15 @@
};
chosen { };
+
+ usb_p1_vbus: regulator@0 {
+ compatible = "regulator-fixed";
+ regulator-name = "usb_vbus";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ gpio = <&pio 130 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ };
};
&i2c1 {
@@ -408,3 +418,9 @@
&uart0 {
status = "okay";
};
+
+&usb30 {
+ vusb33-supply = <&mt6397_vusb_reg>;
+ vbus-supply = <&usb_p1_vbus>;
+ mediatek,wakeup-src = <1>;
+};