| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * linux/arch/arm/mach-mmp/aspenite.c |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Support for the Marvell PXA168-based Aspenite and Zylonite2 |
|---|
| 5 | 6 | * Development Platform. |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 8 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 9 | | - * publishhed by the Free Software Foundation. |
|---|
| 10 | 7 | */ |
|---|
| 11 | 8 | #include <linux/gpio.h> |
|---|
| 12 | 9 | #include <linux/gpio-pxa.h> |
|---|
| .. | .. |
|---|
| 29 | 26 | #include "addr-map.h" |
|---|
| 30 | 27 | #include "mfp-pxa168.h" |
|---|
| 31 | 28 | #include "pxa168.h" |
|---|
| 29 | +#include "pxa910.h" |
|---|
| 32 | 30 | #include "irqs.h" |
|---|
| 33 | 31 | #include "common.h" |
|---|
| 34 | 32 | |
|---|
| .. | .. |
|---|
| 256 | 254 | /* off-chip devices */ |
|---|
| 257 | 255 | platform_device_register(&smc91x_device); |
|---|
| 258 | 256 | |
|---|
| 257 | +#if IS_ENABLED(CONFIG_USB_SUPPORT) |
|---|
| 258 | +#if IS_ENABLED(CONFIG_PHY_PXA_USB) |
|---|
| 259 | + platform_device_register(&pxa168_device_usb_phy); |
|---|
| 260 | +#endif |
|---|
| 261 | + |
|---|
| 259 | 262 | #if IS_ENABLED(CONFIG_USB_EHCI_MV) |
|---|
| 260 | 263 | pxa168_add_usb_host(&pxa168_sph_pdata); |
|---|
| 261 | 264 | #endif |
|---|
| 265 | +#endif |
|---|
| 262 | 266 | } |
|---|
| 263 | 267 | |
|---|
| 264 | 268 | MACHINE_START(ASPENITE, "PXA168-based Aspenite Development Platform") |
|---|