juhosg
8255c166fd
ar71xx: add AR934X specific MDIO registration code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:56 +00:00
juhosg
79bc01d085
ar71xx: add a secondary mdio bus
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:54 +00:00
juhosg
4e5c6e94da
ar71xx: rename ar71xx_mdio_* structures to ar71xx_mdio0_*
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:50 +00:00
juhosg
f20b056795
ar71xx: add an id argument to ar71xx_add_device_mdio
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:48 +00:00
juhosg
7d1b33ecbd
ar71xx: pass netdev and miidev pointer to ar71xx_add_device_dsa
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:42 +00:00
juhosg
1553f9eabd
ar71xx: add AR934x specific USB setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:20 +00:00
juhosg
5f0b41bae5
ar71xx: register the first ethernet interface on the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:18 +00:00
juhosg
8a3f26299d
ar71xx: allow to register ethernet interfaces for AR934X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:17 +00:00
juhosg
a1f5559837
ar71xx: add AR934X specific bootstrap and reset register bits
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:15 +00:00
juhosg
bb977eb73b
ar71xx: fix GPIO direction setup for AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:09 +00:00
juhosg
1d1240855a
ar71xx: fix AR934X clock frequency calculation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:08 +00:00
juhosg
266baaf0dd
ar71xx: add support for the Buffalo WHR-HP-GN board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 12:59:10 +00:00
juhosg
17990be972
ar71xx: add support for the Buffalo WHR-G301N board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 12:59:07 +00:00
juhosg
29f0664566
ar71xx: fix WHR-HP-G300N MTD partitions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 12:59:03 +00:00
juhosg
38ba6904bb
ar71xx: add missing AR71XX_MACH_TL_WR741ND_V4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-01 14:38:12 +00:00
juhosg
77da44561c
ar71xx: add initial support for the TL-WR741ND v4 board
...
The ethernet port LEDs are not working yet.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-01 11:20:52 +00:00
juhosg
2fb031808c
ar71xx: add AR933X GMAC register defines
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-01 11:20:50 +00:00
juhosg
0fe49305de
ar71xx: unify LED names on Planex boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-01 11:20:47 +00:00
juhosg
54e69d54d6
ar71xx: unify LED names on Buffalo boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-01 11:20:46 +00:00
juhosg
46393cef66
ar71xx: unify LED names on TP-Link boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-01 11:20:44 +00:00
juhosg
85713e36cb
ar71xx: add initial support for the OpenMesh OM2P board
...
Based on a patch by Marek Lindner <marek@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 07:54:51 +00:00
juhosg
8256ef2e81
ar71xx/all0258n: fix partition layout
...
A miscalculation in the original patch makes OpenWrt destroy the failsafe image.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 07:54:47 +00:00
juhosg
c01dd82e04
ar71xx: Buffalo WHR-HP-G300N kernel support
...
The initial support for the Buffalo WHR-HP-G300N box.
The code was confirmed to boot and run, but not tested in depth.
Known problem: iw phy phy0 info shows:
Coverage class: 0 (up to 0m)
Available Antennas: TX 0 RX 0
Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:26 +00:00
juhosg
61504e67d9
ar71xx: add kernel support for the Allnet ALL0258N board
...
This patchs adds support for the Allnet ALL0258N outdoor AP/bridge.
The ALL0258N is based on the AR7240 SoC paired with an AR9285 radio,
it got 8MB of NOR and 32MB SDRAM.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:21 +00:00
jogo
0f7b0ae7de
linux: ar71xx: add support for Mikrotik Routerboard RB493G
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-11 23:05:16 +00:00
juhosg
8d0d02042c
ar71xx: fix MAC addresses on the DIR-825-B1 board
...
Patch-by: Lukas Kuna
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-23 19:56:39 +00:00
juhosg
5fdfc7948a
ar71xx: add support for the TP-Link TL-WR703N v1 board
...
Based on a patch by dongyuqi <729650915@qq.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:53 +00:00
juhosg
8f241d9a09
ar71xx: add AR933x specific USB setup function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:51 +00:00
juhosg
3a5386be36
ar71xx: add ar71xx_device_reset_rmw helper
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:50 +00:00
juhosg
f580569c07
ar71xx: remove 'default [yn]' from machine Kconfig entries
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:47 +00:00
juhosg
5bc57a6b20
ar71xx: sort AR71XX_MACH_* entries
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:45 +00:00
nbd
8708bcc2d3
ar71xx: do not count normal interrupts as spurious ( fixes #10037 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-06 05:38:23 +00:00
nbd
25d7a6da6c
ar71xx: fix ethernet PLL setting on ar7242
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-29 21:23:46 +00:00
nbd
db5c8f65ca
ar71xx: add some code to detect DMA stuck conditions on ar7240
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-13 22:30:14 +00:00
nbd
65dea0f0b1
ar71xx: adjust the mtd layout of tew-632brp and dir-615c to match the image layout ( fixes #9922 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-11 13:52:40 +00:00
jogo
e5839cb102
ar71xx: merge WZR-HP-G301NH support into WZR-HP-G300NH
...
Now that we can use a generic name for the switch there is no need for a
separate image for the WZR-HP-G301NH.
Update the default network config and remove the extra image.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 11:57:51 +00:00
nbd
005e21d6ac
ar71xx: autodetect rtl8366s/rtl8366rb on wzr-hp-g300nh
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 14:40:35 +00:00
nbd
de95026813
rtl8366: unify rtl8366s and rtl8366rb platform data
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 14:40:23 +00:00
nbd
c9e45803ce
ar71xx: enable the usb power regulator on the wzr-hp-ag300h through gpio 2 ( #9684 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 08:02:20 +00:00
nbd
8ea4f149b0
ar71xx: reset the phy in the ethernet init on ar724x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-20 12:04:34 +00:00
juhosg
14ca52f672
ar71xx: remove CONFIG_MTD_CONCAT ifdefs from the WZR-HP-AG300H code
...
The config option has been removed in 2.6.39.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-30 12:15:33 +00:00
juhosg
5c047f9906
ar71xx: merge 2.6.39 patches
...
Also remove the old UART driver for ar933x.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-29 08:57:37 +00:00
juhosg
48cf86296e
ar71xx: remove ar71xx_gpio_irq_set_type
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-29 08:57:30 +00:00
juhosg
47d06a3f16
ar71xx: add separate handlers for IP3 interrupts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-29 08:57:29 +00:00
juhosg
32852643ef
ar71xx: use separate handlers for IP2 interrupts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-29 08:57:28 +00:00
juhosg
62be67eb01
ar71xx: remove useless irq_desc.status initializations
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-29 08:57:27 +00:00
nbd
40ad0e2ed9
ar71xx: bring up secondary radio on wzr-hp-ag300h ( fixes #9608 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-25 13:48:47 +00:00
juhosg
8738d0666a
ar71xx: cleanup AR933X UART driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-19 13:17:51 +00:00
juhosg
4a96046040
ar71xx: fix uart clock frequency for AR933X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-19 13:17:50 +00:00
juhosg
83e2548ec8
ar71xx: update early_printk code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-13 08:12:38 +00:00
juhosg
7d535a19ed
ar71xx: select the internal antenna by default on the ZCN-1523H boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-04 12:30:09 +00:00
juhosg
3db28f9561
ar71xx: init external_reset for AR933X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-01 13:12:30 +00:00
juhosg
037092a862
ar71xx: init get_mac_revision on AR9330 rev 1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-01 13:12:27 +00:00
juhosg
9657aff1ae
ar71xx: export SoC revision
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-01 13:12:24 +00:00
nbd
50919ca9e2
ar71xx: add kernel support for the buffalo wzr-hp-ag300h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-01 02:23:26 +00:00
juhosg
92fa0b3f16
ar71xx: add support for the AP121/AP121-MINI reference boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:43 +00:00
juhosg
7c4adb453c
ar71xx: register UART for the AR933X SoCs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:42 +00:00
juhosg
1c869e33cc
ar71xx: add serial driver for the AR933X UART
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:40 +00:00
juhosg
5e832d5f35
ar71xx: add WMAC initialization code for the AR933X SoCs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:39 +00:00
juhosg
b33cedf6fa
ar71xx: add ethernet initialization for the AR933X SoCs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:37 +00:00
juhosg
aa6b4cd97a
ar71xx: enable USB support for the AR933x SoCs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:36 +00:00
juhosg
6f45adddfe
ar71xx: add AR933x specific glue for ar71xx_device{start,stop}
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:35 +00:00
juhosg
0570263dcb
ar71xx: add AR933x specific glue code for IRQ initialization
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:32 +00:00
juhosg
771bbc30cf
ar71xx: don't register 8250 UART on the AR933x SoCs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:31 +00:00
juhosg
4cae90b75b
ar71xx: enable GPIO support for the AR933x SoCs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:30 +00:00
juhosg
046f6d9c97
ar71xx: add AR933x specific frequency initialization code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:29 +00:00
juhosg
9d012c4aae
ar71xx: add AR933x specific early_printk support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:27 +00:00
juhosg
a5e8c5446f
ar71xx: add preliminary support for the Atheros AR933x SoCs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:26 +00:00
juhosg
5b9155beba
ar71xx: add SOC_AR{71XX,724X,913X,934X} config symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:19 +00:00
juhosg
bd8a2aaee9
ar71xx: initialize is_clk_25mhz field for AR9340 WMAC
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27045 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:15 +00:00
matteo
005a65e01d
ar71xx: don't probe the LAN PHY
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 11:15:24 +00:00
matteo
511dea0dac
ar71xx: add link detection on Ubiquiti devices WAN port
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26891 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-14 23:31:50 +00:00
matteo
0cbd6d9057
ar71xx: cosmetic fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-14 23:08:00 +00:00
juhosg
b500b67652
ar71xx: populate LED3 on the JA76PF board
...
Patch-by: Cezary Jackiewicz <cezary@eko.one.pl>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 21:38:51 +00:00
juhosg
5b6a159d03
ar71xx: remove superfluous fifo_cfg overrides
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 21:38:46 +00:00
juhosg
193e04ebee
ar71xx: override wmac device name for the AR934x SoCs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07 09:23:32 +00:00
nbd
118a9c5154
ar71xx: use the ar8316 switch driver on the PB92 board and add a matching default network config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-28 21:27:42 +00:00
nbd
8220523bad
ar71xx: fix MDIO access on ar7242 (based on a patch by Jess Zhu)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-28 19:30:49 +00:00
juhosg
b5cfb56ed4
ar71xx: fix build error w/o CONFIG_PCI
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 13:14:56 +00:00
juhosg
ec1dcc5bda
ar71xx: use the gpio_keys_polled driver instead of gpio_buttons
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 09:29:21 +00:00
juhosg
b47906964d
ar71xx: Add support for WZR-HP-G301NH
...
Add support for the Buffalo WZR-HP-G301NH. The only difference between it
and the WZR-HP-G00NH is that it has a RTL8366RB instead of a RTL8366S.
Since we don't do runtime detection of the switch, we need a separate
machine definition for it.
While we are at it, also rename the profile to reflect that it now is for
more than one device.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 09:29:10 +00:00
juhosg
2be7aaf5c2
ar71xx: merge dev-ar9{13,34}x-wmac into dev-ar9xxx-wmac
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 17:37:08 +00:00
juhosg
613a88e6a5
ar71xx: fix AR934X_WMAC_SIZE
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 17:37:03 +00:00
juhosg
9330419fa7
ar71xx: fix section mismatch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 18:47:55 +00:00
juhosg
f2a69b10a8
ar71xx: rename ar934x_ref_freq to ar71xx_ref_freq
...
Also initialize that for each SoC and print its value along with the
other frequencies.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 18:47:52 +00:00
juhosg
f4bb6b6582
ar71xx: show the SoC type earlier
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 18:47:50 +00:00
juhosg
8de3a1a306
ar71xx: cleanup SoC detection code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 18:47:49 +00:00
juhosg
db38ac7711
ar71xx: Fix mac address offset for AR934x
...
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 18:47:42 +00:00
juhosg
b1f3482e70
ar71xx: add DB120 board specific PCI initialization
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:53:41 +00:00
juhosg
004690a661
ar71xx: register WMAC device on the DB120 board
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:53:37 +00:00
juhosg
ce9abcca4a
ar71xx: add support for the built-in WMAC of the AR934x
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:53:34 +00:00
juhosg
e018221576
ar71xx: add initial support for the Atheros DB120 board
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:53:19 +00:00
juhosg
b21a1fabc6
ar71xx: enable PCI for the AR934[24] SoCs
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:53:05 +00:00
juhosg
d6c448b131
ar71xx: enable USB support for the AR934x SoCs
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:53:03 +00:00
juhosg
3167111b62
ar71xx: enable GPIO support for the AR934x SoCs
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:53:00 +00:00
juhosg
7763501529
ar71xx: add AR934x specific glue for ar7100_device{start,stop}
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:52:57 +00:00
juhosg
2c08ed8f8b
ar71xx: add AR934x specific UART clock initialization
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:52:53 +00:00
juhosg
c5000fc993
ar71xx: add AR934x specific glue for IRQ initialization
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:52:49 +00:00
juhosg
a5bba4d8fb
ar71xx: add initial support for the AR934x SoCs
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:52:45 +00:00
nbd
abc719ecfd
ar71xx: enable access to the WAN port PHY on a few devices, adds WAN link detection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02 00:47:33 +00:00
juhosg
ae81dbbb22
ar71xx: add support for the TP-Link TL-WA901ND v2 board
...
Patch-by: Jonathan Benett <jbscience87@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 15:08:31 +00:00
nbd
ea0082e3de
Revert "ar71xx: add missing gpio_set_debounce function" - wrong target
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-03 16:21:23 +00:00
nbd
097b43c34c
ar71xx: add missing gpio_set_debounce function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-03 10:33:35 +00:00
juhosg
8ac5cf45e8
ar71xx: add rtl8366s initvals for the DIR-825 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25121 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:35:47 +00:00
juhosg
9e07cb05fa
ar71xx: add support for the WNDR3700v2 board
...
Based on a patch by Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:35:42 +00:00
jow
7141d869e6
[ar71xx] fix null pointer access in mach-dir-600-a1.c machine setup ( #8671 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-18 18:04:50 +00:00
juhosg
77e1ad2c5f
ar71xx: fix wlan LED on the TL-WR741 board
...
* Patch from #8630
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-11 08:20:47 +00:00
juhosg
0ecedcb900
ar71xx: fix wrong names of the WPS LED/button
...
Reported-by: Nuno Gonçalves
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-10 18:15:47 +00:00
juhosg
a241f3c34a
ar71xx: use spinlock in ar71xx_device_{start,stop}
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-08 11:28:32 +00:00
nbd
ee10caa56c
ar71xx: enable ar7240 switch support on the UBNT NanoStation M
...
Fixes broadcast frames on the second ethernet MAC
Signed-off-by: Alexander Couzens <lynxis@c-base.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-19 11:56:42 +00:00
juhosg
1f36168c60
ar71xx: remove stray semicolons
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:57:20 +00:00
juhosg
1eb912f20a
ar71xx: fix WLAN LEDs on the DIR-825 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:10:21 +00:00
juhosg
3e6bf9586d
ar71xx: add helper function to setup ath9k LED/GPIO on the AP94 based boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:10:19 +00:00
juhosg
579e608a9b
ar71xx: UBNT Secondary MAC address duplicate fix
...
There is Secondary MAC address duplicate problem with some UBNT
RouterStation and RouterStation Pro HW batches as Primary MAC addresses
are not increased by 2 per device in board data. Fix is to use 'Locally
Administrated bit' for Secondary MAC address instead of increasing
Primary MAC addresses by 1 which could overlap with other device
Primary MAC address.
Signed-off-by: Kestutis Barkauskas<keba@devint.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:10:01 +00:00
juhosg
2427a1a5f9
ar71xx: add wlan led for the TL-WR941ND
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-15 19:55:50 +00:00
juhosg
786449614f
ar71xx: UBNT M-Series MAC address fix
...
UBNT M-Series devices have 2 MAC addresses in board data.
Fix is to use both entries from board data instead of one entry.
Signed-off-by: Kestutis Barkauskas<keba@devint.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-15 19:55:47 +00:00
juhosg
5270be5f80
ar71xx: init the LED pin for ath9k on the TL-MR3[24]20 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 18:01:04 +00:00
juhosg
6cc1945af5
ar71xx: add helper function to setup LED pin and GPIO on the AP91 based boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 18:01:00 +00:00
juhosg
29d3358e2b
ar71xx: add missing files for the JA76PF board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 19:55:28 +00:00
juhosg
9bdc5b83af
ar71xx: add support for the jjPlus JA79PF
...
Patch-by: Cezary Jackiewicz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 17:57:51 +00:00
juhosg
ddbca99fbc
ar71xx: add support for the TP-LINK TL-MR3220 v1 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 17:57:48 +00:00
nbd
cb875ff79e
ar71xx: work around a PCI controller bug which causes reads to the PCI_COMMAND register to return bogus values - properly fixes ath9k module reload issues
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-04 01:32:15 +00:00
juhosg
c80f4f97c6
ar71xx: D-Link DIR-825 B1 eth1 MAC address is garbage
...
r22700 contained a copy-and-paste error that set eth0's MAC address
twice and never set eth1's.
Signed-off-by: Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-19 07:24:00 +00:00
juhosg
c0734b8ffe
ar71xx: return statements does not need parenthesis
...
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-12 18:51:38 +00:00
juhosg
74ed307c1e
ar71xx: fix inline attribute location
...
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-12 18:51:21 +00:00
juhosg
2adda3cec6
ar71xx: wrap long lines
...
(build errors has been fixed - juhosg)
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-12 18:51:04 +00:00
juhosg
6be076283d
ar71xx: fix trailing statements location
...
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-12 18:50:47 +00:00
juhosg
b6dbd83901
ar71xx: fix whitespaces nits
...
(build error has been fixed - juhosg)
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-12 18:50:29 +00:00
claudio
b59add4dfd
[ar71xx] Add support for Ubiquiti UniFi AP
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-06 21:08:48 +00:00
nbd
11c1641bac
ar71xx: Set eth1 MAC address from EEPROM for WNDR3700
...
The WNDR3700's art/caldata partition contains three MAC addresses at
offsets 0, 6, and 12, used for eth0/wlan0 (shared), eth1, and wlan1,
respectively. The existing code configures eth1's MAC address by adding
1 to eth0's instead of using the value stored in the EEPROM. This patch
causes the stored value to be used directly. (On my WNDR3700s, the three
stored addresses are all sequential anyway.)
Signed-off-by: Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 18:46:07 +00:00
nbd
6f13c00b0a
ar71xx: fix the wndr3700 antenna group setting for the first wireless chip (thx, Mark Mentovai)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 18:39:49 +00:00
nbd
4f69a1b329
ar71xx: improve the wndr3700 quirks - move most of the code out of ath9k and instead allow the platform device to specify gpio overrides - fixes 5ghz signal strength issues
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 14:55:53 +00:00
nbd
2ec79a75b2
ar71xx: use the new ar7240 switch driver for tl-wa901nd as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-21 18:42:22 +00:00
jow
f3367a8563
[ar71xx] remove remaining references to dev-ap91-eth.h, patch by Stijn Tintel
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14 23:08:10 +00:00
nbd
a63bf2580b
ar71xx: remove dev-ap91-eth.c. switch its only user (RB-750) to the new switch driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14 13:41:42 +00:00
nbd
c952d82a6c
ar71xx: use the new ar7240 switch driver on the DIR-600-A1 as well ( fixes #7563 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14 00:14:59 +00:00
juhosg
97627d06c5
ar71xx: initial support for jjPlus JWAP003
...
Patch-by: Cezary Jackiewicz <cezary@eko.one.pl>
(the GPIODEV code has been removed, the sysfs interface
can be used to control the GPIO lines instead - juhosg)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-01 07:09:29 +00:00
nbd
05c0f03a6c
AP96: Fix LAN/WAN setup
...
LAN (eth0) is behind a switch and the fixed speed/duplex was
supposed to be for it, not WAN (eth1).
Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-28 22:55:14 +00:00
juhosg
3628a161a5
ar71xx: add support for the TL-MR3420 v1 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:53:59 +00:00
juhosg
83ad54b039
ar71xx: AR724[12] requires different USB setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:53:57 +00:00
juhosg
c7f17e256a
ar71xx: use the MDIO interface of the 2nd MAC on the ar7241
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:53:49 +00:00
juhosg
ae0b1149b9
ar71xx: move ath9k specific PCI fixup into a separate file
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:53:46 +00:00
juhosg
d39b21c7f6
ar71xx: use different address in ap91_pci_fixup for the AR724[012] SoCs
...
With this change ath9k can handle the wireless chip on the TL-WR841N v7
board which is based on the AR7241 SoC.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:53:43 +00:00
nbd
4fa1e52b3a
Add support for Atheros AP96 reference board
...
This is still preliminary and not really tested much. Anyway, this
version seems to be enough to get both wired and wireless
interfaces working. Buttons and leds are also working.
mach-ap96.c is based on mach-wndr3700.c.
Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 08:59:53 +00:00
nbd
6f8d5efb9d
ar71xx: select AR71XX_DEV_DSA when AR71XX_DEV_AP91_ETH is selected, do not select AR71XX_DEV_AP91_ETH for TL-WA901ND and TL-WR741ND
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-05 16:17:06 +00:00
juhosg
006386c4b4
ar71xx: add support for the Zcomax ZCN-1523H-2-8/5-16 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-03 18:14:37 +00:00
juhosg
d1f333874d
ar71xx: rewrite SPI drivers for the RB4xx boards
...
* add a new SPI controller driver
* add SPI driver for the CPLD chip
* convert the NAND driver
* enable the mikroSD slot
* enable more LEDs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-31 20:13:47 +00:00
juhosg
a393655eea
ar71xx: change mac address initialization
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-18 16:00:28 +00:00
nbd
5cc1f4bcf3
ar71xx: add a new driver for the ar7240 switch using swconfig.
...
hooks directly into the ethernet driver, as MAC resets also require switch reinitializations and the switch is part of the cpu core anyway
switch only tl-wr741nd (and other devices using this board file, such as tl-wr841nd) over to using this by default, as other devices are still untested
fixes #7563
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-16 19:21:57 +00:00
nbd
a0d848ed9d
ar71xx: remove the fifo cfg overrides for the ap91 ethernet code - these values have been wrong on every single device i've tested, falling back to the atheros values seems to be the right thing to do
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-27 21:04:43 +00:00