[PATCH] ARM: dts: kirkwood: Fix SATA pinmux-ing for TS419
Ben Hutchings
ben at decadent.org.uk
Mon Feb 20 09:22:38 PST 2017
On Mon, 2017-02-20 at 17:50 +0100, Thomas Petazzoni wrote:
> 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.
You mean, define additional pinmux nodes and override the pinctrl-0
property of &sata? More like this:
--- a/arch/arm/boot/dts/kirkwood-ts419.dtsi
+++ b/arch/arm/boot/dts/kirkwood-ts419.dtsi
@@ -73,3 +73,19 @@
phy-handle = <ðphy1>;
};
};
+
+&pinctrl {
+ pmx_sata0_ts419: pmx-sata0-ts419 {
+ marvell,pins = "mpp15";
+ marvell,function = "sata0";
+ };
+
+ pmx_sata1_ts419: pmx-sata1-ts419 {
+ marvell,pins = "mpp16";
+ marvell,function = "sata1";
+ };
+};
+
+&sata {
+ pinctrl-0 = <&pmx_sata0_ts419 &pmx_sata1_ts419>;
+};
--- END ---
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/f795a5b5/attachment-0001.sig>
More information about the linux-arm-kernel
mailing list