Re: [OpenWrt-Devel] [PATCH v2 5/5] ath79: add support for Netgear WNR2200

2019-08-07 Thread Adrian Schmutzler
> Hi, > I decided to put it here as USB is controlled by pin 4 of wireless chip > not CPU. If there is another better formal way to define it, please let > me know. I've analyzed gpio_hog patch for other dts files but all these > routers steer USB via GPIO pins connected to main SoC. > Cheers

Re: [OpenWrt-Devel] [PATCH v2 5/5] ath79: add support for Netgear WNR2200

2019-08-06 Thread Michal Cieslakiewicz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Tue, 6 Aug 2019 16:35:34 +0200 "Adrian Schmutzler" wrote: > Hi, > > > +&pcie { > > + status = "okay"; > > + > > + ath9k: wifi@0,0 { > > + compatible = "pci168c,002e"; > > + reg = <0x 0 0 0 0>; > > + mtd-mac

Re: [OpenWrt-Devel] [PATCH v2 5/5] ath79: add support for Netgear WNR2200

2019-08-06 Thread Adrian Schmutzler
Hi, > +&pcie { > + status = "okay"; > + > + ath9k: wifi@0,0 { > + compatible = "pci168c,002e"; > + reg = <0x 0 0 0 0>; > + mtd-mac-address = <&art 0x00>; > + mtd-mac-address-increment = <1>; > + mtd-cal-data = <&art 0x1000>; >

[OpenWrt-Devel] [PATCH v2 5/5] ath79: add support for Netgear WNR2200

2019-08-06 Thread Michal Cieslakiewicz
This patch adds ath79 support for Netgear WNR2200. Router was previously supported by ar71xx target only. Specification = * Description: Netgear WNR2200 * Loader: U-boot * SOC: Atheros AR7241 (360 MHz) * RAM: 64 MiB * Flash: 8 MiB (SPI NOR) - U-boot binary: 256 KiB