qca-ssdk: support selecting PCS channel for PORT3 on IPQ6018
authorMantas Pucka <mantas@8devices.com>
Mon, 12 Feb 2024 13:05:25 +0000 (15:05 +0200)
committerRobert Marko <robimarko@gmail.com>
Wed, 21 Feb 2024 20:42:23 +0000 (21:42 +0100)
commitd08d53346b993431e309797d5e6de8da20147c3c
tree4a79b15fcc506e6aec6ab7e034d636687bfde048
parent548c5935bfd5783323b23bb431425ac4c6d6adee
qca-ssdk: support selecting PCS channel for PORT3 on IPQ6018

When QCA8072 is used in PSGMII mode with IPQ6018, PCS used for second
PHY port would overlap with one used by SGMII+ port. SoC has register
to select different PCS in such case.

Original code used PHY_ID for this decision, which also had other
issues, but is no longer viable since we moved to upstream QCA807x
driver.

Introduce DT property port3_pcs_channel to allow describing this in DT.
Default value is <2>, and for some QCA8072 designs <4> would be needed.

Signed-off-by: Mantas Pucka <mantas@8devices.com>
package/kernel/qca-ssdk/patches/102-qca-ssdk-support-selecting-PCS-channel-for-PORT3-on-.patch [new file with mode: 0644]