ARM: dts: orion5x: fix number of sata port for linkstation ls-gl
authorRoger Shimizu <rogershimizu@gmail.com>
Thu, 1 Dec 2016 15:11:12 +0000 (00:11 +0900)
committerOlof Johansson <olof@lixom.net>
Thu, 8 Dec 2016 18:19:24 +0000 (10:19 -0800)
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@nardis.ca>
Tested-by: Ryan Tandy <ryan@nardis.ca>
Signed-off-by: Roger Shimizu <rogershimizu@gmail.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/boot/dts/orion5x-linkstation-lsgl.dts

index 1cf644bfd7ea13afd59f404b4825fefc9b67b2f5..51dc734cd5b902663df96e15dfeba4820966ce05 100644 (file)
        gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
 };
 
+&sata {
+       nr-ports = <2>;
+};
+
 &ehci1 {
        status = "okay";
 };