002-v6.6-clk-qcom-gcc-ipq4019-add-missing-networking-resets.patch 1.1 KB

123456789101112131415161718192021222324252627282930
  1. From 20014461691efc9e274c3870357152db7f091820 Mon Sep 17 00:00:00 2001
  2. From: Robert Marko <[email protected]>
  3. Date: Mon, 14 Aug 2023 12:40:24 +0200
  4. Subject: [PATCH] clk: qcom: gcc-ipq4019: add missing networking resets
  5. IPQ4019 has more networking related resets that will be required for future
  6. wired networking support, so lets add them.
  7. Signed-off-by: Robert Marko <[email protected]>
  8. Link: https://lore.kernel.org/r/[email protected]
  9. Signed-off-by: Bjorn Andersson <[email protected]>
  10. ---
  11. drivers/clk/qcom/gcc-ipq4019.c | 6 ++++++
  12. 1 file changed, 6 insertions(+)
  13. --- a/drivers/clk/qcom/gcc-ipq4019.c
  14. +++ b/drivers/clk/qcom/gcc-ipq4019.c
  15. @@ -1707,6 +1707,12 @@ static const struct qcom_reset_map gcc_i
  16. [GCC_TCSR_BCR] = {0x22000, 0},
  17. [GCC_MPM_BCR] = {0x24000, 0},
  18. [GCC_SPDM_BCR] = {0x25000, 0},
  19. + [ESS_MAC1_ARES] = {0x1200C, 0},
  20. + [ESS_MAC2_ARES] = {0x1200C, 1},
  21. + [ESS_MAC3_ARES] = {0x1200C, 2},
  22. + [ESS_MAC4_ARES] = {0x1200C, 3},
  23. + [ESS_MAC5_ARES] = {0x1200C, 4},
  24. + [ESS_PSGMII_ARES] = {0x1200C, 5},
  25. };
  26. static const struct regmap_config gcc_ipq4019_regmap_config = {