From: Gregory CLEMENT Date: Wed, 8 Mar 2017 17:33:15 +0000 (+0100) Subject: ARM64: dts: marvell: armada-3720-db: Add phy for USB3 X-Git-Tag: v4.14-rc1~713^2~30^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a12af1c20751340ab6e449a5ef78b37d31123aca;p=platform%2Fkernel%2Flinux-rpi.git ARM64: dts: marvell: armada-3720-db: Add phy for USB3 Now that the gpio expander is present in the dts, use it to add an USB3 PHY using one of these gpio as a regulator. Signed-off-by: Gregory CLEMENT --- diff --git a/arch/arm64/boot/dts/marvell/armada-3720-db.dts b/arch/arm64/boot/dts/marvell/armada-3720-db.dts index 864936a..01e583c 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-db.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-db.dts @@ -46,6 +46,7 @@ /dts-v1/; +#include #include "armada-372x.dtsi" / { @@ -60,6 +61,21 @@ device_type = "memory"; reg = <0x00000000 0x00000000 0x00000000 0x20000000>; }; + + exp_usb3_vbus: usb3-vbus { + compatible = "regulator-fixed"; + regulator-name = "usb3-vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + enable-active-high; + regulator-always-on; + gpio = <&gpio_exp 1 GPIO_ACTIVE_HIGH>; + }; + + usb3_phy: usb3-phy { + compatible = "usb-nop-xceiv"; + vcc-supply = <&exp_usb3_vbus>; + }; }; &i2c0 { @@ -127,6 +143,7 @@ /* CON31 */ &usb3 { status = "okay"; + usb-phy = <&usb3_phy>; }; /* CON17 (PCIe) / CON12 (mini-PCIe) */