ARM: socfpga: dts: Add DTS entries for USB
authorDinh Nguyen <dinguyen@altera.com>
Mon, 28 Oct 2013 14:48:32 +0000 (09:48 -0500)
committerDinh Nguyen <dinguyen@altera.com>
Tue, 6 May 2014 03:33:16 +0000 (22:33 -0500)
Update all the SOCFPGA DTS files with USB entries.

Signed-off-by: Dinh Nguyen <dinguyen@altera.com>
arch/arm/boot/dts/socfpga.dtsi
arch/arm/boot/dts/socfpga_arria5_socdk.dts
arch/arm/boot/dts/socfpga_cyclone5_socdk.dts
arch/arm/boot/dts/socfpga_cyclone5_sockit.dts

index 2c3922f700f3fc168201bfb7c269777ff9703ba0..f31c5fa5525b910b1c577950389fd8dea4d443dc 100644 (file)
                        reg = <0xffd05000 0x1000>;
                };
 
+               usbphy0: usbphy@0 {
+                       #phy-cells = <0>;
+                       compatible = "usb-nop-xceiv";
+                       status = "okay";
+               };
+
+               usb0: usb@ffb00000 {
+                       compatible = "snps,dwc2";
+                       reg = <0xffb00000 0xffff>;
+                       interrupts = <0 125 4>;
+                       clocks = <&usb_mp_clk>;
+                       clock-names = "otg";
+                       phys = <&usbphy0>;
+                       phy-names = "usb2-phy";
+                       status = "disabled";
+               };
+
+               usb1: usb@ffb40000 {
+                       compatible = "snps,dwc2";
+                       reg = <0xffb40000 0xffff>;
+                       interrupts = <0 128 4>;
+                       clocks = <&usb_mp_clk>;
+                       clock-names = "otg";
+                       phys = <&usbphy0>;
+                       phy-names = "usb2-phy";
+                       status = "disabled";
+               };
+
                sysmgr: sysmgr@ffd08000 {
                        compatible = "altr,sys-mgr", "syscon";
                        reg = <0xffd08000 0x4000>;
index a04061f6bb0a51a918c89490d02706f7f73256da..d532d171e3917dba36b2284be351d33774fdd7a4 100644 (file)
@@ -74,3 +74,7 @@
                reg = <0x68>;
        };
 };
+
+&usb1 {
+       status = "okay";
+};
index 55d54f7ad2129d821e09292f61ca6b30054ce277..45de1514af0ac24f36c0cf5a737a70c7da555213 100644 (file)
@@ -67,3 +67,7 @@
                reg = <0x68>;
        };
 };
+
+&usb1 {
+       status = "okay";
+};
index d5ce22cf784ad3a2150b222bb594bba65ea8b2bf..d26f155f5fd9f64fcdbd1bcf12626c6008683b9b 100644 (file)
@@ -52,3 +52,7 @@
        rxdv-skew-ps = <0>;
        rxc-skew-ps = <2000>;
 };
+
+&usb1 {
+       status = "okay";
+};