summaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* generic: ar8216: start AR8327 switch from the probe routinejuhosg2013-03-151-1/+19
| | | | | | | | | | | | The AR8327 switch gets its configuration from platform data or from the device-tree. This allows to start it from the probe routine. Doing so makes it usable with ethernet drivers which only connects to the PHY device when the ethernet interface is opened. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add ar8xxx_start helperjuhosg2013-03-151-11/+23
| | | | | | | | | Move switch starting code into a separate function. This makes it usable from other places. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36049 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc85xx: add AR8327 initvals to the TL-WDR4900 devicetreejuhosg2013-03-151-2/+12
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36048 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add OF configuration support for AR8327juhosg2013-03-151-1/+52
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36047 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: separate platform_data based AR8327 codejuhosg2013-03-151-5/+16
| | | | | | | | | | Move platform_data specific configuration code into a separate routine. Do it in preparation for the upcoming OF support. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36046 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: don't use platform_data in ar8327_init_portjuhosg2013-03-151-5/+16
| | | | | | | | | Fetch the PORT_STATUS values in ar8327_hw_init and store those in a private data stucture for later use. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36045 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: move the ar8327_get_port_init_status functionjuhosg2013-03-151-28/+28
| | | | | | | | It will be used in ar8327_probe routine. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36044 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: simplify and rename ar8327_config_portjuhosg2013-03-151-15/+9
| | | | | | | | | | Return with the PORT_STATUS register value instead of writing that directly into the corresponding register. Also rename the function to ar8327_get_port_init_status. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36043 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: remove superfluous pdata checksjuhosg2013-03-151-2/+2
| | | | | | | | | | The presence of the platform data is already verified in ar8327_hw_init, and the driver does not start without that anyway. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36042 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.8 to 3.8.3juhosg2013-03-1571-503/+148
| | | | | | | | Also refresh the related generic/platform patches. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36039 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: build images for the TL-MR11U v2juhosg2013-03-151-1/+3
| | | | | | | | | | [juhosg: use different profile name for v1 and v2, and add multi profile to build for both versions] Signed-off-by: Guilhem Lettron <guilhem@lettron.fr> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36038 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rw2458n - Use eeprom (art) from wifi cardjuhosg2013-03-151-4/+4
| | | | | | | | | Use eeprom (art) from included wifi card, not hard coded in flash. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36037 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Error fix in Kernel for MR3420v2 Ethernet Switch configurationjuhosg2013-03-151-4/+2
| | | | | | | | | | | | | | Error in using another MDIO (AP123 platform using only one GE1 device for eth0 and eth1) for the router mr3420v2. ?onfirmed: https://forum.openwrt.org/viewtopic.php?pid=194779#p194779 Routers in this sense are the same and the only difference is: USB port, USB led, instead of the GPIO-switch we have GPIO-button. Signed-off-by: Dmytro <dioptimizer@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36036 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [lantiq] ACMP252: fix USB-enable GPIO and use default PCI configuration for nowblogic2013-03-141-8/+1
| | | | | | | | | | | EEPROM is an actial serial EEPROM on the WiFi module, therefore we can remove ralink_eep from the dts. USB power-enable GPIO turned out to be GPIO #3 (found via probing/brute-force). PCI works with default settings as long as the vendor bootloader is used. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36030 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [lantiq] fix buttons on vr9 eval kitblogic2013-03-141-10/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36029 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [lantiq] select vdsl packages on vr9 boardsblogic2013-03-142-1/+13
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36028 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [lantiq] fix fritzbox 3370 partitions/memory/cmdlineblogic2013-03-141-5/+5
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36027 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [lantiq] build jffs images for nand based fritzboxblogic2013-03-141-1/+5
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36026 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [lantiq] bump to v3.8blogic2013-03-1443-1/+14590
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36014 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [lantiq] move GPHY FW blobs to non versioned folderblogic2013-03-144-0/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36013 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add support for 3.9-rc2florian2013-03-14156-0/+30824
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36008 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [base-files/generic] update the /init file to start /sbin/initblogic2013-03-131-94/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36002 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] make sure the console works when using procd as our pid 1blogic2013-03-131-0/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36000 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gemini: remove 3.3 supportjuhosg2013-03-1218-4901/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35995 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gemini: switch to 3.8juhosg2013-03-121-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35994 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gemini: add support for 3.8juhosg2013-03-1218-0/+5275
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35993 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [lantiq] fixes NO_XIP on CFI0001 flashblogic2013-03-122-0/+19
| | | | | | | | | | | This patch disables the execute-in-place (XIP) support for flash on lantiq. This has to be disabled since the bus which flash is connected to does not support unaligned accesses. Resolves data bus errors on Lantiq routers with Intel command set flash. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35992 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [lantiq] add support for AudioCodes AC-252blogic2013-03-124-1/+116
| | | | | | | | | user-space support for extracting the EEPROM for the RaLink WiFi is still missing. Besides this, it's all working. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35990 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [lantiq] unbreak dgn3500 spi-gpioblogic2013-03-121-4/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35989 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] make sure errors get sent to /dev/nullblogic2013-03-121-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35988 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] make sure errors get sent to /dev/nullblogic2013-03-121-3/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35987 3c298f89-4303-0410-b956-a3cf2f4a3e73
* avr32: remove 3.3 supportjuhosg2013-03-122-131/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35985 3c298f89-4303-0410-b956-a3cf2f4a3e73
* avr32: switch to 3.8juhosg2013-03-121-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35984 3c298f89-4303-0410-b956-a3cf2f4a3e73
* avr32: add support for 3.8juhosg2013-03-123-0/+153
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35983 3c298f89-4303-0410-b956-a3cf2f4a3e73
* avr32: add sysupgrade supportjuhosg2013-03-121-0/+28
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35982 3c298f89-4303-0410-b956-a3cf2f4a3e73
* avr32: add firmware partitionjuhosg2013-03-121-0/+12
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35981 3c298f89-4303-0410-b956-a3cf2f4a3e73
* avr32: add diag supportjuhosg2013-03-121-0/+23
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35980 3c298f89-4303-0410-b956-a3cf2f4a3e73
* avr32: create network config dynamicallyjuhosg2013-03-122-0/+22
| | | | | | | | | The default network configuration from base-files is not correct for the NGW100 board. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35979 3c298f89-4303-0410-b956-a3cf2f4a3e73
* avr32: built the firmware images from the lzma compressed uImagejuhosg2013-03-121-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35978 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc52xx: remove 3.3 supportjuhosg2013-03-121-272/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35977 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc52xx: switch to 3.8juhosg2013-03-121-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35976 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc52xx: add support for 3.8juhosg2013-03-121-0/+285
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35975 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add profile and build image for the Upvel UR-326N4G boardjuhosg2013-03-112-0/+16
| | | | | | | Patch from: Дмитрий Лебедев <lebedev@trendnet.ru> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35972 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add user-space support for the Upvel UR-326N4G boardjuhosg2013-03-115-0/+16
| | | | | | | | | [juhosg: fix mac address setup] Patch from: Дмитрий Лебедев <lebedev@trendnet.ru> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35971 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add kernel support for the Upvel UR-326N4G boardjuhosg2013-03-116-0/+111
| | | | | | | | | [juhosg: add missing symbols to config-3.{7,8}] Patch from: Дмитрий Лебедев <lebedev@trendnet.ru> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35970 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: om2p-hs: use correct bit mask to disable JTAG functionalityjuhosg2013-03-111-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35966 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add AR934X_GPIO_FUNC_* definesjuhosg2013-03-111-4/+10
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35965 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: makefile changes to build image for MR3420v2juhosg2013-03-111-1/+3
| | | | | | | | Patch-by: Dmytro <dioptimizer@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3440/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35964 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for MR3420v2juhosg2013-03-115-0/+16
| | | | | | | | Patch-by: Dmytro <dioptimizer@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3442/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35962 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for MR3420v2juhosg2013-03-112-12/+96
| | | | | | | | | [juhosg: use gpio_request_one to enable the USB power] Patch-by: Dmytro <dioptimizer@gmail.com> Signed-off-by: Gabor Juhos <juhosg@opewrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35961 3c298f89-4303-0410-b956-a3cf2f4a3e73