Merge Official Source

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2022-05-04 14:56:03 +08:00
commit 0dc6956f5d
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
2 changed files with 6 additions and 0 deletions

View File

@ -997,6 +997,7 @@ ar40xx_malibu_psgmii_ess_reset(struct ar40xx_priv *priv)
*/
mdelay(2);
}
mdelay(50);
/*check malibu psgmii calibration done end..*/
@ -1015,6 +1016,7 @@ ar40xx_malibu_psgmii_ess_reset(struct ar40xx_priv *priv)
/* Polling interval to check PSGMII PLL in ESS is ready */
mdelay(2);
}
mdelay(50);
/* check dakota psgmii calibration done end..*/
@ -1022,6 +1024,7 @@ ar40xx_malibu_psgmii_ess_reset(struct ar40xx_priv *priv)
mdiobus_write(bus, 5, 0x1a, 0x3230);
/* release phy psgmii RX 20bit */
mdiobus_write(bus, 5, 0x0, 0x005f);
mdelay(200);
}
static void

View File

@ -88,6 +88,9 @@
&pcie {
status = "okay";
reset-gpios = <&gpio 19 GPIO_ACTIVE_LOW>,
<&gpio 8 GPIO_ACTIVE_LOW>;
};
&pcie0 {