]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
clock: qcom: ipq4019: add missing networking resets
authorRobert Marko <robert.marko@sartura.hr>
Mon, 3 Jun 2024 12:06:14 +0000 (14:06 +0200)
committerCaleb Connolly <caleb.connolly@linaro.org>
Thu, 25 Jul 2024 23:53:12 +0000 (01:53 +0200)
IPQ4019 has more networking related resets that will be required for future
wired networking support, so lets add them.

This syncs the driver with Linux.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org>
drivers/clk/qcom/clock-ipq4019.c

index af88ca3950ad6424eebf2b8e407c3b3046e5c891..f6760c6fb3df742988ac82dc9887e6653537bb38 100644 (file)
@@ -144,6 +144,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 struct msm_clk_data ipq4019_clk_data = {