From: John Crispin Date: Sat, 29 Apr 2017 07:48:35 +0000 (+0200) Subject: mediatek: fix mt7530 mcm reset X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=3ddc1914ba2aa6b9d93528e05c051ce44ef7f8a3;p=openwrt%2Fstaging%2Faparcar.git 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 --- 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>;