Commit 6fa9b025 authored by Kunihiko Hayashi's avatar Kunihiko Hayashi Committed by Masahiro Yamada

ARM: dts: uniphier: add has-transaction-translator property to usb node for LD4, sLD8 and Pro4

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: default avatarKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 6b968186
...@@ -237,6 +237,7 @@ usb0: usb@5a800100 { ...@@ -237,6 +237,7 @@ usb0: usb@5a800100 {
<&mio_clk 12>; <&mio_clk 12>;
resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>, resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
<&mio_rst 12>; <&mio_rst 12>;
has-transaction-translator;
}; };
usb1: usb@5a810100 { usb1: usb@5a810100 {
...@@ -250,6 +251,7 @@ usb1: usb@5a810100 { ...@@ -250,6 +251,7 @@ usb1: usb@5a810100 {
<&mio_clk 13>; <&mio_clk 13>;
resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>, resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
<&mio_rst 13>; <&mio_rst 13>;
has-transaction-translator;
}; };
usb2: usb@5a820100 { usb2: usb@5a820100 {
...@@ -263,6 +265,7 @@ usb2: usb@5a820100 { ...@@ -263,6 +265,7 @@ usb2: usb@5a820100 {
<&mio_clk 14>; <&mio_clk 14>;
resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>, resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>,
<&mio_rst 14>; <&mio_rst 14>;
has-transaction-translator;
}; };
soc-glue@5f800000 { soc-glue@5f800000 {
......
...@@ -271,6 +271,7 @@ usb2: usb@5a800100 { ...@@ -271,6 +271,7 @@ usb2: usb@5a800100 {
<&mio_clk 12>; <&mio_clk 12>;
resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>, resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
<&mio_rst 12>; <&mio_rst 12>;
has-transaction-translator;
}; };
usb3: usb@5a810100 { usb3: usb@5a810100 {
...@@ -284,6 +285,7 @@ usb3: usb@5a810100 { ...@@ -284,6 +285,7 @@ usb3: usb@5a810100 {
<&mio_clk 13>; <&mio_clk 13>;
resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>, resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
<&mio_rst 13>; <&mio_rst 13>;
has-transaction-translator;
}; };
soc-glue@5f800000 { soc-glue@5f800000 {
......
...@@ -241,6 +241,7 @@ usb0: usb@5a800100 { ...@@ -241,6 +241,7 @@ usb0: usb@5a800100 {
<&mio_clk 12>; <&mio_clk 12>;
resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>, resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
<&mio_rst 12>; <&mio_rst 12>;
has-transaction-translator;
}; };
usb1: usb@5a810100 { usb1: usb@5a810100 {
...@@ -254,6 +255,7 @@ usb1: usb@5a810100 { ...@@ -254,6 +255,7 @@ usb1: usb@5a810100 {
<&mio_clk 13>; <&mio_clk 13>;
resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>, resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
<&mio_rst 13>; <&mio_rst 13>;
has-transaction-translator;
}; };
usb2: usb@5a820100 { usb2: usb@5a820100 {
...@@ -267,6 +269,7 @@ usb2: usb@5a820100 { ...@@ -267,6 +269,7 @@ usb2: usb@5a820100 {
<&mio_clk 14>; <&mio_clk 14>;
resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>, resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>,
<&mio_rst 14>; <&mio_rst 14>;
has-transaction-translator;
}; };
soc-glue@5f800000 { soc-glue@5f800000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment