]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
arm64: zynqmp: Enable phys for zcu102
authorMichal Simek <michal.simek@xilinx.com>
Fri, 1 Dec 2017 14:50:31 +0000 (15:50 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 14 Dec 2017 19:08:22 +0000 (20:08 +0100)
Enable USB3.0 and SATA phy for zcu102 boards.

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

index a2128ebfd8c83f6d0fdf8318564a5092df60e4a2..2e382562c496191338c3a00c25db63da1f71838d 100644 (file)
@@ -14,6 +14,7 @@
 #include "zynqmp-clk.dtsi"
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
+#include <dt-bindings/phy/phy.h>
 
 / {
        model = "ZynqMP ZCU102 RevA";
@@ -884,6 +885,8 @@ drivers/hwmon/pmbus/Makefile:11:obj-$(CONFIG_SENSORS_MAX20751)  += max20751.o
        ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
        ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
        ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
+       phy-names = "sata-phy";
+       phys = <&lane3 PHY_TYPE_SATA 1 1 125000000>;
 };
 
 /* SD1 with level shifter */
@@ -895,6 +898,10 @@ drivers/hwmon/pmbus/Makefile:11:obj-$(CONFIG_SENSORS_MAX20751)  += max20751.o
        xlnx,mio_bank = <1>;
 };
 
+&serdes {
+       status = "okay";
+};
+
 &uart0 {
        status = "okay";
        pinctrl-names = "default";
@@ -917,6 +924,10 @@ drivers/hwmon/pmbus/Makefile:11:obj-$(CONFIG_SENSORS_MAX20751)  += max20751.o
 &dwc3_0 {
        status = "okay";
        dr_mode = "host";
+       snps,usb3_lpm_capable;
+       phy-names = "usb3-phy";
+       phys = <&lane2 PHY_TYPE_USB3 0 2 26000000>;
+       maximum-speed = "super-speed";
 };
 
 &watchdog0 {