Skip to content

Commit

Permalink
Merge tag 'mvebu-fixes-3.16' of git://git.infradead.org/linux-mvebu i…
Browse files Browse the repository at this point in the history
…nto fixes

Merge "mvebu fixes for v3.16" from Jason Cooper:

 - mvebu
    - Fix broken SoC ID detection
    - Select ARM_CPU_SUSPEND for v7
    - Remove armada38x compatible string (no users yet)

 - kirkwood
    - Fix phy-connection-type on GuruPlug board

* tag 'mvebu-fixes-3.16' of git://git.infradead.org/linux-mvebu:
  ARM: mvebu: Fix the improper use of the compatible string armada38x using a wildcard
  ARM: dts: kirkwood: fix phy-connection-type for Guruplug
  ARM: mvebu: select ARM_CPU_SUSPEND for Marvell EBU v7 platforms
  ARM: mvebu: Fix broken SoC ID detection
  • Loading branch information
Arnd Bergmann committed Jun 25, 2014
2 parents 11f9323 + 8dbdb8e commit 6d12e79
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 9 deletions.
14 changes: 12 additions & 2 deletions Documentation/devicetree/bindings/arm/armada-38x.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,15 @@ following property:

Required root node property:

- compatible: must contain either "marvell,armada380" or
"marvell,armada385" depending on the variant of the SoC being used.
- compatible: must contain "marvell,armada380"

In addition, boards using the Marvell Armada 385 SoC shall have the
following property before the previous one:

Required root node property:

compatible: must contain "marvell,armada385"

Example:

compatible = "marvell,a385-rd", "marvell,armada385", "marvell,armada380";
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/armada-380.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

/ {
model = "Marvell Armada 380 family SoC";
compatible = "marvell,armada380", "marvell,armada38x";
compatible = "marvell,armada380";

cpus {
#address-cells = <1>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/armada-385-db.dts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

/ {
model = "Marvell Armada 385 Development Board";
compatible = "marvell,a385-db", "marvell,armada385", "marvell,armada38x";
compatible = "marvell,a385-db", "marvell,armada385", "marvell,armada380";

chosen {
bootargs = "console=ttyS0,115200 earlyprintk";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/armada-385-rd.dts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

/ {
model = "Marvell Armada 385 Reference Design";
compatible = "marvell,a385-rd", "marvell,armada385", "marvell,armada38x";
compatible = "marvell,a385-rd", "marvell,armada385", "marvell,armada380";

chosen {
bootargs = "console=ttyS0,115200 earlyprintk";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/armada-385.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

/ {
model = "Marvell Armada 385 family SoC";
compatible = "marvell,armada385", "marvell,armada38x";
compatible = "marvell,armada385", "marvell,armada380";

cpus {
#address-cells = <1>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/armada-38x.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

/ {
model = "Marvell Armada 38x family SoC";
compatible = "marvell,armada38x";
compatible = "marvell,armada380";

aliases {
gpio0 = &gpio0;
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/kirkwood-guruplug-server-plus.dts
Original file line number Diff line number Diff line change
Expand Up @@ -105,28 +105,28 @@
compatible = "ethernet-phy-id0141.0cb0",
"ethernet-phy-ieee802.3-c22";
reg = <0>;
phy-connection-type = "rgmii-id";
};

ethphy1: ethernet-phy@1 {
/* Marvell 88E1121R */
compatible = "ethernet-phy-id0141.0cb0",
"ethernet-phy-ieee802.3-c22";
reg = <1>;
phy-connection-type = "rgmii-id";
};
};

&eth0 {
status = "okay";
ethernet0-port@0 {
phy-handle = <&ethphy0>;
phy-connection-type = "rgmii-id";
};
};

&eth1 {
status = "okay";
ethernet1-port@0 {
phy-handle = <&ethphy1>;
phy-connection-type = "rgmii-id";
};
};
2 changes: 2 additions & 0 deletions arch/arm/mach-mvebu/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ menuconfig ARCH_MVEBU
select ZONE_DMA if ARM_LPAE
select ARCH_REQUIRE_GPIOLIB
select PCI_QUIRKS if PCI
select OF_ADDRESS_PCI

if ARCH_MVEBU

config MACH_MVEBU_V7
bool
select ARMADA_370_XP_TIMER
select CACHE_L2X0
select ARM_CPU_SUSPEND

config MACH_ARMADA_370
bool "Marvell Armada 370 boards" if ARCH_MULTI_V7
Expand Down

0 comments on commit 6d12e79

Please sign in to comment.