[PATCH 4/6] powerpc: add USB peripheral support to MPC8272ADS
Stephen Rothwell
sfr at canb.auug.org.au
Wed Aug 6 17:48:22 EST 2008
Hi Li,
On Wed, 6 Aug 2008 15:04:43 +0800 Li Yang <leoli at freescale.com> wrote:
>
> @@ -150,6 +169,12 @@ static void __init mpc8272_ads_setup_arch(void)
> clrbits32(&bcsr[3], BCSR3_FETHIEN2);
> setbits32(&bcsr[3], BCSR3_FETH2_RST);
>
> + /* Enabling USB support in BCSR */
> + np = of_find_compatible_node(NULL, NULL, "fsl,qe_udc");
> + if (np != NULL) {
of_node_put(np);
> + clrbits32(&bcsr[3], BCSR3_USB_EN);
> + clrbits32(&bcsr[3], BCSR3_USB_HI_SPEED);
> + }
--
Cheers,
Stephen Rothwell sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080806/6cbb672a/attachment.pgp>
More information about the Linuxppc-dev
mailing list