]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm64: zynqmp: Enable serdes driver for usb3.0
authorMichal Simek <michal.simek@xilinx.com>
Tue, 25 Jun 2019 06:43:44 +0000 (08:43 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 28 Jun 2019 09:25:30 +0000 (11:25 +0200)
Enable PHY serdes driver for usb3.0.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp-a2197-p-revA.dts

index f6de3088018ed8b2c8fd4b63693a83d3b2a93310..fcb537d54ed88303f9159ba338250a08cc98c9a6 100644 (file)
@@ -11,6 +11,7 @@
 #include "zynqmp.dtsi"
 #include "zynqmp-clk-ccf.dtsi"
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/phy/phy.h>
 
 / {
        model = "Versal System Controller on a2197 Processor Char board RevA"; /* Tenzing */
@@ -80,6 +81,10 @@ usb - type C - pl
        xlnx,mio_bank = <1>;
 };
 
+&serdes {
+       status = "okay";
+};
+
 /* TODO
 USB0 MIO52-63
 USB1 MIO64-75
@@ -561,6 +566,8 @@ marwell m88e1512 - SGMII */
        snps,dis_u2_susphy_quirk;
        snps,dis_u3_susphy_quirk;
        maximum-speed = "super-speed";
+       phy-names = "usb3-phy";
+       phys = <&lane1 PHY_TYPE_USB3 0 1 26000000>;
 };
 
 &usb1 {