Skip to content

Commit 6d12e79

Browse files
committed
Merge tag 'mvebu-fixes-3.16' of git://git.infradead.org/linux-mvebu into 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
2 parents 11f9323 + 8dbdb8e commit 6d12e79

File tree

8 files changed

+21
-9
lines changed

8 files changed

+21
-9
lines changed

Documentation/devicetree/bindings/arm/armada-38x.txt

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,15 @@ following property:
66

77
Required root node property:
88

9-
- compatible: must contain either "marvell,armada380" or
10-
"marvell,armada385" depending on the variant of the SoC being used.
9+
- compatible: must contain "marvell,armada380"
10+
11+
In addition, boards using the Marvell Armada 385 SoC shall have the
12+
following property before the previous one:
13+
14+
Required root node property:
15+
16+
compatible: must contain "marvell,armada385"
17+
18+
Example:
19+
20+
compatible = "marvell,a385-rd", "marvell,armada385", "marvell,armada380";

arch/arm/boot/dts/armada-380.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
/ {
1818
model = "Marvell Armada 380 family SoC";
19-
compatible = "marvell,armada380", "marvell,armada38x";
19+
compatible = "marvell,armada380";
2020

2121
cpus {
2222
#address-cells = <1>;

arch/arm/boot/dts/armada-385-db.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

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

2121
chosen {
2222
bootargs = "console=ttyS0,115200 earlyprintk";

arch/arm/boot/dts/armada-385-rd.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

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

2222
chosen {
2323
bootargs = "console=ttyS0,115200 earlyprintk";

arch/arm/boot/dts/armada-385.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
/ {
1818
model = "Marvell Armada 385 family SoC";
19-
compatible = "marvell,armada385", "marvell,armada38x";
19+
compatible = "marvell,armada385", "marvell,armada380";
2020

2121
cpus {
2222
#address-cells = <1>;

arch/arm/boot/dts/armada-38x.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
/ {
2222
model = "Marvell Armada 38x family SoC";
23-
compatible = "marvell,armada38x";
23+
compatible = "marvell,armada380";
2424

2525
aliases {
2626
gpio0 = &gpio0;

arch/arm/boot/dts/kirkwood-guruplug-server-plus.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,28 +105,28 @@
105105
compatible = "ethernet-phy-id0141.0cb0",
106106
"ethernet-phy-ieee802.3-c22";
107107
reg = <0>;
108-
phy-connection-type = "rgmii-id";
109108
};
110109

111110
ethphy1: ethernet-phy@1 {
112111
/* Marvell 88E1121R */
113112
compatible = "ethernet-phy-id0141.0cb0",
114113
"ethernet-phy-ieee802.3-c22";
115114
reg = <1>;
116-
phy-connection-type = "rgmii-id";
117115
};
118116
};
119117

120118
&eth0 {
121119
status = "okay";
122120
ethernet0-port@0 {
123121
phy-handle = <&ethphy0>;
122+
phy-connection-type = "rgmii-id";
124123
};
125124
};
126125

127126
&eth1 {
128127
status = "okay";
129128
ethernet1-port@0 {
130129
phy-handle = <&ethphy1>;
130+
phy-connection-type = "rgmii-id";
131131
};
132132
};

arch/arm/mach-mvebu/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ menuconfig ARCH_MVEBU
1010
select ZONE_DMA if ARM_LPAE
1111
select ARCH_REQUIRE_GPIOLIB
1212
select PCI_QUIRKS if PCI
13+
select OF_ADDRESS_PCI
1314

1415
if ARCH_MVEBU
1516

1617
config MACH_MVEBU_V7
1718
bool
1819
select ARMADA_370_XP_TIMER
1920
select CACHE_L2X0
21+
select ARM_CPU_SUSPEND
2022

2123
config MACH_ARMADA_370
2224
bool "Marvell Armada 370 boards" if ARCH_MULTI_V7

0 commit comments

Comments
 (0)