aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@free-electrons.com>2017-03-08 12:33:15 -0500
committerGregory CLEMENT <gregory.clement@free-electrons.com>2017-03-23 12:43:06 -0400
commita12af1c20751340ab6e449a5ef78b37d31123aca (patch)
treee79db198044def0a1c08057b6272712ef3fdff32
parente4afb4804ddce1306607dfcf913abed90b97c862 (diff)
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 <gregory.clement@free-electrons.com>
-rw-r--r--arch/arm64/boot/dts/marvell/armada-3720-db.dts17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/marvell/armada-3720-db.dts b/arch/arm64/boot/dts/marvell/armada-3720-db.dts
index 864936acc316..01e583c07d46 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 @@
46 46
47/dts-v1/; 47/dts-v1/;
48 48
49#include <dt-bindings/gpio/gpio.h>
49#include "armada-372x.dtsi" 50#include "armada-372x.dtsi"
50 51
51/ { 52/ {
@@ -60,6 +61,21 @@
60 device_type = "memory"; 61 device_type = "memory";
61 reg = <0x00000000 0x00000000 0x00000000 0x20000000>; 62 reg = <0x00000000 0x00000000 0x00000000 0x20000000>;
62 }; 63 };
64
65 exp_usb3_vbus: usb3-vbus {
66 compatible = "regulator-fixed";
67 regulator-name = "usb3-vbus";
68 regulator-min-microvolt = <5000000>;
69 regulator-max-microvolt = <5000000>;
70 enable-active-high;
71 regulator-always-on;
72 gpio = <&gpio_exp 1 GPIO_ACTIVE_HIGH>;
73 };
74
75 usb3_phy: usb3-phy {
76 compatible = "usb-nop-xceiv";
77 vcc-supply = <&exp_usb3_vbus>;
78 };
63}; 79};
64 80
65&i2c0 { 81&i2c0 {
@@ -127,6 +143,7 @@
127/* CON31 */ 143/* CON31 */
128&usb3 { 144&usb3 {
129 status = "okay"; 145 status = "okay";
146 usb-phy = <&usb3_phy>;
130}; 147};
131 148
132/* CON17 (PCIe) / CON12 (mini-PCIe) */ 149/* CON17 (PCIe) / CON12 (mini-PCIe) */