[PATCH 2/3] ARM: dts: qcom: add ahb reset to ipq806x-gmac

From: Matthew Hagan
Date: Sat Jun 05 2021 - 13:43:12 EST


Add GMAC_AHB_RESET to the resets property of each gmac node.

Signed-off-by: Matthew Hagan <mnhagan88@xxxxxxxxx>
---
arch/arm/boot/dts/qcom-ipq8064.dtsi | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/arch/arm/boot/dts/qcom-ipq8064.dtsi b/arch/arm/boot/dts/qcom-ipq8064.dtsi
index 98995ead4413..1dbceaf3454b 100644
--- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
@@ -643,8 +643,9 @@ gmac0: ethernet@37000000 {
clocks = <&gcc GMAC_CORE1_CLK>;
clock-names = "stmmaceth";

- resets = <&gcc GMAC_CORE1_RESET>;
- reset-names = "stmmaceth";
+ resets = <&gcc GMAC_CORE1_RESET>,
+ <&gcc GMAC_AHB_RESET>;
+ reset-names = "stmmaceth", "ahb";

status = "disabled";
};
@@ -666,8 +667,9 @@ gmac1: ethernet@37200000 {
clocks = <&gcc GMAC_CORE2_CLK>;
clock-names = "stmmaceth";

- resets = <&gcc GMAC_CORE2_RESET>;
- reset-names = "stmmaceth";
+ resets = <&gcc GMAC_CORE2_RESET>,
+ <&gcc GMAC_AHB_RESET>;
+ reset-names = "stmmaceth", "ahb";

status = "disabled";
};
@@ -689,8 +691,9 @@ gmac2: ethernet@37400000 {
clocks = <&gcc GMAC_CORE3_CLK>;
clock-names = "stmmaceth";

- resets = <&gcc GMAC_CORE3_RESET>;
- reset-names = "stmmaceth";
+ resets = <&gcc GMAC_CORE3_RESET>,
+ <&gcc GMAC_AHB_RESET>;
+ reset-names = "stmmaceth", "ahb";

status = "disabled";
};
@@ -712,8 +715,9 @@ gmac3: ethernet@37600000 {
clocks = <&gcc GMAC_CORE4_CLK>;
clock-names = "stmmaceth";

- resets = <&gcc GMAC_CORE4_RESET>;
- reset-names = "stmmaceth";
+ resets = <&gcc GMAC_CORE4_RESET>,
+ <&gcc GMAC_AHB_RESET>;
+ reset-names = "stmmaceth", "ahb";

status = "disabled";
};
--
2.26.3