mediatek: fix mt7530 mcm reset
authorJohn Crispin <john@phrozen.org>
Sat, 29 Apr 2017 07:48:35 +0000 (09:48 +0200)
committerJohn Crispin <john@phrozen.org>
Sat, 29 Apr 2017 07:48:35 +0000 (09:48 +0200)
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 <john@phrozen.org>
target/linux/mediatek/files/arch/arm/boot/dts/mt7623-NAND-ePHY.dts
target/linux/mediatek/files/arch/arm/boot/dts/mt7623-NAND.dts
target/linux/mediatek/files/arch/arm/boot/dts/mt7623-eMMC.dts

index 035bdf5847ce618e4976af1f59cbbf9f1844bc73..1278b8bf0d050aad6e7b9b3c5def59b4107c329f 100644 (file)
 
                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>;
index 072ebe764d274f81a7716e0029efc405a493f344..6606176d4d6a80c06521470ecbdd0aba41e2b2f7 100644 (file)
 
                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>;
index 36b0065025909372570aef68cda24c78cdbc0ba9..fe1a42d282719f22f51851751ef5d00677457e2e 100644 (file)
 
                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>;