Commit 55563399 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Michal Simek

arm64: dts: zynqmp: Wire up the DisplayPort subsystem

Enable the dpsub device and wire it up to the PS-GTR PHY lanes routed to
the DisplayPort connector.
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/9769d4d103b6eb75e3324825117f6832a746004e.1611232558.git.michal.simek@xilinx.com
parent b0f89cf5
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include <dt-bindings/input/input.h> #include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/phy/phy.h>
/ { / {
model = "ZynqMP ZCU100 RevC"; model = "ZynqMP ZCU100 RevC";
...@@ -108,6 +109,18 @@ ina226 { ...@@ -108,6 +109,18 @@ ina226 {
compatible = "iio-hwmon"; compatible = "iio-hwmon";
io-channels = <&u35 0>, <&u35 1>, <&u35 2>, <&u35 3>; io-channels = <&u35 0>, <&u35 1>, <&u35 2>, <&u35 3>;
}; };
si5335a_0: clk26 {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <26000000>;
};
si5335a_1: clk27 {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <27000000>;
};
}; };
&dcc { &dcc {
...@@ -224,6 +237,13 @@ i2csw_7: i2c@7 { ...@@ -224,6 +237,13 @@ i2csw_7: i2c@7 {
}; };
}; };
&psgtr {
status = "okay";
/* usb3, dps */
clocks = <&si5335a_0>, <&si5335a_1>;
clock-names = "ref0", "ref1";
};
&rtc { &rtc {
status = "okay"; status = "okay";
}; };
...@@ -295,3 +315,14 @@ &usb1 { ...@@ -295,3 +315,14 @@ &usb1 {
&watchdog0 { &watchdog0 {
status = "okay"; status = "okay";
}; };
&zynqmp_dpdma {
status = "okay";
};
&zynqmp_dpsub {
status = "okay";
phy-names = "dp-phy0", "dp-phy1";
phys = <&psgtr 1 PHY_TYPE_DP 0 1>,
<&psgtr 0 PHY_TYPE_DP 1 1>;
};
...@@ -714,3 +714,13 @@ &usb0 { ...@@ -714,3 +714,13 @@ &usb0 {
&watchdog0 { &watchdog0 {
status = "okay"; status = "okay";
}; };
&zynqmp_dpdma {
status = "okay";
};
&zynqmp_dpsub {
status = "okay";
phy-names = "dp-phy0";
phys = <&psgtr 1 PHY_TYPE_DP 0 3>;
};
...@@ -224,3 +224,14 @@ &usb0 { ...@@ -224,3 +224,14 @@ &usb0 {
&watchdog0 { &watchdog0 {
status = "okay"; status = "okay";
}; };
&zynqmp_dpdma {
status = "okay";
};
&zynqmp_dpsub {
status = "okay";
phy-names = "dp-phy0", "dp-phy1";
phys = <&psgtr 1 PHY_TYPE_DP 0 3>,
<&psgtr 0 PHY_TYPE_DP 1 3>;
};
...@@ -280,3 +280,14 @@ &usb0 { ...@@ -280,3 +280,14 @@ &usb0 {
&watchdog0 { &watchdog0 {
status = "okay"; status = "okay";
}; };
&zynqmp_dpdma {
status = "okay";
};
&zynqmp_dpsub {
status = "okay";
phy-names = "dp-phy0", "dp-phy1";
phys = <&psgtr 1 PHY_TYPE_DP 0 3>,
<&psgtr 0 PHY_TYPE_DP 1 3>;
};
...@@ -156,6 +156,17 @@ &dcc { ...@@ -156,6 +156,17 @@ &dcc {
status = "okay"; status = "okay";
}; };
&zynqmp_dpdma {
status = "okay";
};
&zynqmp_dpsub {
status = "okay";
phy-names = "dp-phy0", "dp-phy1";
phys = <&psgtr 1 PHY_TYPE_DP 0 3>,
<&psgtr 0 PHY_TYPE_DP 1 3>;
};
/* fpd_dma clk 667MHz, lpd_dma 500MHz */ /* fpd_dma clk 667MHz, lpd_dma 500MHz */
&fpd_dma_chan1 { &fpd_dma_chan1 {
status = "okay"; status = "okay";
......
...@@ -584,3 +584,14 @@ &usb0 { ...@@ -584,3 +584,14 @@ &usb0 {
status = "okay"; status = "okay";
dr_mode = "host"; dr_mode = "host";
}; };
&zynqmp_dpdma {
status = "okay";
};
&zynqmp_dpsub {
status = "okay";
phy-names = "dp-phy0", "dp-phy1";
phys = <&psgtr 1 PHY_TYPE_DP 0 1>,
<&psgtr 0 PHY_TYPE_DP 1 1>;
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment