Skip to content

Commit

Permalink
ARM64: zynqmp: Fix usb nodes for ep108, dc1 and dc2
Browse files Browse the repository at this point in the history
Fix DT binding for usb nodes. Setup correct aliases and enable dwc3
nodes.

Signed-off-by: Michal Simek <[email protected]>
  • Loading branch information
Michal Simek committed Apr 7, 2016
1 parent d7b551a commit e61bd5f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
10 changes: 10 additions & 0 deletions arch/arm/dts/zynqmp-ep108.dts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
spi0 = &qspi;
spi1 = &spi0;
spi2 = &spi1;
usb0 = &usb0;
usb1 = &usb1;
};

chosen {
Expand Down Expand Up @@ -195,12 +197,20 @@

&usb0 {
status = "okay";
};

&dwc3_0 {
status = "okay";
dr_mode = "peripheral";
maximum-speed = "high-speed";
};

&usb1 {
status = "okay";
};

&dwc3_1 {
status = "okay";
dr_mode = "host";
maximum-speed = "high-speed";
};
Expand Down
4 changes: 4 additions & 0 deletions arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@
/* ULPI SMSC USB3320 */
&usb0 {
status = "okay";
};

&dwc3_0 {
status = "okay";
dr_mode = "host";
};

Expand Down
4 changes: 4 additions & 0 deletions arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,10 @@
/* ULPI SMSC USB3320 */
&usb1 {
status = "okay";
};

&dwc3_1 {
status = "okay";
dr_mode = "host";
};

Expand Down

0 comments on commit e61bd5f

Please sign in to comment.