Browse Source

ramips: mt7628: fix memory controller reset bit

According to MediaTek MT7688 Datasheet v1.4, as well as the MT7628
counterpart, the memory controller reset bit (MC_RST) is 10, not 20.
Reset bit 20 is used for for UART 2 (UART2_RST).

Please note: Due to the lack of hardware, I was not able to test this
change.

Signed-off-by: Reto Schneider <[email protected]>
Reto Schneider 4 years ago
parent
commit
2293f1abe4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      target/linux/ramips/dts/mt7628an.dtsi

+ 1 - 1
target/linux/ramips/dts/mt7628an.dtsi

@@ -76,7 +76,7 @@
 			compatible = "ralink,mt7620a-memc", "ralink,rt3050-memc";
 			reg = <0x300 0x100>;
 
-			resets = <&rstctrl 20>;
+			resets = <&rstctrl 10>;
 			reset-names = "mc";
 
 			interrupt-parent = <&intc>;