diff options
author | Li Yang <leoli@freescale.com> | 2008-01-08 02:18:46 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-01-23 20:33:05 -0500 |
commit | 866b6ddd283ac453d4208831119d2b8272cda832 (patch) | |
tree | 57389646617d0fd976f85483301b936aaa06d7ef /arch/powerpc/platforms/83xx | |
parent | e10241d8a1a68955e2f3e74befd9fa6ce61ba2bc (diff) |
[POWERPC] 83xx: USB device tree cleanups
Remove device_type = "usb" for 83xx SoC USB controller
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/83xx')
-rw-r--r-- | arch/powerpc/platforms/83xx/usb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/83xx/usb.c b/arch/powerpc/platforms/83xx/usb.c index b1de453a8851..6a454a4087c8 100644 --- a/arch/powerpc/platforms/83xx/usb.c +++ b/arch/powerpc/platforms/83xx/usb.c | |||
@@ -41,7 +41,7 @@ int mpc834x_usb_cfg(void) | |||
41 | sicrl = in_be32(immap + MPC83XX_SICRL_OFFS) & ~MPC834X_SICRL_USB_MASK; | 41 | sicrl = in_be32(immap + MPC83XX_SICRL_OFFS) & ~MPC834X_SICRL_USB_MASK; |
42 | sicrh = in_be32(immap + MPC83XX_SICRH_OFFS) & ~MPC834X_SICRH_USB_UTMI; | 42 | sicrh = in_be32(immap + MPC83XX_SICRH_OFFS) & ~MPC834X_SICRH_USB_UTMI; |
43 | 43 | ||
44 | np = of_find_compatible_node(NULL, "usb", "fsl-usb2-dr"); | 44 | np = of_find_compatible_node(NULL, NULL, "fsl-usb2-dr"); |
45 | if (np) { | 45 | if (np) { |
46 | sccr |= MPC83XX_SCCR_USB_DRCM_11; /* 1:3 */ | 46 | sccr |= MPC83XX_SCCR_USB_DRCM_11; /* 1:3 */ |
47 | 47 | ||
@@ -67,7 +67,7 @@ int mpc834x_usb_cfg(void) | |||
67 | port0_is_dr = 1; | 67 | port0_is_dr = 1; |
68 | of_node_put(np); | 68 | of_node_put(np); |
69 | } | 69 | } |
70 | np = of_find_compatible_node(NULL, "usb", "fsl-usb2-mph"); | 70 | np = of_find_compatible_node(NULL, NULL, "fsl-usb2-mph"); |
71 | if (np) { | 71 | if (np) { |
72 | sccr |= MPC83XX_SCCR_USB_MPHCM_11; /* 1:3 */ | 72 | sccr |= MPC83XX_SCCR_USB_MPHCM_11; /* 1:3 */ |
73 | 73 | ||
@@ -111,7 +111,7 @@ int mpc831x_usb_cfg(void) | |||
111 | const void *dr_mode; | 111 | const void *dr_mode; |
112 | #endif | 112 | #endif |
113 | 113 | ||
114 | np = of_find_compatible_node(NULL, "usb", "fsl-usb2-dr"); | 114 | np = of_find_compatible_node(NULL, NULL, "fsl-usb2-dr"); |
115 | if (!np) | 115 | if (!np) |
116 | return -ENODEV; | 116 | return -ENODEV; |
117 | prop = of_get_property(np, "phy_type", NULL); | 117 | prop = of_get_property(np, "phy_type", NULL); |
@@ -188,7 +188,7 @@ int mpc837x_usb_cfg(void) | |||
188 | const void *prop; | 188 | const void *prop; |
189 | int ret = 0; | 189 | int ret = 0; |
190 | 190 | ||
191 | np = of_find_compatible_node(NULL, "usb", "fsl-usb2-dr"); | 191 | np = of_find_compatible_node(NULL, NULL, "fsl-usb2-dr"); |
192 | if (!np) | 192 | if (!np) |
193 | return -ENODEV; | 193 | return -ENODEV; |
194 | prop = of_get_property(np, "phy_type", NULL); | 194 | prop = of_get_property(np, "phy_type", NULL); |