From: Roman Yeryomin Date: Thu, 22 Feb 2018 16:07:35 +0000 (+0200) Subject: ramips: mt7621: fix usb init X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6b6dc2b3e38b3cc821cebd7d7cf0610e1ce65964;p=openwrt%2Fstaging%2Faparcar.git ramips: mt7621: fix usb init In 4.14 reg-names is required to identify resources. Otherwise init fails with: [ 5.900501] xhci-mtk 1e1c0000.xhci: invalid resource [ 5.910499] xhci-mtk: probe of 1e1c0000.xhci failed with error -22 Signed-off-by: Roman Yeryomin --- diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index d68ddf3bc6..23b5455d68 100644 --- a/target/linux/ramips/dts/mt7621.dtsi +++ b/target/linux/ramips/dts/mt7621.dtsi @@ -342,6 +342,7 @@ compatible = "mediatek,mt8173-xhci"; reg = <0x1e1c0000 0x1000 0x1e1d0700 0x0100>; + reg-names = "mac", "ippc"; clocks = <&sysclock>; clock-names = "sys_ck";