OSDN Git Service

arm64: dts: uniphier: add has-transaction-translator property to usb node for LD11
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Tue, 26 Dec 2017 01:03:40 +0000 (10:03 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 27 Dec 2017 15:01:27 +0000 (00:01 +0900)
When a full/low speed device is connected to USB 2.0 port on UniPhier SoC
that has ehci controller, the kernel shows the following messages.

| usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
| usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
| usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
| usb usb1-port1: unable to enumerate USB device

To fix the issue, the driver needs to enable Transaction Translator on ehci
root hub. This adds 'has-transaction-translator' property to each node.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi

index ce40eb5..cd7c2d0 100644 (file)
                                 <&mio_clk 12>;
                        resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
                                 <&mio_rst 12>;
+                       has-transaction-translator;
                };
 
                usb1: usb@5a810100 {
                                 <&mio_clk 13>;
                        resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
                                 <&mio_rst 13>;
+                       has-transaction-translator;
                };
 
                usb2: usb@5a820100 {
                                 <&mio_clk 14>;
                        resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>,
                                 <&mio_rst 14>;
+                       has-transaction-translator;
                };
 
                mioctrl@5b3e0000 {