ath79: Convert incorrect 5.10 and 5.15 patches
[openwrt/openwrt.git] / target / linux / ath79 / patches-5.10 / 0037-missing-registers.patch
1 From: Christian Lamparter <chunkeey@gmail.com>
2 Subject: [PATCH] ath79: gmac: add parsers for rxd(v)- and tx(d|en)-delay for
3
4 ath79: gmac: add parsers for rxd(v)- and tx(d|en)-delay for AR9344
5
6 Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
7
8 --- a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h
9 +++ b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h
10 @@ -1226,6 +1226,10 @@
11 #define AR934X_ETH_CFG_RDV_DELAY BIT(16)
12 #define AR934X_ETH_CFG_RDV_DELAY_MASK 0x3
13 #define AR934X_ETH_CFG_RDV_DELAY_SHIFT 16
14 +#define AR934X_ETH_CFG_TXD_DELAY_MASK 0x3
15 +#define AR934X_ETH_CFG_TXD_DELAY_SHIFT 18
16 +#define AR934X_ETH_CFG_TXE_DELAY_MASK 0x3
17 +#define AR934X_ETH_CFG_TXE_DELAY_SHIFT 20
18
19 /*
20 * QCA953X GMAC Interface