[openwrt/openwrt] ramips: mt7621: fix usb init

LEDE Commits lede-commits at lists.infradead.org
Thu Feb 22 08:25:59 PST 2018


nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/6b6dc2b3e38b3cc821cebd7d7cf0610e1ce65964

commit 6b6dc2b3e38b3cc821cebd7d7cf0610e1ce65964
Author: Roman Yeryomin <roman at advem.lv>
AuthorDate: Thu Feb 22 18:07:35 2018 +0200

    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 <roman at advem.lv>
---
 target/linux/ramips/dts/mt7621.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi
index d68ddf3..23b5455 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";



More information about the lede-commits mailing list