clk: qcom: gcc-ipq4019: add missing networking resets
authorRobert Marko <robert.marko@sartura.hr>
Mon, 14 Aug 2023 10:40:24 +0000 (12:40 +0200)
committerBjorn Andersson <andersson@kernel.org>
Tue, 15 Aug 2023 16:31:10 +0000 (09:31 -0700)
IPQ4019 has more networking related resets that will be required for future
wired networking support, so lets add them.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Link: https://lore.kernel.org/r/20230814104119.96858-2-robert.marko@sartura.hr
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/gcc-ipq4019.c

index 5657e29..b1a8af0 100644 (file)
@@ -1686,6 +1686,12 @@ static const struct qcom_reset_map gcc_ipq4019_resets[] = {
        [GCC_TCSR_BCR] = {0x22000, 0},
        [GCC_MPM_BCR] = {0x24000, 0},
        [GCC_SPDM_BCR] = {0x25000, 0},
+       [ESS_MAC1_ARES] = {0x1200C, 0},
+       [ESS_MAC2_ARES] = {0x1200C, 1},
+       [ESS_MAC3_ARES] = {0x1200C, 2},
+       [ESS_MAC4_ARES] = {0x1200C, 3},
+       [ESS_MAC5_ARES] = {0x1200C, 4},
+       [ESS_PSGMII_ARES] = {0x1200C, 5},
 };
 
 static const struct regmap_config gcc_ipq4019_regmap_config = {