Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 342357
b: refs/heads/master
c: 9891b3f
h: refs/heads/master
i:
  342355: 06b4bb0
v: v3
  • Loading branch information
Valentin Longchamp authored and Jason Cooper committed Nov 24, 2012
1 parent 21574e1 commit 506a736
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 13 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: 4e5bc99ce97fec27466a0654b35d4d3ae0afb054
refs/heads/master: 9891b3f63d551bcc249a4121f4bb5813dfda94db
17 changes: 17 additions & 0 deletions trunk/arch/arm/boot/dts/kirkwood-km_kirkwood.dts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/dts-v1/;

/include/ "kirkwood.dtsi"
/include/ "kirkwood-98dx4122.dtsi"

/ {
model = "Keymile Kirkwood Reference Design";
Expand All @@ -16,6 +17,22 @@
};

ocp@f1000000 {
pinctrl: pinctrl@10000 {

pinctrl-0 = < &pmx_nand &pmx_i2c_gpio_sda
&pmx_i2c_gpio_scl >;
pinctrl-names = "default";

pmx_i2c_gpio_sda: pmx-gpio-sda {
marvell,pins = "mpp8";
marvell,function = "gpio";
};
pmx_i2c_gpio_scl: pmx-gpio-scl {
marvell,pins = "mpp9";
marvell,function = "gpio";
};
};

serial@12000 {
clock-frequency = <200000000>;
status = "ok";
Expand Down
12 changes: 0 additions & 12 deletions trunk/arch/arm/mach-kirkwood/board-km_kirkwood.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,14 @@
#include <linux/clk.h>
#include <linux/clk-private.h>
#include "common.h"
#include "mpp.h"

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

static unsigned int km_kirkwood_mpp_config[] __initdata = {
MPP8_GPIO, /* I2C SDA */
MPP9_GPIO, /* I2C SCL */
0
};

void __init km_kirkwood_init(void)
{
struct clk *sata_clk;
/*
* Basic setup. Needs to be called early.
*/
kirkwood_mpp_conf(km_kirkwood_mpp_config);

/*
* Our variant of kirkwood (integrated in the Bobcat) hangs on accessing
* SATA bits (14-15) of the Clock Gating Control Register. Since these
Expand Down

0 comments on commit 506a736

Please sign in to comment.