Commit 1643b316 authored by Soren Brinkmann's avatar Soren Brinkmann Committed by Michal Simek

ARM: zynq: DT: Add USB to device tree

Add USB nodes to zc702, zc706 and zed device trees.
Signed-off-by: default avatarSoren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 97bf6af1
...@@ -314,6 +314,26 @@ scutimer: timer@f8f00600 { ...@@ -314,6 +314,26 @@ scutimer: timer@f8f00600 {
clocks = <&clkc 4>; clocks = <&clkc 4>;
}; };
usb0: usb@e0002000 {
compatible = "xlnx,zynq-usb-2.20a", "chipidea,usb2";
status = "disabled";
clocks = <&clkc 28>;
interrupt-parent = <&intc>;
interrupts = <0 21 4>;
reg = <0xe0002000 0x1000>;
phy_type = "ulpi";
};
usb1: usb@e0003000 {
compatible = "xlnx,zynq-usb-2.20a", "chipidea,usb2";
status = "disabled";
clocks = <&clkc 29>;
interrupt-parent = <&intc>;
interrupts = <0 44 4>;
reg = <0xe0003000 0x1000>;
phy_type = "ulpi";
};
watchdog0: watchdog@f8005000 { watchdog0: watchdog@f8005000 {
clocks = <&clkc 45>; clocks = <&clkc 45>;
compatible = "xlnx,zynq-wdt-r1p2"; compatible = "xlnx,zynq-wdt-r1p2";
......
...@@ -36,6 +36,11 @@ ds23 { ...@@ -36,6 +36,11 @@ ds23 {
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
}; };
}; };
usb_phy0: phy0 {
compatible = "usb-nop-xceiv";
#phy-cells = <0>;
};
}; };
&can0 { &can0 {
...@@ -139,3 +144,9 @@ &sdhci0 { ...@@ -139,3 +144,9 @@ &sdhci0 {
&uart1 { &uart1 {
status = "okay"; status = "okay";
}; };
&usb0 {
status = "okay";
dr_mode = "host";
usb-phy = <&usb_phy0>;
};
...@@ -27,6 +27,10 @@ chosen { ...@@ -27,6 +27,10 @@ chosen {
bootargs = "console=ttyPS0,115200 earlyprintk"; bootargs = "console=ttyPS0,115200 earlyprintk";
}; };
usb_phy0: phy0 {
compatible = "usb-nop-xceiv";
#phy-cells = <0>;
};
}; };
&clkc { &clkc {
...@@ -118,3 +122,9 @@ &sdhci0 { ...@@ -118,3 +122,9 @@ &sdhci0 {
&uart1 { &uart1 {
status = "okay"; status = "okay";
}; };
&usb0 {
status = "okay";
dr_mode = "host";
usb-phy = <&usb_phy0>;
};
...@@ -27,6 +27,10 @@ chosen { ...@@ -27,6 +27,10 @@ chosen {
bootargs = "console=ttyPS0,115200 earlyprintk"; bootargs = "console=ttyPS0,115200 earlyprintk";
}; };
usb_phy0: phy0 {
compatible = "usb-nop-xceiv";
#phy-cells = <0>;
};
}; };
&clkc { &clkc {
...@@ -50,3 +54,9 @@ &sdhci0 { ...@@ -50,3 +54,9 @@ &sdhci0 {
&uart1 { &uart1 {
status = "okay"; status = "okay";
}; };
&usb0 {
status = "okay";
dr_mode = "host";
usb-phy = <&usb_phy0>;
};
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