Skip to contentSkip to conversation

arm: mvebu: enable rear eSATA ports of NETGEAR ReadyNAS 2120

PATCH New Arnaud Ebalard 3 participants 3 messages Oct 25, 2014 – Nov 1, 2014 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: mvebu: enable rear eSATA ports of NETGEAR ReadyNAS 2120

NETGEAR ReadyNAS 2120 supports its four main SATA disks via 2 Marvell 88SE9170 SATA controllers connected on the PCIe bus of the the SoC. The two eSATA ports available at the rear of the device are handled by the native SATA controller of the Armada XP SoC powering the NAS. This patch enables the SoC SATA controller in the .dts file to make those two rear ports available.

---
 arch/arm/boot/dts/armada-xp-netgear-rn2120.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/armada-xp-netgear-rn2120.dts +6 -0
index 7d8f32873e82..e3a8c456bb84 100644
@@ -137,6 +137,12 @@
 				};
 			};
 
+			/* Two rear eSATA ports */
+			sata at a0000 {
+				nr-ports = <2>;
+				status = "okay";
+			};
+
 			serial at 12000 {
 				status = "okay";
 			};
Signature · 1 line
2.1.1
#1 lore raw

PATCH 1/1 arm: mvebu: enable rear eSATA ports of NETGEAR ReadyNAS 2120

Quoted 10 lines · Arnaud Ebalard

NETGEAR ReadyNAS 2120 supports its four main SATA disks via 2 Marvell 88SE9170 SATA controllers connected on the PCIe bus of the the SoC. The two eSATA ports available at the rear of the device are handled by the native SATA controller of the Armada XP SoC powering the NAS. This patch enables the SoC SATA controller in the .dts file to make those two rear ports available.

Quoted 24 lines
---
 arch/arm/boot/dts/armada-xp-netgear-rn2120.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/armada-xp-netgear-rn2120.dts +6 -0
index 7d8f32873e82..e3a8c456bb84 100644
@@ -137,6 +137,12 @@
 				};
 			};
 
+			/* Two rear eSATA ports */
+			sata at a0000 {
+				nr-ports = <2>;
+				status = "okay";
+			};
+
 			serial at 12000 {
 				status = "okay";
 			};
Signature · 1 line
2.1.1
Applied
#2 lore raw

PATCH 1/1 arm: mvebu: enable rear eSATA ports of NETGEAR ReadyNAS 2120

In reply to Arnaud Ebalard
Quoted 9 lines · Arnaud Ebalard

NETGEAR ReadyNAS 2120 supports its four main SATA disks via 2 Marvell 88SE9170 SATA controllers connected on the PCIe bus of the the SoC. The two eSATA ports available at the rear of the device are handled by the native SATA controller of the Armada XP SoC powering the NAS. This patch enables the SoC SATA controller in the .dts file to make those two rear ports available.

Quoted 4 lines
---
 arch/arm/boot/dts/armada-xp-netgear-rn2120.dts | 6 ++++++
 1 file changed, 6 insertions(+)

Applied to mvebu/dt with Andrew's Ack and a minor subject line tweak.

thx,

Jason.