]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: imx: Add dummy PHYs for HSIC-only USB controllers
authorFrieder Schrempf <frieder.schrempf@kontron.de>
Thu, 18 Oct 2018 07:45:04 +0000 (09:45 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 10 Dec 2018 02:02:24 +0000 (10:02 +0800)
Some SOCs in the i.MX6 family have a USB host controller that is
only capable of the HSIC interface and has no on-board PHY.

To be able to use these controllers, we need to add "usb-nop-xceiv"
dummy PHYs.

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl.dtsi
arch/arm/boot/dts/imx6sl.dtsi
arch/arm/boot/dts/imx6sx.dtsi

index ae94113d037ebb176f0234dc0ab331880c4108ce..6d827b69ead0303708cb5891dc31e830cb0f52f4 100644 (file)
@@ -140,6 +140,16 @@ pmu: pmu {
                interrupts = <0 94 IRQ_TYPE_LEVEL_HIGH>;
        };
 
+       usbphynop1: usbphynop1 {
+               compatible = "usb-nop-xceiv";
+               #phy-cells = <0>;
+       };
+
+       usbphynop2: usbphynop2 {
+               compatible = "usb-nop-xceiv";
+               #phy-cells = <0>;
+       };
+
        soc {
                #address-cells = <1>;
                #size-cells = <1>;
@@ -984,6 +994,8 @@ usbh2: usb@2184400 {
                                reg = <0x02184400 0x200>;
                                interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&clks IMX6QDL_CLK_USBOH3>;
+                               fsl,usbphy = <&usbphynop1>;
+                               phy_type = "hsic";
                                fsl,usbmisc = <&usbmisc 2>;
                                dr_mode = "host";
                                ahb-burst-config = <0x0>;
@@ -997,6 +1009,8 @@ usbh3: usb@2184600 {
                                reg = <0x02184600 0x200>;
                                interrupts = <0 42 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&clks IMX6QDL_CLK_USBOH3>;
+                               fsl,usbphy = <&usbphynop2>;
+                               phy_type = "hsic";
                                fsl,usbmisc = <&usbmisc 3>;
                                dr_mode = "host";
                                ahb-burst-config = <0x0>;
index 557d3fda1db9076b373bc556429ec2394a4747f1..97e49aa7b033ae1bfca55f55007e77460fcde286 100644 (file)
@@ -110,6 +110,11 @@ pmu {
                interrupts = <0 94 IRQ_TYPE_LEVEL_HIGH>;
        };
 
+       usbphynop1: usbphynop1 {
+               compatible = "usb-nop-xceiv";
+               #phy-cells = <0>;
+       };
+
        soc {
                #address-cells = <1>;
                #size-cells = <1>;
@@ -814,6 +819,8 @@ usbh: usb@2184400 {
                                reg = <0x02184400 0x200>;
                                interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&clks IMX6SL_CLK_USBOH3>;
+                               fsl,usbphy = <&usbphynop1>;
+                               phy_type = "hsic";
                                fsl,usbmisc = <&usbmisc 2>;
                                dr_mode = "host";
                                ahb-burst-config = <0x0>;
index 7f3022892bc172eecc654b3cef0db7f82a5738c1..54262671b0539383fa14a728a4f81801e9a0e380 100644 (file)
@@ -159,6 +159,11 @@ pmu {
                interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
        };
 
+       usbphynop1: usbphynop1 {
+               compatible = "usb-nop-xceiv";
+               #phy-cells = <0>;
+       };
+
        soc {
                #address-cells = <1>;
                #size-cells = <1>;
@@ -877,6 +882,7 @@ usbh: usb@2184400 {
                                reg = <0x02184400 0x200>;
                                interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&clks IMX6SX_CLK_USBOH3>;
+                               fsl,usbphy = <&usbphynop1>;
                                fsl,usbmisc = <&usbmisc 2>;
                                phy_type = "hsic";
                                fsl,anatop = <&anatop>;