Commit graph

296 commits

Author SHA1 Message Date
Gabor Juhos
5ab66428b0 ar71xx: add preliminary support for the Netgear WNDR3700
Based on patches by Marco Porsch from:
https://forum.openwrt.org/viewtopic.php?id=22311

SVN-Revision: 18411
2009-11-13 17:11:29 +00:00
Gabor Juhos
21fc9ffe63 ar71xx: use soc specific divider for mdio clock
SVN-Revision: 18225
2009-10-30 12:26:22 +00:00
Gabor Juhos
891a351b39 ar71xx: Compex WPJ543 board is supported as well
SVN-Revision: 18100
2009-10-20 12:59:42 +00:00
Gabor Juhos
053e9ab067 ar71xx: fix PCI IRQ map of the WP543
SVN-Revision: 18099
2009-10-20 12:59:39 +00:00
Gabor Juhos
b1cd54b6b9 ar71xx: reset the phy chip along with the ethernet mac on the WP543 board
SVN-Revision: 18072
2009-10-19 08:07:32 +00:00
Gabor Juhos
ebaa6a2fab ar71xx: reset the ethernet device before registration
SVN-Revision: 18071
2009-10-19 08:07:29 +00:00
Gabor Juhos
399aeeed70 ar71xx: initialize PCI controller on the Bullet M
SVN-Revision: 17812
2009-10-01 19:41:11 +00:00
Gabor Juhos
d2c055526c ar71xx: init ethernet mac address on the Bullet M
SVN-Revision: 17811
2009-10-01 19:41:08 +00:00
Gabor Juhos
fa59c65847 ar71xx: register GPIO button on the Bullet M
SVN-Revision: 17809
2009-10-01 19:41:03 +00:00
Gabor Juhos
5aae65b58c ar71xx: add PCI Host Controller fixup for ar724x
SVN-Revision: 17808
2009-10-01 19:41:00 +00:00
Gabor Juhos
0757fee42d ar71xx: use ar71xx_pci_fixup on ar71xx SoCs only
SVN-Revision: 17807
2009-10-01 19:40:57 +00:00
Gabor Juhos
2e09669095 ar71xx: fix a typo in the ar724x PCI code
SVN-Revision: 17806
2009-10-01 19:40:51 +00:00
Gabor Juhos
0eba7ba4ff ar71xx: don't use mac_base2 in the ag71xx driver
SVN-Revision: 17693
2009-09-23 17:44:02 +00:00
Matteo Croce
41ab4d3021 ar71xx: preliminary Ubiquiti Bullet M support
SVN-Revision: 17586
2009-09-15 09:16:21 +00:00
Gabor Juhos
967cc718f8 ar71xx: rewrite prom code (based on a patch by Jeff Hansen)
SVN-Revision: 17566
2009-09-10 18:30:12 +00:00
Gabor Juhos
376fba2698 ar71xx: add preliminary support for the RB-411U (thanks to Feher Zoltan for testing)
SVN-Revision: 17543
2009-09-08 19:16:15 +00:00
Gabor Juhos
582b8ba168 move early_printk stuff into a separate file
SVN-Revision: 17403
2009-08-26 07:31:04 +00:00
Gabor Juhos
4c8aa29833 remove AR71XX_EARLY_SERIAL stuff
SVN-Revision: 17400
2009-08-25 17:13:12 +00:00
Gabor Juhos
dd48a43550 WRT160NL: add default trigger for the power led
SVN-Revision: 17203
2009-08-09 14:13:26 +00:00
Gabor Juhos
0c2142d309 WRT160NL: register GPIO LEDs and buttons
SVN-Revision: 17166
2009-08-07 17:33:02 +00:00
Gabor Juhos
66f839ac67 oops, add missing semicolons
SVN-Revision: 17142
2009-08-06 09:42:29 +00:00
Gabor Juhos
e632633c5d get rid of some ifdefs in the IRQ code
SVN-Revision: 17141
2009-08-06 09:32:15 +00:00
Gabor Juhos
116576b3ba fix MISC IRQ handling on the AR7240
SVN-Revision: 17098
2009-08-02 13:27:43 +00:00
Gabor Juhos
5ab3bcc27f add ethernet suppor for the WRT160NL (thanks to Christian Daniel)
SVN-Revision: 17057
2009-07-31 07:01:26 +00:00
Gabor Juhos
a21bf40453 increase size of the kernel partition on the TL-WR[789]41N boards
SVN-Revision: 16785
2009-07-11 17:20:46 +00:00
Gabor Juhos
abd419a7df increase size of the kernel partition on the TEW-632BR board
SVN-Revision: 16784
2009-07-11 17:15:30 +00:00
Gabor Juhos
2dc230d260 register the VSC7395 device on the PB44 board
SVN-Revision: 16783
2009-07-11 16:27:54 +00:00
Gabor Juhos
218298becf use platform data to setup the MAC_CFG register in the spi_vsc7385 driver
SVN-Revision: 16780
2009-07-11 14:59:31 +00:00
Gabor Juhos
a38d9256a7 add board setup code for the RB-450G/RB-433UAH boards * based on a patch from http://forum.openwrt.org/viewtopic.php?pid=91127#p91127
SVN-Revision: 16754
2009-07-09 19:46:41 +00:00
Gabor Juhos
b8a97ca5c5 register a GPIO LEDs and buttons on the PB44 board
SVN-Revision: 16748
2009-07-09 06:58:38 +00:00
Gabor Juhos
eca1b1ac07 register a I2C GPIO expander on the PB44 board
SVN-Revision: 16747
2009-07-09 06:57:44 +00:00
Gabor Juhos
2614fcb2f3 add initial support for the TL-WR741ND board
SVN-Revision: 16739
2009-07-07 19:20:10 +00:00
Gabor Juhos
a6e3c605bc add AR7240 specific fixes for the ag71xx driver
SVN-Revision: 16737
2009-07-07 18:06:02 +00:00
Gabor Juhos
f04fcfd801 make irq_chip definitions static
SVN-Revision: 16736
2009-07-07 18:04:26 +00:00
Gabor Juhos
3b47053fb3 AR7240 requires different IRQ unmasking code
SVN-Revision: 16734
2009-07-07 13:57:57 +00:00
Gabor Juhos
c38e7aa7b2 add missing break statement
SVN-Revision: 16701
2009-07-05 18:02:12 +00:00
Gabor Juhos
600958b416 add missing includes
SVN-Revision: 16676
2009-07-05 08:40:23 +00:00
Gabor Juhos
54038e0540 add AR7240 specific PCI code
SVN-Revision: 16674
2009-07-05 08:06:24 +00:00
Gabor Juhos
1e84d049a4 fix a typo in the PCI code
SVN-Revision: 16673
2009-07-05 08:02:23 +00:00
Gabor Juhos
089b5ccb47 reorganize PCI code
SVN-Revision: 16672
2009-07-05 07:53:07 +00:00
Gabor Juhos
d55e5fb153 fix AR7240 PCI IRQ support
SVN-Revision: 16669
2009-07-04 05:18:37 +00:00
Gabor Juhos
d97b12f8b7 fix ar71xx_device_{start,stop} functions on the AR7240 SoC
SVN-Revision: 16648
2009-07-01 19:41:00 +00:00
Gabor Juhos
17c84f1db9 initialize GPIO for the AR7240 SoC
SVN-Revision: 16647
2009-07-01 19:38:26 +00:00
Gabor Juhos
c524244c08 initialize IRQs for the AR7240 SoC
SVN-Revision: 16646
2009-07-01 19:37:03 +00:00
Gabor Juhos
eb3ff716c1 add AR7240 specific frequency detection
SVN-Revision: 16645
2009-07-01 19:34:59 +00:00
Gabor Juhos
18d7edb82e add AR7240 specific definitions
SVN-Revision: 16644
2009-07-01 19:32:48 +00:00
Gabor Juhos
d9259b25bf increase NR_IRQS
SVN-Revision: 16623
2009-06-29 20:01:22 +00:00
Gabor Juhos
161fe2c40c fix PCI_CORE irq number
SVN-Revision: 16622
2009-06-29 19:58:36 +00:00
Gabor Juhos
5899460ebf use enum for the machine type
SVN-Revision: 16588
2009-06-27 20:20:05 +00:00
Gabor Juhos
8094a7062f add AR913x specific GPIO function bit definitions
SVN-Revision: 16583
2009-06-27 16:57:45 +00:00
Gabor Juhos
c94dcb755e setup mac address on the WNR2000
SVN-Revision: 16450
2009-06-14 11:38:26 +00:00
Gabor Juhos
5d21be0e31 move definition of ar91xx_flash_platform_data into a separate header file (closes #5321)
SVN-Revision: 16417
2009-06-11 08:07:14 +00:00
Gabor Juhos
31c9a411eb flush more register writings
SVN-Revision: 16415
2009-06-11 07:18:05 +00:00
Gabor Juhos
3de6b54859 flush AR71XX_RESET_PCI_INT_ENABLE register after writing
SVN-Revision: 16372
2009-06-07 18:23:39 +00:00
Gabor Juhos
0c4b6a0b07 setup mac address on the AP81 board
SVN-Revision: 16366
2009-06-06 19:03:30 +00:00
Gabor Juhos
67ace05bfe update flash locking code
SVN-Revision: 16359
2009-06-06 15:56:03 +00:00
Gabor Juhos
9668bbeea9 handle PCI_CORE interrupt as well
SVN-Revision: 16358
2009-06-06 13:48:36 +00:00
Gabor Juhos
ab19bea631 change flash partition map of the AP83 board
SVN-Revision: 16356
2009-06-06 09:57:37 +00:00
Gabor Juhos
ba08043ce4 add parallel flash driver
SVN-Revision: 16353
2009-06-06 08:41:47 +00:00
Gabor Juhos
e72be9e83b fix a typo
SVN-Revision: 16348
2009-06-05 19:29:41 +00:00
Gabor Juhos
45d8b93d06 create a 'firmware' partition for MZK-W300NH board
SVN-Revision: 16347
2009-06-05 15:31:33 +00:00
Gabor Juhos
f3c3e2772f improve MZK-W300NH support (thanks to Kazuki Shimada for the board)
SVN-Revision: 16340
2009-06-04 18:18:36 +00:00
Gabor Juhos
74dfd77f41 pass ucode name to the VSC7385 driver on the AP83 board
SVN-Revision: 16326
2009-06-04 07:56:49 +00:00
Gabor Juhos
782cd2cf27 add experimental support for the AP83-040 board
SVN-Revision: 16316
2009-06-03 19:54:25 +00:00
Gabor Juhos
b0acbe709c add flash locking code
SVN-Revision: 16311
2009-06-03 18:17:07 +00:00
Gabor Juhos
f84d0d2ae0 register parallel flash device on the AP83 board
SVN-Revision: 16232
2009-05-31 12:37:40 +00:00
Gabor Juhos
c2c496868e add support for board specific PLL settings
SVN-Revision: 16133
2009-05-28 13:00:08 +00:00
Gabor Juhos
cbe2c48249 register SPI bus on the AP83 board
SVN-Revision: 16115
2009-05-27 17:16:19 +00:00
Gabor Juhos
f6e6a733f5 add preliminary support for the WRT160NL
SVN-Revision: 16068
2009-05-25 18:36:49 +00:00
Gabor Juhos
db1d746463 update board setup code of the RouterStation Pro (patch by Ubiquiti Networks)
SVN-Revision: 16065
2009-05-25 17:31:05 +00:00
Gabor Juhos
220751e8ab fix typos in the PB42 support code
SVN-Revision: 15963
2009-05-21 18:22:01 +00:00
Gabor Juhos
7807c1a29f add experimental support for the Atheros PB44 board
SVN-Revision: 15928
2009-05-20 08:23:48 +00:00
Gabor Juhos
2e7a1d95f7 reorder mtd partitions on the WRT400N
SVN-Revision: 15829
2009-05-13 20:12:07 +00:00
Gabor Juhos
9ecc257d2f create image for the WRT400N board (thanks to netprince)
SVN-Revision: 15828
2009-05-13 20:00:42 +00:00
Gabor Juhos
fb48fbba16 remove extern directives
SVN-Revision: 15735
2009-05-09 05:57:56 +00:00
Gabor Juhos
15f0a64dda increase AR71XX_MEM_SIZE_MAX (thanks to Leo Galambos for reporting)
SVN-Revision: 15734
2009-05-09 05:39:12 +00:00
Gabor Juhos
aab2d9371b add experimental support for the Linksys WRT400N board (thanks to netprince)
SVN-Revision: 15422
2009-04-26 06:40:02 +00:00
Gabor Juhos
d17716e16f ap81: register GPIO LEDs
SVN-Revision: 14931
2009-03-17 19:59:33 +00:00
Gabor Juhos
d63a050292 ap81: register SPI flash, and add default MTD partitions
SVN-Revision: 14924
2009-03-17 18:48:00 +00:00
Gabor Juhos
ed3b6e558e ap81: register GPIO buttons
SVN-Revision: 14923
2009-03-17 18:34:11 +00:00
Gabor Juhos
64958577a7 ap81: register USB host controller
SVN-Revision: 14922
2009-03-17 18:14:55 +00:00
Gabor Juhos
ef537a68da ap81: register ethernet devices, and add default network configuration file
SVN-Revision: 14921
2009-03-17 18:07:16 +00:00
Gabor Juhos
066052eddf ap83: remove unnecessary include
SVN-Revision: 14920
2009-03-17 18:02:50 +00:00
Gabor Juhos
beb47c57af preliminary support for the Atheros AP81 refrence board
SVN-Revision: 14888
2009-03-15 14:30:08 +00:00
Gabor Juhos
9b59499893 pb42: add GPIO buttons
SVN-Revision: 14877
2009-03-14 19:28:28 +00:00
Gabor Juhos
fa36af494f pb42: fix ethernet, remove USB registration, add default network configuration
SVN-Revision: 14876
2009-03-14 18:28:33 +00:00
Gabor Juhos
83f6f853e9 ls-sr71: add GPIO LEDs
SVN-Revision: 14873
2009-03-14 12:53:31 +00:00
Gabor Juhos
a31a173aec simplify setup code for Ubiquiti boards
SVN-Revision: 14872
2009-03-14 12:24:11 +00:00
Gabor Juhos
1d5f4b3687 tew-632brp: increase the size of rootfs partition, and build one unified firmware image only
SVN-Revision: 14709
2009-03-01 11:17:16 +00:00
Gabor Juhos
91984cff19 aw-nr580: add GPIO LEDs
SVN-Revision: 14687
2009-02-27 18:32:04 +00:00
Gabor Juhos
23636366dc aw-nr580: add support for the PCI slot
SVN-Revision: 14686
2009-02-27 17:06:29 +00:00
Gabor Juhos
5842bd91b6 aw-nr580: add support for the LAN ports
SVN-Revision: 14685
2009-02-27 16:34:09 +00:00
Gabor Juhos
38f75ef671 aw-nr580: add GPIO buttons
SVN-Revision: 14682
2009-02-27 15:45:29 +00:00
Gabor Juhos
df2c881e14 move 'ar71xx_add_device_usb' definition into devices.h
SVN-Revision: 14680
2009-02-27 10:09:20 +00:00
Gabor Juhos
47dc8c615a TL-WR941ND: update flash partition map
SVN-Revision: 14673
2009-02-26 17:01:05 +00:00
Gabor Juhos
53b833a6c4 preliminary support for the Ubiquiti RouterStation Pro
SVN-Revision: 14666
2009-02-26 07:39:30 +00:00
Andy Boyett
1adf135943 wnr2000: enable ar8216 workaround, add network config. LAN ports now work
SVN-Revision: 14663
2009-02-26 05:54:32 +00:00
Andy Boyett
0b44a56a36 wnr2000: configure eth1 (WAN) and detect the ar8216 switch on eth0 (LAN)
ar8216 headers are embedded in packets on eth0 so it is not usable yet

SVN-Revision: 14661
2009-02-26 01:22:57 +00:00
Andy Boyett
ec0f53cb37 wnr2000: buttons and blinkenlights!
SVN-Revision: 14660
2009-02-26 01:20:27 +00:00
Gabor Juhos
8e0e4cb3d8 mzk-w04nu: enable the ar8216 chip workaround, and add a default network configuration file
SVN-Revision: 14656
2009-02-25 16:48:56 +00:00
Gabor Juhos
0e8a23d053 ag71xx driver: add a workaround for the ar8216 chip, until we get a suitable switch driver
SVN-Revision: 14655
2009-02-25 16:47:11 +00:00
Gabor Juhos
60c561f016 remove duplicated includes
SVN-Revision: 14638
2009-02-23 11:34:05 +00:00
Gabor Juhos
77b57258af TL-WR941ND: add DSA device for the Marvell 88E6060 switch
SVN-Revision: 14637
2009-02-23 10:43:23 +00:00
Gabor Juhos
f7cf3b2a68 move device registration function prototypes into a separate header file
SVN-Revision: 14635
2009-02-23 08:50:00 +00:00
Gabor Juhos
46cf4434b6 rename platform.c to devices.c
SVN-Revision: 14634
2009-02-23 08:21:05 +00:00
Gabor Juhos
1afc3a7bd5 enable TL-WR941ND in kernel config
SVN-Revision: 14633
2009-02-23 08:01:31 +00:00
Gabor Juhos
a34753cacd tl-wr941nd: register ethernet device, and fix machine id
SVN-Revision: 14632
2009-02-23 07:58:44 +00:00
Gabor Juhos
8e4fbc7399 preliminary support for the TL-WR941ND
SVN-Revision: 14627
2009-02-22 20:49:06 +00:00
Gabor Juhos
507e6e4140 add an alias board name for the Ubiquiti RouterStation
SVN-Revision: 14563
2009-02-19 07:39:50 +00:00
Gabor Juhos
357ed07a84 add a workaround for fixing the bad performance of the Ubiquiti RouterStation/LS-SR71 boards, until they fix their bootloader.
SVN-Revision: 14556
2009-02-18 19:58:43 +00:00
Gabor Juhos
731a4e5b1d switch to 2.6.28
SVN-Revision: 14514
2009-02-15 07:52:55 +00:00
Gabor Juhos
40b538d6d2 add preliminary support for the Ubiquiti LS-SR71 board (thanks to Xianghua Xiao for the initial patch, and for testing)
SVN-Revision: 14488
2009-02-12 19:48:27 +00:00
Gabor Juhos
7ec663a2ad parse the board parameter from the command line first Signed-off-by: Andrea Tassi <andrea.tassi at gmail.com> and WiFi(ed) - The Embedded Development Team (of Riccardo Coppola <coppola.riccardo at gmail.com>, Andrea Tassi <andrea.tassi at gmail.com> and Massimiliano Toce <massimiliano.toce at gmail.com>)
SVN-Revision: 14482
2009-02-12 08:08:14 +00:00
Gabor Juhos
d97af0443e create firmware images for the Planex MZK-W04NU board
SVN-Revision: 14413
2009-02-05 16:46:55 +00:00
Gabor Juhos
43ed2ff89d parse RedBoot environments as well (patch by Jonas <jmajau@ubnt.com>)
SVN-Revision: 14384
2009-02-03 08:44:50 +00:00
Gabor Juhos
9e624a7144 mzk-w04nu: fetch MAC address from the flash
SVN-Revision: 14383
2009-02-03 07:53:46 +00:00
Gabor Juhos
03de003183 fix handling of invalid arguments passed by some bootloaders (thanks to Jeff Hansen and to Jonas)
SVN-Revision: 14382
2009-02-03 07:26:31 +00:00
Gabor Juhos
8a5c467323 parse dot-separated MAC address (patch by Jonas <jmajau@ubnt.com>)
SVN-Revision: 14371
2009-02-02 19:37:57 +00:00
Gabor Juhos
b0e3550f2a mzk-w04nu: add GPIO LEDs and buttons
SVN-Revision: 14366
2009-02-02 17:51:51 +00:00
Gabor Juhos
0dfca05fbe print some informations about the SoC at bootup
SVN-Revision: 14338
2009-02-01 09:46:04 +00:00
Gabor Juhos
e3d58387a3 fix leds-gpio platform data initialization (closes #4512)
SVN-Revision: 14238
2009-01-28 11:48:14 +00:00
Gabor Juhos
92dd3af727 tew-632brp: enable WAN port
SVN-Revision: 14216
2009-01-27 07:08:24 +00:00
Gabor Juhos
8c12e6eced experimental support for the Planex MZK-W04NU board
SVN-Revision: 14208
2009-01-26 18:50:43 +00:00
Gabor Juhos
457bef0475 tew-632brp: add WPS button
SVN-Revision: 14205
2009-01-26 17:45:33 +00:00
Gabor Juhos
6bea544949 move random MAC address generation into the platform initialization code
SVN-Revision: 14204
2009-01-26 14:55:09 +00:00
Gabor Juhos
bd38281dba add preliminary support for the Planex MZK-W300NH board
SVN-Revision: 13863
2009-01-04 19:46:41 +00:00
Gabor Juhos
3fa9ee3bfa remove board specific stuff from the generic machine setup
SVN-Revision: 13861
2009-01-04 19:07:13 +00:00
Gabor Juhos
f1953fdf4b add preliminary support for the Atheros PB42 board
SVN-Revision: 13860
2009-01-04 19:06:00 +00:00
Gabor Juhos
9bb47dc62d fix the registered machine type of the WNR2000 board
SVN-Revision: 13853
2009-01-04 09:32:22 +00:00
Gabor Juhos
e5501cb623 register WMAC device on the Netgear WNR2000 board
SVN-Revision: 13836
2009-01-03 14:14:03 +00:00
Gabor Juhos
6f35d8b500 prepare for ath9k support
SVN-Revision: 13825
2009-01-02 18:54:33 +00:00
Gabor Juhos
2083bb5e6f add experimental support for the NETGEAR WNR2000 board
SVN-Revision: 13775
2008-12-30 13:46:43 +00:00
Gabor Juhos
38826c1e19 add dummy WMAC device
SVN-Revision: 13769
2008-12-30 06:52:57 +00:00
Gabor Juhos
42de997943 add experimental support for the Ubiquiti LSX board
SVN-Revision: 13759
2008-12-29 17:54:16 +00:00
Gabor Juhos
7abf10d6e6 add Ubiquiti board detection
SVN-Revision: 13745
2008-12-26 20:12:42 +00:00
Gabor Juhos
067e900705 use SoC specific irq dispatch code
SVN-Revision: 13736
2008-12-23 13:59:04 +00:00
Gabor Juhos
2a33d0dd82 fix GPIO function select bit definitions (based on a patch by Jonas <jmajau at ubnt.com>)
SVN-Revision: 13699
2008-12-20 08:28:39 +00:00
Gabor Juhos
581a7a36a9 rb-4xx: setup code cleanup
SVN-Revision: 13698
2008-12-20 07:47:30 +00:00
Gabor Juhos
f2b7ac69ee improve Ubiquiti RouterStation support (based on a patch by Jonas <jmajau at ubnt.com>)
SVN-Revision: 13697
2008-12-19 20:18:48 +00:00
Gabor Juhos
91491c6e37 rename RouterStation stuff, and add machine type for the LSX board
SVN-Revision: 13694
2008-12-19 19:17:53 +00:00
Gabor Juhos
4a51052d7b prepare for RouterStation support
SVN-Revision: 13657
2008-12-15 19:18:52 +00:00
Gabor Juhos
d49e66360c move machine setup code
SVN-Revision: 13656
2008-12-15 16:11:42 +00:00
Gabor Juhos
d4aa7ecdca tew-632brp: add status LED
SVN-Revision: 13648
2008-12-15 11:07:11 +00:00
Gabor Juhos
f212ab51ef tew-632brp: register GPIO buttons
SVN-Revision: 13647
2008-12-15 11:04:16 +00:00
Gabor Juhos
00923918c1 tew-632brp: register GPIO LEDs
SVN-Revision: 13646
2008-12-15 09:48:34 +00:00
Gabor Juhos
e643c26169 tew-632brp: use LZMA compressed uImage
SVN-Revision: 13645
2008-12-15 08:32:04 +00:00
Gabor Juhos
4eb4a07b33 tew-632brp: register flash device
SVN-Revision: 13631
2008-12-14 19:40:17 +00:00
Gabor Juhos
d31fe48ea0 register eth0 device on the TEW-632BRP board
SVN-Revision: 13566
2008-12-09 18:49:01 +00:00
Gabor Juhos
af5eb6003d add dummy code for the TRENDnet TEW-632BRP board
SVN-Revision: 13531
2008-12-06 18:10:57 +00:00
Gabor Juhos
d9d111066a add SoC specific reset code
SVN-Revision: 13518
2008-12-04 18:13:43 +00:00