ARM: dts: tango4: Import USB nodes
authorMarc Gonzalez <marc_gonzalez@sigmadesigns.com>
Thu, 19 Jan 2017 14:59:04 +0000 (15:59 +0100)
committerOlof Johansson <olof@lixom.net>
Fri, 20 Jan 2017 00:24:27 +0000 (16:24 -0800)
Tango4 provides 2 USB 2.0 controllers.

Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/tango4-common.dtsi

index 2eb92a2..0c8cad4 100644 (file)
                        interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
                };
 
+               usb0: usb@21400 {
+                       compatible = "chipidea,usb2";
+                       reg = <0x21400 0x200>;
+                       interrupts = <40 IRQ_TYPE_LEVEL_HIGH>;
+                       phys = <&usb0_phy>;
+                       phy-names = "usb-phy";
+               };
+
+               usb0_phy: phy@21700 {
+                       compatible = "sigma,smp8642-usb-phy";
+                       reg = <0x21700 0x100>;
+                       #phy-cells = <0>;
+                       clocks = <&clkgen USB_CLK>;
+               };
+
+               usb1: usb@25400 {
+                       compatible = "chipidea,usb2";
+                       reg = <0x25400 0x200>;
+                       interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
+                       phys = <&usb1_phy>;
+                       phy-names = "usb-phy";
+               };
+
+               usb1_phy: phy@25700 {
+                       compatible = "sigma,smp8642-usb-phy";
+                       reg = <0x25700 0x100>;
+                       #phy-cells = <0>;
+                       clocks = <&clkgen USB_CLK>;
+               };
+
                eth0: ethernet@26000 {
                        compatible = "sigma,smp8734-ethernet";
                        reg = <0x26000 0x800>;