Re: [OpenWrt-Devel] [PATCH 3/5] ath79: gmac: ar934x: Add parser for mii-gmac0-slave

2018-12-12 Thread Mathias Kresin
10/12/2018 23:46, Petr Štetiar: In ar71xx/mach-ubnt-xm.c there's following code: static void __init ubnt_xw_init(void) { ... ath79_setup_ar934x_eth_cfg(AR934X_ETH_CFG_MII_GMAC0 | AR934X_ETH_CFG_MII_GMAC0_SLAVE); ... } But I couldn't find a way how to set it up via DTS.

[OpenWrt-Devel] [PATCH 3/5] ath79: gmac: ar934x: Add parser for mii-gmac0-slave

2018-12-10 Thread Petr Štetiar
In ar71xx/mach-ubnt-xm.c there's following code: static void __init ubnt_xw_init(void) { ... ath79_setup_ar934x_eth_cfg(AR934X_ETH_CFG_MII_GMAC0 | AR934X_ETH_CFG_MII_GMAC0_SLAVE); ... } But I couldn't find a way how to set it up via DTS. Tested-by: Joe Ayers Signed-off-