I'm trying to make OpenWRT run on ZyXEL Keenetic Giga router (it's almost same as ZyXEL NBG4615). It has RT3052 CPU and AR8316 Gigabit switch.
Took DIR-620-A1 profile as base, in make kernel_menuconfig enabled AR8216_PHY (Driver for Atheros AR8216 switches) but swconfig list shows only "Found: switch0 - rt305x" internal SOC switch.
Tried enabling CONFIG_MII (Generic Media Independent Interface device support) - still no luck.
It's nothing in dmesg about AR8316, so it's looks like driver not see switch. But driver is loaded:
ls /sys/bus/mdio_bus/drivers/Atheros\ AR8216!AR8236!AR8316/ bind uevent unbind
What can I try to make switch work?