aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* atheros[uart]: use 32-bit aligned I/OFelix Fietkau2014-07-172-5/+5
| | | | | | | | Use 32-bit aligned I/O and update base UART address (remove +3 offset). Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41699
* atheros[ar231x-eth]: pass PHY I/O memory via device resourcesFelix Fietkau2014-07-173-41/+72
| | | | | | | | | Pass PHY I/O memory region via platform resources and remap them unconditionally. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41698
* atheros[ar231x-eth]: pass phys address of I/O memory via platform resFelix Fietkau2014-07-173-24/+21
| | | | | | Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41697
* atheros: simplify gpiolib realizationFelix Fietkau2014-07-171-177/+57
| | | | | | | | | | | | | | | 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
* atheros: use irq_set_chained_handler()Felix Fietkau2014-07-172-26/+14
| | | | | | Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41695
* atheros: simplify AR2315 misc IRQ (un)maskingFelix Fietkau2014-07-172-74/+52
| | | | | | | | | | 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
* atheros: rename some interrupt control handlersFelix Fietkau2014-07-171-21/+24
| | | | | | | | | 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
* atheros: move AR2315 misc IRQ dispatching to separate functionFelix Fietkau2014-07-172-28/+34
| | | | | | | | Align code with AR5312 realization. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41692
* atheros: pass UART IRQ number via function argumentFelix Fietkau2014-07-171-7/+9
| | | | | | | | | 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
* atheros[ar231x-eth]: move driver to atheros subdirectoryFelix Fietkau2014-07-173-32/+33
| | | | | | | | | 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
* atheros[ar231x-eth]: update MAC and PHY reset methodFelix Fietkau2014-07-173-25/+54
| | | | | | | | | 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
* atheros[ar2315-wdt]: update I/O handlingFelix Fietkau2014-07-172-12/+50
| | | | | | | | | * 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
* atheros[ar2315-wdt]: update interrupt handlingFelix Fietkau2014-07-172-7/+5
| | | | | | | | | 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
* atheros: use correct address space and pointer type for register accessFelix Fietkau2014-07-171-2/+2
| | | | | | | | Make sparse happy :) Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41686
* atheros[ar2315-wdt]: rename config symbolFelix Fietkau2014-07-172-6/+7
| | | | | | | | | 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
* atheros[ar2315-wdt]: update initializationFelix Fietkau2014-07-172-20/+11
| | | | | | | | | | * 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
* ramips: soc wmac eeprom cleanupJohn Crispin2014-07-1790-131/+358
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ep93xx: add support for kernel 3.10Hauke Mehrtens2014-07-164-0/+1528
| | | | | | | | This is compile tested only, please run test and report back. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41679
* kernel: add CONFIG_I2C_AU1550 config optionHauke Mehrtens2014-07-163-0/+3
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41678
* lantiq: fix board_id/boardname for VGV7519John Crispin2014-07-161-0/+3
| | | | | | Signed-off-by: Eddi De Pieri <eddi@depieri.net> SVN-Revision: 41672
* au1000: remove linux 3.6 supportFelix Fietkau2014-07-164-178/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41670
* au1000: update to kernel 3.10.44Hauke Mehrtens2014-07-151-1/+1
| | | | | | | | This was tested by Bruno Randolf on au1000 (MTX-1) Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41669
* brcm47xx: remove kmod-bgmac from profileHauke Mehrtens2014-07-154-4/+4
| | | | | | | | bgmac will be compiled into the kernel since r41594. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41667
* brcm47xx: fix LEDs on WRT54GL 1.1Hauke Mehrtens2014-07-154-14/+66
| | | | | | | Ticket: #17062 Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 41666
* brcm47xx: fix special board handling for some devicesHauke Mehrtens2014-07-141-19/+7
| | | | | | | | | | | 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
* brcm47xx: improve board detection for some devicesHauke Mehrtens2014-07-146-0/+420
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41662
* ar71xx: add profile and build image for the EnGenius EAP300 v2 boardGabor Juhos2014-07-142-0/+36
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 41661
* ar71xx: add user-space support for the EnGenius EAP300 v2 boardGabor Juhos2014-07-145-0/+14
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 41659
* ar71xx: add kernel support for the EnGenius EAP300 v2 boardGabor Juhos2014-07-143-0/+140
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 41658
* lantiq: vgv7519 add missing wps label to dtsJohn Crispin2014-07-141-0/+1
| | | | | | Signed-off-by: Eddi De Pieri <eddi@depieri.net> SVN-Revision: 41655
* ramips: basic support for Planex MZK-750DHPJohn Crispin2014-07-145-1/+95
| | | | | | | | some gpios are still missing. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41654
* ramips: squelch mdio debugging info on rt2880 ethernetJohn Crispin2014-07-141-0/+22
| | | | | | | | | 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
* ar71xx: add profile and build image for the Tube2H boardGabor Juhos2014-07-142-0/+14
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 41652
* ar71xx: add user-space support for the Tube2H boardGabor Juhos2014-07-145-0/+46
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 41650
* ar71xx: add kernel support for the Tube2H boardGabor Juhos2014-07-143-0/+152
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 41649
* mark the default WRT1900AC image "factory"Imre Kaloz2014-07-141-1/+1
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41648
* handle sysupgrade tar files on the WRT1900ACImre Kaloz2014-07-142-5/+34
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41647
* ar71xx: fix ALFA NETWORK's nameGabor Juhos2014-07-141-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 41643
* ar71xx: add profile and build image for the EnGenius ESR900Gabor Juhos2014-07-142-0/+14
| | | | | | | | | 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
* ar71xx: add user-space support for the EnGenius ESR900Gabor Juhos2014-07-144-0/+21
| | | | | | | | 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
* ar71xx: add kernel support for the EnGenius ESR900Gabor Juhos2014-07-143-0/+240
| | | | | | | | | | | | | | | 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
* lantiq: detect board in preinit stateJohn Crispin2014-07-142-2/+9
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41638
* ar71xx: add support for nanostation m xwJohn Crispin2014-07-147-4/+92
| | | | SVN-Revision: 41636
* ar8216: add new phyid 0x004dd043 (ar8326)John Crispin2014-07-141-0/+1
| | | | | | Used in ubiquity nanostation xw boards SVN-Revision: 41635
* ramips: fix port mapping and extract wmac eeprom on ZBT-WA05 boardJohn Crispin2014-07-141-1/+5
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 41634
* ramips: extract mac address from flash on WHR-600D boardJohn Crispin2014-07-141-0/+1
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 41633
* ramips: extract default lan_mac from eth0John Crispin2014-07-141-0/+1
| | | | | | | | | 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
* use the full boardname for the wrt1900ac imageImre Kaloz2014-07-131-1/+1
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41631
* add sysupgrade supportImre Kaloz2014-07-133-0/+131
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41630
* update wrt1900ac dtsImre Kaloz2014-07-131-3/+2
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41629