[PATCH 4.8 27/33] ARM: dts: orion5x: fix number of sata port for linkstation ls-gl

From: Greg Kroah-Hartman
Date: Tue Dec 13 2016 - 12:17:01 EST


4.8-stable review patch. If anyone has any objections, please let me know.

------------------

From: Roger Shimizu <rogershimizu@xxxxxxxxx>

commit 038ccb3e8cee52e07dc118ff99f47eaebc1d0746 upstream.

Bug report from Debian [0] shows there's minor changed model of
Linkstation LS-GL that uses the 2nd SATA port of the SoC.
So it's necessary to enable two SATA ports, though for that specific
model only the 2nd one is used.

[0] https://bugs.debian.org/845611

Fixes: b1742ffa9ddb ("ARM: dts: orion5x: add device tree for buffalo linkstation ls-gl")
Reported-by: Ryan Tandy <ryan@xxxxxxxxx>
Tested-by: Ryan Tandy <ryan@xxxxxxxxx>
Signed-off-by: Roger Shimizu <rogershimizu@xxxxxxxxx>
Signed-off-by: Gregory CLEMENT <gregory.clement@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
arch/arm/boot/dts/orion5x-linkstation-lsgl.dts | 4 ++++
1 file changed, 4 insertions(+)

--- a/arch/arm/boot/dts/orion5x-linkstation-lsgl.dts
+++ b/arch/arm/boot/dts/orion5x-linkstation-lsgl.dts
@@ -82,6 +82,10 @@
gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
};

+&sata {
+ nr-ports = <2>;
+};
+
&ehci1 {
status = "okay";
};