Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348464
b: refs/heads/master
c: 8758c88
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Lunn authored and Jason Cooper committed Jan 6, 2013
1 parent 13202cd commit 994f28e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 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: d2268be3dc0ef59f9d572f082c08e698e4617bc4
refs/heads/master: 8758c885c43859266e45db588b1a5992c049c595
17 changes: 17 additions & 0 deletions trunk/arch/arm/boot/dts/kirkwood-topkick.dts
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,21 @@
gpios = <&gpio1 16 1>;
};
};
regulators {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <0>;

sata0_power: regulator@1 {
compatible = "regulator-fixed";
reg = <1>;
regulator-name = "SATA0 Power";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
enable-active-high;
regulator-always-on;
regulator-boot-on;
gpio = <&gpio1 4 0>;
};
};
};
4 changes: 0 additions & 4 deletions trunk/arch/arm/mach-kirkwood/board-usi_topkick.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,13 @@ static unsigned int topkick_mpp_config[] __initdata = {
0
};

#define TOPKICK_SATA0_PWR_ENABLE 36

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

/* SATA0 power enable */
gpio_set_value(TOPKICK_SATA0_PWR_ENABLE, 1);

kirkwood_ge00_init(&topkick_ge00_data);
kirkwood_sdio_init(&topkick_mvsdio_data);
Expand Down

0 comments on commit 994f28e

Please sign in to comment.