Commit 3d4bacdc authored by Neil Armstrong's avatar Neil Armstrong Committed by Kevin Hilman

arm64: dts: meson-g12a: add missing dwc2 phy-names

The G12A USB2 OTG capable PHY uses a 8bit large UTMI bus, and the OTG
controller gets the PHY but width by probing the associated phy.

By default it will use 16bit wide settings if a phy is not specified,
in our case we specified the phy, but not the phy-names.

The dwc2 bindings specifies that if phys is present, phy-names shall be
"usb2-phy".

Adding phy-names = "usb2-phy" solves the OTG PHY bus configuration.

Fixes: 9baf7d6b ("arm64: dts: meson: g12a: Add G12A USB nodes")
Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
parent 5f9e832c
...@@ -2386,6 +2386,7 @@ dwc2: usb@ff400000 { ...@@ -2386,6 +2386,7 @@ dwc2: usb@ff400000 {
clocks = <&clkc CLKID_USB1_DDR_BRIDGE>; clocks = <&clkc CLKID_USB1_DDR_BRIDGE>;
clock-names = "ddr"; clock-names = "ddr";
phys = <&usb2_phy1>; phys = <&usb2_phy1>;
phy-names = "usb2-phy";
dr_mode = "peripheral"; dr_mode = "peripheral";
g-rx-fifo-size = <192>; g-rx-fifo-size = <192>;
g-np-tx-fifo-size = <128>; g-np-tx-fifo-size = <128>;
......
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