[OpenWrt-Devel] [PATCH] ath79: add support for TP-Link TL-MR6400

Enrico Mioso mrkiko.rs at gmail.com
Tue Sep 17 12:57:20 EDT 2019

BTW I can see the code for setting up network interfaces in mach-tl-mr6400.c is identical to the one in mach-fritz4020.c for which we have ath79 support.
Hence, I copied the setup from there:

&eth0 {
   status = "okay";
   phy-mode = "mii";
   phy-handle = <&swphy0>;

   mtd-mac-address = <&uboot 0x1fc00>;
   mtd-mac-address-increment = <1>;

   gmac-config {
     device = <&gmac>;
     switch-phy-addr-swap = <1>;
     switch-phy-swap = <1>;

&eth1 {
   status = "okay";
   mtd-mac-address = <&uboot 0x1fc00>;
   mtd-mac-address-increment = <(-1)>;

yeah, here I am using spaces but the original code has tabs. :)

Am I overlooking something?

Second question - I got the LTe module working with gpio-hog. How can now I turn off the LTE module, writing a value to the GPIO?

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list