ARM: dts: kirkwood: Fix SATA pinmux-ing for TS419
authorBen Hutchings <ben@decadent.org.uk>
Fri, 17 Feb 2017 01:30:30 +0000 (01:30 +0000)
committerSalvatore Bonaccorso <carnil@debian.org>
Wed, 20 Jan 2021 16:40:43 +0000 (16:40 +0000)
Forwarded: https://www.spinics.net/lists/arm-kernel/msg563610.html
Bug-Debian: https://bugs.debian.org/855017

The old board code for the TS419 assigns MPP pins 15 and 16 as SATA
activity signals (and none as SATA presence signals).  Currently the
device tree assigns the SoC's default pinmux groups for SATA, which
conflict with the second Ethernet port.

Reported-by: gmbh@gazeta.pl
Tested-by: gmbh@gazeta.pl
References: https://bugs.debian.org/855017
Cc: stable@vger.kernel.org # 3.15+
Fixes: 934b524b3f49 ("ARM: Kirkwood: Add DT description of QNAP 419")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/arm
Gbp-Pq: Name arm-dts-kirkwood-fix-sata-pinmux-ing-for-ts419.patch

arch/arm/boot/dts/kirkwood-ts419.dtsi

index 717236853e4585d2b8b49f31e850a4aec6bf3e76..7118223645e1230aa7e87b9d78a5ebc124b08171 100644 (file)
                phy-handle = <&ethphy1>;
        };
 };
+
+&pmx_sata0 {
+       marvell,pins = "mpp15";
+};
+
+&pmx_sata1 {
+       marvell,pins = "mpp16";
+};