Skip to content

Commit

Permalink
Merge tag 'boards-3.12-2' of git://git.infradead.org/linux-mvebu into…
Browse files Browse the repository at this point in the history
… next/boards

From Jason Cooper, mvebu boards changes for v3.12:

 - kirkwood
    - convert Dockstar, Guruplug, mv88f6281gtw_ge to DT
    - remove legacy boards (which have DT support) sheevaplug, lacie boards
    - ARRAY_AND_SIZE() cleanup

 - dove
    - some DT node updates (depends on irqchip/clocksource DT changes earlier)
    - add the D2Plug board

* tag 'boards-3.12-2' of git://git.infradead.org/linux-mvebu:
  ARM: dove: add initial DT file for Globalscale D2Plug
  ARM: dove: add GPIO IR receiver node to SolidRun CuBox
  ARM: dove: add common pinmux functions to DT
  ARM: dove: add cpu device tree node
  arch/arm/mach-kirkwood: Avoid using ARRAY_AND_SIZE(e) as a function argument
  ARM: kirkwood: fix DT building and update defconfig
  ARM: kirkwood: Remove all remaining trace of DNS-320/325 platform code
  ARM: kirkwood: use dts pre-processor for mv88f6281gtw-ge
  ARM: kirkwood: convert the mv88f6281gtw_ge board to DT
  ARM: kirkwood: remove LaCie boards that are supported through DT
  ARM: kirkwood: remove support for legacy booting of Sheevaplug
  ARM: kirkwood: remove support for legacy booting of Guruplug
  ARM: kirkwood: remove support for legacy booting of Dockstar

Signed-off-by: Olof Johansson <olof@lixom.net>
  • Loading branch information
Olof Johansson committed Aug 16, 2013
2 parents 3b6250e + 5e9eaad commit 5ddc9d6
Show file tree
Hide file tree
Showing 19 changed files with 490 additions and 1,036 deletions.
2 changes: 2 additions & 0 deletions arch/arm/boot/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ dtb-$(CONFIG_ARCH_DAVINCI) += da850-enbw-cmc.dtb \
da850-evm.dtb
dtb-$(CONFIG_ARCH_DOVE) += dove-cm-a510.dtb \
dove-cubox.dtb \
dove-d2plug.dtb \
dove-dove-db.dtb
dtb-$(CONFIG_ARCH_EXYNOS) += exynos4210-origen.dtb \
exynos4210-smdkv310.dtb \
Expand Down Expand Up @@ -83,6 +84,7 @@ dtb-$(CONFIG_ARCH_KIRKWOOD) += kirkwood-cloudbox.dtb \
kirkwood-lschlv2.dtb \
kirkwood-lsxhl.dtb \
kirkwood-mplcec4.dtb \
kirkwood-mv88f6281gtw-ge.dtb \
kirkwood-netgear_readynas_duo_v2.dtb \
kirkwood-ns2.dtb \
kirkwood-ns2lite.dtb \
Expand Down
30 changes: 10 additions & 20 deletions arch/arm/boot/dts/dove-cubox.dts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
regulator-always-on;
regulator-boot-on;
gpio = <&gpio0 1 0>;
pinctrl-0 = <&pmx_gpio_1>;
pinctrl-names = "default";
};
};

Expand All @@ -53,6 +55,13 @@
clock-frequency = <25000000>;
};
};

ir_recv: ir-receiver {
compatible = "gpio-ir-receiver";
gpios = <&gpio0 19 1>;
pinctrl-0 = <&pmx_gpio_19>;
pinctrl-names = "default";
};
};

&uart0 { status = "okay"; };
Expand Down Expand Up @@ -110,6 +119,7 @@
status = "okay";
/* sdio0 card detect is connected to wrong pin on CuBox */
cd-gpios = <&gpio0 12 1>;
pinctrl-0 = <&pmx_sdio0 &pmx_gpio_12>;
};

&spi0 {
Expand All @@ -122,23 +132,3 @@
reg = <0>;
};
};

&pinctrl {
pinctrl-0 = <&pmx_gpio_1 &pmx_gpio_12>;
pinctrl-names = "default";

pmx_gpio_1: pmx-gpio-1 {
marvell,pins = "mpp1";
marvell,function = "gpio";
};

pmx_gpio_12: pmx-gpio-12 {
marvell,pins = "mpp12";
marvell,function = "gpio";
};

pmx_gpio_18: pmx-gpio-18 {
marvell,pins = "mpp18";
marvell,function = "gpio";
};
};
69 changes: 69 additions & 0 deletions arch/arm/boot/dts/dove-d2plug.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
/dts-v1/;

/include/ "dove.dtsi"

/ {
model = "Globalscale D2Plug";
compatible = "globalscale,d2plug", "marvell,dove";

memory {
device_type = "memory";
reg = <0x00000000 0x40000000>;
};

chosen {
bootargs = "console=ttyS0,115200n8 earlyprintk";
};

leds {
compatible = "gpio-leds";
pinctrl-0 = <&pmx_gpio_0 &pmx_gpio_1 &pmx_gpio_2>;
pinctrl-names = "default";

wlan-ap {
label = "wlan-ap";
gpios = <&gpio0 0 1>;
};

wlan-act {
label = "wlan-act";
gpios = <&gpio0 1 1>;
};

bluetooth-act {
label = "bt-act";
gpios = <&gpio0 2 1>;
};
};
};

&uart0 { status = "okay"; };
&sata0 { status = "okay"; };
&i2c0 { status = "okay"; };
&mdio { status = "okay"; };
&eth { status = "okay"; };

/* Samsung M8G2F eMMC */
&sdio0 {
status = "okay";
non-removable;
bus-width = <4>;
};

/* Marvell SD8787 WLAN/BT */
&sdio1 {
status = "okay";
non-removable;
bus-width = <4>;
};

&spi0 {
status = "okay";

/* spi0.0: 4M Flash Macronix MX25L3205D */
spi-flash@0 {
compatible = "st,m25l3205d";
spi-max-frequency = <20000000>;
reg = <0>;
};
};
Loading

0 comments on commit 5ddc9d6

Please sign in to comment.