From: Ben Hutchings <hidden> Date: 2017-02-18 00:32:51
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 at gazeta.pl
Tested-by: gmbh at gazeta.pl
References: https://bugs.debian.org/855017
Cc: stable at vger.kernel.org # 3.15+
Fixes: 934b524b3f49 ("ARM: Kirkwood: Add DT description of QNAP 419")
Signed-off-by: Ben Hutchings <redacted>
---
arch/arm/boot/dts/kirkwood-ts419.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
This is not only muxing mpp15 as sata0 and mpp16 as sata1, but also
removes the muxing of sata0/sata1 pins described in kirkwood-6282.dtsi:
pmx_sata0: pmx-sata0 {
marvell,pins = "mpp5", "mpp21", "mpp23";
marvell,function = "sata0";
};
pmx_sata1: pmx-sata1 {
marvell,pins = "mpp4", "mpp20", "mpp22";
marvell,function = "sata1";
};
So it means that MPP 4, 5, 20, 21, 22 and 23 will no longer be muxed as
sata0/sata1. Is this really what you want?
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
This is not only muxing mpp15 as sata0 and mpp16 as sata1, but also
removes the muxing of sata0/sata1 pins described in kirkwood-6282.dtsi:
????????????????????????pmx_sata0: pmx-sata0 {
????????????????????????????????marvell,pins = "mpp5", "mpp21", "mpp23";
????????????????????????????????marvell,function = "sata0";
????????????????????????};
????????????????????????pmx_sata1: pmx-sata1 {
????????????????????????????????marvell,pins = "mpp4", "mpp20", "mpp22";
????????????????????????????????marvell,function = "sata1";
????????????????????????};
So it means that MPP 4, 5, 20, 21, 22 and 23 will no longer be muxed as
sata0/sata1. Is this really what you want?
That is precisely what I intended. 20-23 are used by the second
Ethernet port. The old board code doesn't assign 4 or 5 at all.
Ben.
--
Ben Hutchings
If at first you don't succeed, you're doing about average.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170220/13dad357/attachment.sig>
From: Thomas Petazzoni <hidden> Date: 2017-02-20 16:50:49
Hello,
On Mon, 20 Feb 2017 16:40:25 +0000, Ben Hutchings wrote:
That is precisely what I intended. 20-23 are used by the second
Ethernet port. The old board code doesn't assign 4 or 5 at all.
Then I believe it would be more explicit to have separate pin muxing
configurations for SATA on this board.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com