Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: brcmstb: Add debug UART entry for 74165

BCM74165 uses the same address map as the 7278 family (v7 memory map)
therefore re-use that constant and shift down the other labels to keep
numerical ordering.

Link: https://lore.kernel.org/r/20240129184651.2405485-1-florian.fainelli@broadcom.com
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>

+5 -3
+5 -3
arch/arm/include/debug/brcmstb.S
··· 27 27 #define UARTA_72165 UARTA_7278 28 28 #define UARTA_7364 REG_PHYS_ADDR(0x40b000) 29 29 #define UARTA_7366 UARTA_7364 30 + #define UARTA_74165 UARTA_7278 30 31 #define UARTA_74371 REG_PHYS_ADDR(0x406b00) 31 32 #define UARTA_7439 REG_PHYS_ADDR(0x40a900) 32 33 #define UARTA_7445 REG_PHYS_ADDR(0x40ab00) ··· 89 88 30: checkuart(\rp, \rv, 0x72780000, 7278) 90 89 31: checkuart(\rp, \rv, 0x73640000, 7364) 91 90 32: checkuart(\rp, \rv, 0x73660000, 7366) 92 - 33: checkuart(\rp, \rv, 0x07437100, 74371) 93 - 34: checkuart(\rp, \rv, 0x74390000, 7439) 94 - 35: checkuart(\rp, \rv, 0x74450000, 7445) 91 + 33: checkuart(\rp, \rv, 0x07416500, 74165) 92 + 34: checkuart(\rp, \rv, 0x07437100, 74371) 93 + 35: checkuart(\rp, \rv, 0x74390000, 7439) 94 + 36: checkuart(\rp, \rv, 0x74450000, 7445) 95 95 96 96 /* No valid UART found */ 97 97 90: mov \rp, #0