[source] mediatek: fix mt7530 mcm reset
LEDE Commits
lede-commits at lists.infradead.org
Sat Apr 29 00:49:44 PDT 2017
blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/3ddc1914ba2aa6b9d93528e05c051ce44ef7f8a3
commit 3ddc1914ba2aa6b9d93528e05c051ce44ef7f8a3
Author: John Crispin <john at phrozen.org>
AuthorDate: Sat Apr 29 09:48:35 2017 +0200
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 at phrozen.org>
---
target/linux/mediatek/files/arch/arm/boot/dts/mt7623-NAND-ePHY.dts | 5 ++++-
target/linux/mediatek/files/arch/arm/boot/dts/mt7623-NAND.dts | 5 ++++-
target/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 035bdf5..1278b8b 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 072ebe7..6606176 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 36b0065..fe1a42d 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>;
More information about the lede-commits
mailing list