Thread (20 messages) 20 messages, 4 authors, 2008-08-07

Re: [PATCH 4/6] powerpc: add USB peripheral support to MPC8272ADS

flat view

From: Stephen Rothwell <hidden>
Date: 2008-08-06 07:48:37

Hi Li,

On Wed,  6 Aug 2008 15:04:43 +0800 Li Yang [off-list ref] wrote:
quoted hunk ↗ jump to hunk
@@ -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);
quoted hunk ↗ jump to hunk
+		clrbits32(&bcsr[3], BCSR3_USB_EN);
+		clrbits32(&bcsr[3], BCSR3_USB_HI_SPEED);
+	}
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help