[PATCH v2 1/3] Move mvswitch 88E6060 driver to the ath25

Bjørn Mork bjorn at mork.no
Sat Dec 18 07:10:13 PST 2021


Sergey Ryazanov <ryazanov.s.a at gmail.com> writes:

> board with the 88E6060 switch and this board utilizes DTS for its
> configuration:
>
> openwrt $ grep -rn 'mv88e6060'
> build_dir/target-mips_mips32_musl/linux-ath25/linux-5.10.87/arch/
> openwrt $ grep -rn 'mv88e6060' target/linux/
> target/linux/ath79/dts/ar9132_tplink_tl-wr941-v2.dts:68: compatible =
> "marvell,mv88e6060";
>
> So, I can not find which example you mean. But I may not have
> understood your input. Please explain where I made a mistake?

Maybe I misunderstood you. I was reading your message like DSA in
general cannot be used with board files. I don't know of any examples
using the mv88e6060 driver.

But if you want a generic example of DSA from board files, then there is
arch/arm/plat-orion/common.c using the mv88e6085 driver.



Bjørn



More information about the openwrt-devel mailing list