aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2017-04-29 09:48:35 +0200
committerJohn Crispin <john@phrozen.org>2017-04-29 09:48:35 +0200
commit3ddc1914ba2aa6b9d93528e05c051ce44ef7f8a3 (patch)
tree93bbe61b5841b5de974a38d874dea60b3372cb75
parentc45ef702ff3d4fd79b788823719cda356b9088c5 (diff)
downloadupstream-3ddc1914ba2aa6b9d93528e05c051ce44ef7f8a3.tar.gz
upstream-3ddc1914ba2aa6b9d93528e05c051ce44ef7f8a3.tar.bz2
upstream-3ddc1914ba2aa6b9d93528e05c051ce44ef7f8a3.zip
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 <john@phrozen.org>
-rw-r--r--target/linux/mediatek/files/arch/arm/boot/dts/mt7623-NAND-ePHY.dts5
-rw-r--r--target/linux/mediatek/files/arch/arm/boot/dts/mt7623-NAND.dts5
-rw-r--r--target/linux/mediatek/files/arch/arm/boot/dts/mt7623-eMMC.dts5
3 files changed, 12 insertions, 3 deletions
diff --git a/target/linux/mediatek/files/arch/arm/boot/dts/mt7623-NAND-ePHY.dts b/target/linux/mediatek/files/arch/arm/boot/dts/mt7623-NAND-ePHY.dts
index 035bdf5847..1278b8bf0d 100644
--- a/target/linux/mediatek/files/arch/arm/boot/dts/mt7623-NAND-ePHY.dts
+++ b/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>;
diff --git a/target/linux/mediatek/files/arch/arm/boot/dts/mt7623-NAND.dts b/target/linux/mediatek/files/arch/arm/boot/dts/mt7623-NAND.dts
index 072ebe764d..6606176d4d 100644
--- a/target/linux/mediatek/files/arch/arm/boot/dts/mt7623-NAND.dts
+++ b/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>;
diff --git a/target/linux/mediatek/files/arch/arm/boot/dts/mt7623-eMMC.dts b/target/linux/mediatek/files/arch/arm/boot/dts/mt7623-eMMC.dts
index 36b0065025..fe1a42d282 100644
--- a/target/linux/mediatek/files/arch/arm/boot/dts/mt7623-eMMC.dts
+++ b/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>;