[PATCH v3] arm: dts: AM43x: Add usb DT nodes for AM4372

George Cherian
2013-07-10T08:15:32Z

This patch adds
- HS USB nodes
- phy nodes
- usb control module nodes.

Signed-off-by: George Cherian <george.cherian@ti.com>
---

changes from v2
change synopsis to snps
use simple node names
add both USB and PHY instances
add usbctrl node

changes from v1
renamed synopsis to snps
removed flag tx-fifo-resize

arch/arm/boot/dts/am4372.dtsi | 58 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)

diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
index ddc1df7..37f196f 100644
--- a/arch/arm/boot/dts/am4372.dtsi
+++ b/arch/arm/boot/dts/am4372.dtsi
@@ -64,5 +64,63 @@
compatible = "ti,am4372-counter32k","ti,omap-counter32k";
reg = <0x44e86000 0x40>;
};
+
+ phy1: usbphy1 {
+ compatible = "ti,am4372-usb2";
+ #phy-cells = <0>;
+ id = <0>;
+ status = "disabled";
+ };
+
+ phy2: usbphy2 {
+ compatible = "ti,am4372-usb2";
+ #phy-cells = <0>;
+ id = <1>;
+ status = "disabled";
+ };
+
+ usbctrl: omap-control-usb@44e10620 {
+ compatible = "ti,omap-control-usb";
+ reg = <0x44e10620 0x10>;
+ reg-names = "control_dev_conf";
+ ti,type = <3>;
+ status = "disabled";
+ };
+
+ usb1: am4372_dwc3@48380000 {
+ status = "disabled";
+ compatible = "ti,am4372-dwc3";
+ reg = <0x48380000 0x200>;
+ interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ utmi-mode = <1>;
+ ranges;
+ dwc3@48390000 {
+ compatible = "snps,dwc3";
+ reg = <0x48390000 0xd000>;
+ interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
+ phys = <&phy1>;
+ phy-names = "am4372-usb1";
+ };
+ };
+
+ usb2: am4372_dwc3@483c0000 {
+ status = "disabled";
+ compatible = "ti,am4372-dwc3";
+ reg = <0x483c0000 0x200>;
+ interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ utmi-mode = <1>;
+ ranges;
+ dwc3@483d0000 {
+ compatible = "snps,dwc3";
+ reg = <0x483d0000 0xd000>;
+ interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
+ phys = <&phy2>;
+ phy-names = "am4372-usb2";
+ };
+ };
};
};
--
1.8.1.4