summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorWingMan Kwok <w-kwok2@ti.com>2013-12-09 17:25:12 -0500
committerSantosh Shilimkar <santosh.shilimkar@ti.com>2013-12-12 20:29:17 -0500
commit732079567da4942b7b4929deff8f236926d0b3eb (patch)
tree023c4d6e45bee4c191a3f995c655e4678fef42cd /arch
parent08c36762db9a0223a5477441bd93650b474aa9c8 (diff)
ARM: dts: keystone: Add usb devicetree bindings
Added device tree support for TI's Keystone USB driver and updated the Documentation with device tree binding information. Signed-off-by: WingMan Kwok <w-kwok2@ti.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/k2hk-evm.dts8
-rw-r--r--arch/arm/boot/dts/keystone.dtsi19
2 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/k2hk-evm.dts b/arch/arm/boot/dts/k2hk-evm.dts
index 15b3a95f5e3a..eaefdfef65c3 100644
--- a/arch/arm/boot/dts/k2hk-evm.dts
+++ b/arch/arm/boot/dts/k2hk-evm.dts
@@ -53,3 +53,11 @@
};
};
};
+
+&usb_phy {
+ status = "okay";
+};
+
+&usb {
+ status = "okay";
+};
diff --git a/arch/arm/boot/dts/keystone.dtsi b/arch/arm/boot/dts/keystone.dtsi
index 276bea999ef4..b4202907a27b 100644
--- a/arch/arm/boot/dts/keystone.dtsi
+++ b/arch/arm/boot/dts/keystone.dtsi
@@ -189,5 +189,24 @@
reg = <0x2620738 32>;
status = "disabled";
};
+
+ usb: usb@2680000 {
+ compatible = "ti,keystone-dwc3";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ reg = <0x2680000 0x10000>;
+ clocks = <&clkusb>;
+ clock-names = "usb";
+ interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>;
+ ranges;
+ status = "disabled";
+
+ dwc3@2690000 {
+ compatible = "synopsys,dwc3";
+ reg = <0x2690000 0x70000>;
+ interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>;
+ usb-phy = <&usb_phy>, <&usb_phy>;
+ };
+ };
};
};