From af14a456c58c153c6d761e6c0af48157692b52ad Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 9 Nov 2012 13:43:30 +0100 Subject: MIPS: lantiq: adds code for booting GPHY The XRX200 family of SoCs has embedded gigabit PHYs. This patch adds code to boot them up. Signed-off-by: John Crispin Patchwork: http://patchwork.linux-mips.org/patch/4522 --- arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/mips/include/asm/mach-lantiq') diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h index 6a2df709c576..133336b493b6 100644 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h @@ -82,6 +82,9 @@ extern __iomem void *ltq_cgu_membase; #define LTQ_MPS_BASE_ADDR (KSEG1 + 0x1F107000) #define LTQ_MPS_CHIPID ((u32 *)(LTQ_MPS_BASE_ADDR + 0x0344)) +/* allow booting xrx200 phys */ +int xrx200_gphy_boot(struct device *dev, unsigned int id, dma_addr_t dev_addr); + /* request a non-gpio and set the PIO config */ #define PMU_PPE BIT(13) extern void ltq_pmu_enable(unsigned int module); -- cgit v1.2.1