Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 342350
b: refs/heads/master
c: 1bf370a
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Lunn authored and Jason Cooper committed Nov 24, 2012
1 parent 798eed8 commit 94a343a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 11 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: f83065fa43c19600752a380f6d861b787a30d905
refs/heads/master: 1bf370a827175665d9b0e591a99243de0f6bb4e3
20 changes: 20 additions & 0 deletions trunk/arch/arm/boot/dts/kirkwood-dockstar.dts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/dts-v1/;

/include/ "kirkwood.dtsi"
/include/ "kirkwood-6281.dtsi"

/ {
model = "Seagate FreeAgent Dockstar";
Expand All @@ -16,6 +17,25 @@
};

ocp@f1000000 {
pinctrl: pinctrl@10000 {

pinctrl-0 = < &pmx_usb_power_enable
&pmx_led_green &pmx_led_orange >;
pinctrl-names = "default";

pmx_usb_power_enable: pmx-usb-power-enable {
marvell,pins = "mpp29";
marvell,function = "gpio";
};
pmx_led_green: pmx-led-green {
marvell,pins = "mpp46";
marvell,function = "gpio";
};
pmx_led_orange: pmx-led-orange {
marvell,pins = "mpp47";
marvell,function = "gpio";
};
};
serial@12000 {
clock-frequency = <200000000>;
status = "ok";
Expand Down
10 changes: 0 additions & 10 deletions trunk/arch/arm/mach-kirkwood/board-dockstar.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,15 @@
#include <mach/bridge-regs.h>
#include <linux/platform_data/mmc-mvsdio.h>
#include "common.h"
#include "mpp.h"

static struct mv643xx_eth_platform_data dockstar_ge00_data = {
.phy_addr = MV643XX_ETH_PHY_ADDR(0),
};

static unsigned int dockstar_mpp_config[] __initdata = {
MPP29_GPIO, /* USB Power Enable */
MPP46_GPIO, /* LED green */
MPP47_GPIO, /* LED orange */
0
};

void __init dockstar_dt_init(void)
{
/*
* Basic setup. Needs to be called early.
*/
kirkwood_mpp_conf(dockstar_mpp_config);

kirkwood_ge00_init(&dockstar_ge00_data);
}

0 comments on commit 94a343a

Please sign in to comment.