QCA807x DSA for ipq40xx

Hi,

Do you now if someone try to port the QCA8k DSA driver for qca8072/qca8075 ?

I know that @blogic try for ipq806x here : https://git.openwrt.org/?p=openwrt/staging/blogic.git;a=shortlog;h=refs/heads/qca8k

I have a DK05 dev board (ipq4018 + qca8072) booting on linux 4.14

Thanks,
Clement

8072/5 is only a sgmii2phy block. 40xx has a builtin 8337n. i once tried to bring it all up but ran out of time. might go and pick up my prior work.

2 Likes

Thanks for the explanation,

I will try this

Hello.
Did you try this repo?
Any news?

I want to port this to the current IPQ40xx target.

Hi,

I quickly try but I'm a newbie on this point, rebase on 4.14 and then add a node in the device tree but got a panic in the kernel with the MDIO.

Didn't push further.

1 Like

Is there some progress of DSA support for ipq40xx?

I remember @robimarko mentioning working (but having reliability issues) with ipq40xx DSA / ipqess within the last year. Branches here:

@Ansuel had a number of qca8k fixes merged while getting qca8k working on ipq806x (but the switch is different to ipq40xx)

More qca8k fixes have been merged since: https://github.com/torvalds/linux/commits/master/drivers/net/dsa/qca8k.c

I wish we had an ipq40xx switch programming guide / registers datasheet. Urgh Qualcomm.

2 Likes

Thanks a lot! Nice to hear that there is still progress.

Here are the datasheets for ipq40xx and the switch (qca8337)

1 Like

Thank you @tomtom,
I still cannot find what I am looking for: The ipq40xx datasheets there are QSDK / OpenWrt user manuals compared to the older (ex. QCA9558) datasheets with hardware descriptions & register values.