]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
powerpc/85xx: Add P1021 specific QE and UEC support
authorHaiying Wang <Haiying.Wang@freescale.com>
Fri, 11 Feb 2011 07:25:30 +0000 (01:25 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 5 Apr 2011 15:18:39 +0000 (10:18 -0500)
commita52d2f816dac9cf516b4c795d44ce42cbe6aacb3
tree1537649316d30b38f942321e83be20f6f47df84f
parentc1fc2d4fc282fb59f42c82fd0b5e8255497093b5
powerpc/85xx: Add P1021 specific QE and UEC support

P1021 has some QE pins which need to be set in pmuxcr register before
using QE functions. In this patch, pin QE0 and QE3 are set for UCC1 and
UCC5 in Eth mode.  QE9 and QE12 are set for MII management. QE12 needs to
be released after MII access because QE12 pin is muxed with LBCTL signal.

Also added relevant QE support defines unique to P1021.

The P1021 QE is shared on P1012, P1016, and P1025.

Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc85xx/speed.c
arch/powerpc/include/asm/config_mpc85xx.h
arch/powerpc/include/asm/immap_85xx.h
drivers/qe/uec.c