From 3ddc1914ba2aa6b9d93528e05c051ce44ef7f8a3 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sat, 29 Apr 2017 09:48:35 +0200 Subject: [PATCH] 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 --- .../mediatek/files/arch/arm/boot/dts/mt7623-NAND-ePHY.dts | 5 ++++- .../linux/mediatek/files/arch/arm/boot/dts/mt7623-NAND.dts | 5 ++++- .../linux/mediatek/files/arch/arm/boot/dts/mt7623-eMMC.dts | 5 ++++- 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 = <ðsys 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 = <ðsys 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 = <ðsys 2>; + reset-names = "mcm"; ports { #address-cells = <1>; -- 2.34.1