Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 342531
b: refs/heads/master
c: b5ce635
h: refs/heads/master
i:
  342529: 89f68ef
  342527: 90b7387
v: v3
  • Loading branch information
Kuninori Morimoto authored and Simon Horman committed Nov 8, 2012
1 parent b910a4f commit 671b198
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ab3ff12a78a64b851ab22726ab99dca6ad37bf94
refs/heads/master: b5ce635d45fc7da686c9f3071877689d8db1d284
3 changes: 2 additions & 1 deletion trunk/arch/arm/configs/marzen_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ CONFIG_GPIO_SYSFS=y
CONFIG_THERMAL=y
CONFIG_RCAR_THERMAL=y
CONFIG_SSB=y
# CONFIG_USB_SUPPORT is not set
CONFIG_USB=y
CONFIG_USB_RCAR_PHY=y
CONFIG_MMC=y
CONFIG_MMC_SDHI=y
CONFIG_UIO=y
Expand Down
21 changes: 21 additions & 0 deletions trunk/arch/arm/mach-shmobile/board-marzen.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,32 @@ static struct platform_device hspi_device = {
.num_resources = ARRAY_SIZE(hspi_resources),
};

/* USB PHY */
static struct resource usb_phy_resources[] = {
[0] = {
.start = 0xffe70000,
.end = 0xffe70900 - 1,
.flags = IORESOURCE_MEM,
},
[1] = {
.start = 0xfff70000,
.end = 0xfff70900 - 1,
.flags = IORESOURCE_MEM,
},
};

static struct platform_device usb_phy_device = {
.name = "rcar_usb_phy",
.resource = usb_phy_resources,
.num_resources = ARRAY_SIZE(usb_phy_resources),
};

static struct platform_device *marzen_devices[] __initdata = {
&eth_device,
&sdhi0_device,
&thermal_device,
&hspi_device,
&usb_phy_device,
};

static void __init marzen_init(void)
Expand Down

0 comments on commit 671b198

Please sign in to comment.