Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 359932
b: refs/heads/master
c: 5dd8a01
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Petazzoni authored and Arnd Bergmann committed Feb 28, 2013
1 parent c10c033 commit eeea251
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 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: a49da46c5274228334393083a6635d04eee04363
refs/heads/master: 5dd8a01003355da95e23e3609e98a968001c3ee8
11 changes: 9 additions & 2 deletions trunk/arch/arm/boot/dts/kirkwood-mplcec4.dts
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@
pinctrl: pinctrl@10000 {

pinctrl-0 = < &pmx_nand &pmx_uart0
&pmx_led_health &pmx_sdio
&pmx_led_health
&pmx_sata0 &pmx_sata1
&pmx_led_user1o
&pmx_led_user1g &pmx_led_user0o
&pmx_led_user0g &pmx_led_misc
&pmx_sdio_cd
>;
pinctrl-names = "default";

Expand Down Expand Up @@ -133,6 +132,14 @@
status = "okay";

};

mvsdio@90000 {
pinctrl-0 = <&pmx_sdio &pmx_sdio_cd>;
pinctrl-names = "default";
status = "okay";
cd-gpios = <&gpio1 15 0>;
/* No WP GPIO */
};
};

gpio-leds {
Expand Down
7 changes: 0 additions & 7 deletions trunk/arch/arm/mach-kirkwood/board-mplcec4.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/mv643xx_eth.h>
#include <linux/platform_data/mmc-mvsdio.h>
#include "common.h"

static struct mv643xx_eth_platform_data mplcec4_ge00_data = {
Expand All @@ -23,19 +22,13 @@ static struct mv643xx_eth_platform_data mplcec4_ge01_data = {
.phy_addr = MV643XX_ETH_PHY_ADDR(2),
};

static struct mvsdio_platform_data mplcec4_mvsdio_data = {
.gpio_card_detect = 47, /* MPP47 used as SD card detect */
};


void __init mplcec4_init(void)
{
/*
* Basic setup. Needs to be called early.
*/
kirkwood_ge00_init(&mplcec4_ge00_data);
kirkwood_ge01_init(&mplcec4_ge01_data);
kirkwood_sdio_init(&mplcec4_mvsdio_data);
kirkwood_pcie_init(KW_PCIE0);
}

Expand Down

0 comments on commit eeea251

Please sign in to comment.