瀏覽代碼

mediatek: fix mt7530 mcm reset

Early SoC versions with an ECO of 1 required the gpio reset.
Mass production SoCs no longer need this work around.

Signed-off-by: John Crispin <[email protected]>
John Crispin 8 年之前
父節點
當前提交
3ddc1914ba

+ 4 - 1
target/linux/mediatek/files/arch/arm/boot/dts/mt7623-NAND-ePHY.dts

@@ -475,7 +475,10 @@
 
 		core-supply = <&mt6323_vpa_reg>;
 		io-supply = <&mt6323_vemc3v3_reg>;
-		reset-gpios = <&pio 33 0>;
+
+		mediatek,mcm;
+		resets = <&ethsys 2>;
+		reset-names = "mcm";
 
 		ports {
 			#address-cells = <1>;

+ 4 - 1
target/linux/mediatek/files/arch/arm/boot/dts/mt7623-NAND.dts

@@ -489,7 +489,10 @@
 
 		core-supply = <&mt6323_vpa_reg>;
 		io-supply = <&mt6323_vemc3v3_reg>;
-		reset-gpios = <&pio 33 0>;
+
+		mediatek,mcm;
+		resets = <&ethsys 2>;
+		reset-names = "mcm";
 
 		ports {
 			#address-cells = <1>;

+ 4 - 1
target/linux/mediatek/files/arch/arm/boot/dts/mt7623-eMMC.dts

@@ -490,7 +490,10 @@
 
 		core-supply = <&mt6323_vpa_reg>;
 		io-supply = <&mt6323_vemc3v3_reg>;
-		reset-gpios = <&pio 33 0>;
+
+		mediatek,mcm;
+		resets = <&ethsys 2>;
+		reset-names = "mcm";
 
 		ports {
 			#address-cells = <1>;