This parch adds the device tree nodes for APM X-Gnene USB host controller.
Since X-Gene SOC supports maximum 2 USB ports, 2 dts node are added.

Signed-off-by: Bao Truong <[email protected]>
Signed-off-by: Feng Kan <[email protected]>
---
 arch/arm64/boot/dts/apm/apm-storm.dtsi |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi 
b/arch/arm64/boot/dts/apm/apm-storm.dtsi
index f1ad9c2..4b2ec83 100644
--- a/arch/arm64/boot/dts/apm/apm-storm.dtsi
+++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi
@@ -587,6 +587,25 @@
                        phy-names = "sata-phy";
                };
 
+               /*
+                * Do not change dwusb name, coded for backward compatibility
+                */
+               usb0: dwusb@19000000 {
+                       status = "disabled";
+                       compatible = "xhci-platform";
+                       reg =  <0x0 0x19000000 0x0 0x100000>;
+                       interrupts = <0x0 0x89 0x4>;
+                       dma-coherent;
+               };
+
+               usb1: dwusb@19800000 {
+                       status = "disabled";
+                       compatible = "xhci-platform";
+                       reg =  <0x0 0x19800000 0x0 0x100000>;
+                       interrupts = <0x0 0x8a 0x4>;
+                       dma-coherent;
+               };
+
                rtc: rtc@10510000 {
                        compatible = "apm,xgene-rtc";
                        reg = <0x0 0x10510000 0x0 0x400>;
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to