Felix Fietkau
9041410017
atheros[ar231x-eth]: pass phys address of I/O memory via platform res
...
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41697
10 years ago
Felix Fietkau
a145d0410b
atheros: simplify gpiolib realization
...
Each SoCs generation has own independent gpiolib realization, so we
have no reason to keep these realizations in semiuniversal form.
Following modifications are made:
* Remove valid_mask field
* Remove ar231x_gpio_chip structure
* Rename AR2315_GPIO_CR to AR2315_GPIO_DIR
* Fix count of AR5312 GPIOs
* Simplify gpio_chip methods realization
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41696
10 years ago
Felix Fietkau
82e4cde1ce
atheros: use irq_set_chained_handler()
...
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41695
10 years ago
Felix Fietkau
0a785ebb7d
atheros: simplify AR2315 misc IRQ (un)masking
...
Currently AR5312 misc IRQ numbers are used for AR2315+ chips, what cause
us to use switch-case to map IRQ number to ISR bit. Introduce AR2315
specific misc IRQs set and simplify interrupt (un)mask operation.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41694
10 years ago
Felix Fietkau
d29b61b5f0
atheros: rename some interrupt control handlers
...
Rename interrupt control handlers to be consistent with operation names
and add IRQ chips names.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41693
10 years ago
Felix Fietkau
fceb7f7045
atheros: move AR2315 misc IRQ dispatching to separate function
...
Align code with AR5312 realization.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41692
10 years ago
Felix Fietkau
5c030111a9
atheros: pass UART IRQ number via function argument
...
UART IRQ number could be different for different SoCs, so make them
configurable.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41691
10 years ago
Felix Fietkau
e819113e2e
atheros[ar231x-eth]: move driver to atheros subdirectory
...
Move driver code to respective vendor subdirectory and fix config
symbol name.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41690
10 years ago
Felix Fietkau
6be418e3e1
atheros[ar231x-eth]: update MAC and PHY reset method
...
Pass reset_set and reset_clear callback functions pointers via
platform_data instead of reset register address.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41689
10 years ago
Felix Fietkau
4f05d696ad
atheros[ar2315-wdt]: update I/O handling
...
* Pass iomem and IRQ via platform device resources
* Remap iomem and use iowrite32 accessor function
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41688
10 years ago
Felix Fietkau
5ea0cff89c
atheros[ar2315-wdt]: update interrupt handling
...
Acknowledge watchdog interrupt in arch irq dispatcher and remove odd
watchdog enable call from probe function.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41687
10 years ago
Felix Fietkau
d0f9972f1c
atheros: use correct address space and pointer type for register access
...
Make sparse happy :)
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41686
10 years ago
Felix Fietkau
579481b4f5
atheros[ar2315-wdt]: rename config symbol
...
Rename config symbol to AR2315_WDT to avoid confusion with other Atheros
SoCs.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41685
10 years ago
Felix Fietkau
5e76534b23
atheros[ar2315-wdt]: update initialization
...
* update driver id to be consistent with other ar231x drivers
* remove odd module_{init,exit}
* add module metadata (description, name, etc.)
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41684
10 years ago
John Crispin
f44d3f9980
ramips: soc wmac eeprom cleanup
...
Move eeprom extraction from scripts to dts files.
Additionally there are few other changes like:
- whitespace fixes
- add partition labels where needed
- BR6524N board doesn't exist (lost in translation?)
- fix Edimax 3g-6200nl model
- add wmac eeprom to dts for Asus RT-N14U board
Compile tested all subtargets and their profiles.
Run tested on:
- Asus RT-N15
- Asus RT-N14U
- Buffalo WHR-600D
- Argus ATP52B
- Sparklan WCR-150GN
Few problems noted:
- many boards didn't have wmac eeprom information defined at all
- several boards don't have any patitions defined (see FIXME comments in dts)
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 41680
10 years ago
Hauke Mehrtens
d8e47a92b1
ep93xx: add support for kernel 3.10
...
This is compile tested only, please run test and report back.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 41679
10 years ago
Hauke Mehrtens
d84579def5
kernel: add CONFIG_I2C_AU1550 config option
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 41678
10 years ago
John Crispin
4beb468f11
lantiq: fix board_id/boardname for VGV7519
...
Signed-off-by: Eddi De Pieri <eddi@depieri.net>
SVN-Revision: 41672
10 years ago
Felix Fietkau
6c7de7abca
au1000: remove linux 3.6 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41670
10 years ago
Hauke Mehrtens
a36ca743d6
au1000: update to kernel 3.10.44
...
This was tested by Bruno Randolf on au1000 (MTX-1)
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 41669
10 years ago
Hauke Mehrtens
1636bc6704
brcm47xx: remove kmod-bgmac from profile
...
bgmac will be compiled into the kernel since r41594.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 41667
10 years ago
Hauke Mehrtens
f5955c2e6b
brcm47xx: fix LEDs on WRT54GL 1.1
...
Ticket: #17062
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 41666
10 years ago
Hauke Mehrtens
6f417d5b4b
brcm47xx: fix special board handling for some devices
...
Some devices were renamed when converted from diag to in kernel board detection and it was not changed in netconfig. Devices not in the
kernel board detection are removed now.
This should close : #17111 , #16968 , #13202
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 41663
10 years ago
Hauke Mehrtens
7dbea92a9c
brcm47xx: improve board detection for some devices
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 41662
10 years ago
Gabor Juhos
2adff1734f
ar71xx: add profile and build image for the EnGenius EAP300 v2 board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41661
10 years ago
Gabor Juhos
54206fb0ce
ar71xx: add user-space support for the EnGenius EAP300 v2 board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41659
10 years ago
Gabor Juhos
aff3127956
ar71xx: add kernel support for the EnGenius EAP300 v2 board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41658
10 years ago
John Crispin
85cacfd753
lantiq: vgv7519 add missing wps label to dts
...
Signed-off-by: Eddi De Pieri <eddi@depieri.net>
SVN-Revision: 41655
10 years ago
John Crispin
74db9511dc
ramips: basic support for Planex MZK-750DHP
...
some gpios are still missing.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41654
10 years ago
John Crispin
e33584f6b8
ramips: squelch mdio debugging info on rt2880 ethernet
...
Use pr_debug rather than pr_info since it is only relevant
for debugging.
Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 41653
10 years ago
Gabor Juhos
495aef39f4
ar71xx: add profile and build image for the Tube2H board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41652
10 years ago
Gabor Juhos
f27f2fec4f
ar71xx: add user-space support for the Tube2H board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41650
10 years ago
Gabor Juhos
51c892053a
ar71xx: add kernel support for the Tube2H board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41649
10 years ago
Imre Kaloz
d7ae7bae57
mark the default WRT1900AC image "factory"
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41648
10 years ago
Imre Kaloz
6f5a9debed
handle sysupgrade tar files on the WRT1900AC
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41647
10 years ago
Gabor Juhos
907bd5345e
ar71xx: fix ALFA NETWORK's name
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41643
10 years ago
Gabor Juhos
fec2596282
ar71xx: add profile and build image for the EnGenius ESR900
...
Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5715/
[juhosg: change subject]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41642
10 years ago
Gabor Juhos
50c554a475
ar71xx: add user-space support for the EnGenius ESR900
...
Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5716/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41641
10 years ago
Gabor Juhos
0bec90b830
ar71xx: add kernel support for the EnGenius ESR900
...
Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5714/
[juhosg:
- drop nvram.c modifications,
- create a separate kernel patch,
- use ath79_setup_qca955x_eth_cfg helper,
- merge esr900_{010,common}_setup functions,
- statically init AR8327 pad configurations,
- use pr_err instead of printk]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41640
10 years ago
John Crispin
c8bde9da4a
lantiq: detect board in preinit state
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41638
10 years ago
John Crispin
e503eeb465
ar71xx: add support for nanostation m xw
...
SVN-Revision: 41636
10 years ago
John Crispin
de5fd0a189
ar8216: add new phyid 0x004dd043 (ar8326)
...
Used in ubiquity nanostation xw boards
SVN-Revision: 41635
10 years ago
John Crispin
76ba6846a2
ramips: fix port mapping and extract wmac eeprom on ZBT-WA05 board
...
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 41634
10 years ago
John Crispin
8c577d9fde
ramips: extract mac address from flash on WHR-600D board
...
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 41633
10 years ago
John Crispin
4af1b51ec3
ramips: extract default lan_mac from eth0
...
The default case of ramips_setup_macs() is useful when mtd-mac-address is defined in dts.
But lan_mac is not set by default, this results in lan and wan having the same mac.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 41632
10 years ago
Imre Kaloz
1d11ffa4f2
use the full boardname for the wrt1900ac image
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41631
10 years ago
Imre Kaloz
81d85a717a
add sysupgrade support
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41630
10 years ago
Imre Kaloz
88121f229c
update wrt1900ac dts
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41629
10 years ago
Gabor Juhos
26b39cc580
ar71xx: use ath79_setup_qca955x_eth_cfg helper for QCA955x based boards
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41627
10 years ago
Gabor Juhos
c4c25e741e
ar71xx: add profile and build image for EnGenius ESR1750
...
Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41626
10 years ago