aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2018-11-20 00:16:27 +0100
committerDaniel Golle <daniel@makrotopia.org>2019-03-05 03:15:52 +0100
commit368b6d1a52e57e9cce3b92fcef6928bee995617b (patch)
tree199224602356ef7f11d34151c23e2bade5e62640 /target/linux/ath79/base-files
parent47f0be676fb700a8ab071fd0fe6f5d818548a852 (diff)
downloadupstream-368b6d1a52e57e9cce3b92fcef6928bee995617b.tar.gz
upstream-368b6d1a52e57e9cce3b92fcef6928bee995617b.tar.bz2
upstream-368b6d1a52e57e9cce3b92fcef6928bee995617b.zip
ath79: gmac: ar934x: Add parser for mii-gmac0-slave
While converting Nanostation M XW from current ar71xx code to ath79 I've hit one issue, where the ethernet networking wasn't working, so I was checking every bit in the networking setup path between ar71xx and ath79. I've came to the following code in ar71xx/mach-ubnt-xm.c: static void __init ubnt_xw_init(void) { ... ath79_setup_ar934x_eth_cfg(AR934X_ETH_CFG_MII_GMAC0 | AR934X_ETH_CFG_MII_GMAC0_SLAVE); ... } Where this code is setting AR934X_ETH_CFG_MII_GMAC0_SLAVE bit in AR934X_GMAC_REG_ETH_CFG register, but I couldn't find a way of setting this bit from DTS, so this patch adds `mii-gmac0-slave` DTS property which allows setting of this bit in `gmac-config`, which is then used in Nanostation M XW DTS. Tested-by: Joe Ayers <ae6xe@arrl.net> Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'target/linux/ath79/base-files')
0 files changed, 0 insertions, 0 deletions