John Crispin
5ea31bbc58
ramips: Fix for gpio falling interrupt mask
...
This patch fixes a wrong mask operation for the rt2880-compatible ralink devices.
The mask operation reads the actual flags and then logical combines it with the pin flag it want to set.
Unfortunally, for rising as for falling interrupt flags the actual flag status of the rising interrupts was used.
That caused a problem if you want to use more than one falling GPIO interrupt.
Now the correct (seperated) actual status is used for both, falling and rising.
Signed-off-by: Jonas Arndt <info@greenwire-elektronik.de>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43882
10 years ago
John Crispin
2ea64717e2
ramips: update BR-6475ND dts
...
Update firmware location for 2.4GHz radio on the Edimax BR-6475nD.
Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>
SVN-Revision: 43881
10 years ago
John Crispin
f9dcd95919
ramips: base-files: Whitespace fixes.
...
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
SVN-Revision: 43880
10 years ago
Felix Fietkau
7cc5b6f9e9
all targets: remove all =m kernel config symbols
...
modules build during the kernel compile phase are ignored anyway,
all modules should be built using KernelPackage in
package/kernel/linux/modules/*
selecting the appropriate config symbols there rather than in
target/linux/*/config-*
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43842
10 years ago
Felix Fietkau
fd7be4073a
ramips: fix WSR-600DHP flash layout
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43819
10 years ago
Felix Fietkau
373c84c30b
ramips: fix WSR-1166DHP flash layout
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43818
10 years ago
Felix Fietkau
ada0452b14
ramips: fix WSR-{600,1166} names
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43817
10 years ago
Felix Fietkau
ca32b89cc0
ramips: fix wsr-1166 sysupgrade support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43816
10 years ago
Felix Fietkau
88e8f99f7f
ramips: on mt7621 only enable xhci for the eval board (still needs patch cleanup to take effect)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43815
10 years ago
Felix Fietkau
bdc35c8ef4
ramips: fix WSR-600 image format
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43814
10 years ago
Felix Fietkau
8eb074756d
ramips: use CONFIG_MTD_SPLIT_UIMAGE_FW instead of CONFIG_MTD_UIMAGE_SPLIT
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43813
10 years ago
Felix Fietkau
ed20caeb65
ramips: fix image format for WSR-1166
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43812
10 years ago
Felix Fietkau
10c2bdbc4f
ramips: disable ethernet checksum offloads for mt7621, they are broken
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43811
10 years ago
Felix Fietkau
51b1f0ca5c
ramips: use netif_receive_skb instead of napi_gro_receive when rx csum offload is unavailable
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43810
10 years ago
Felix Fietkau
81e3014e6d
ramips: rework and fix m25p80 chunked-io support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43808
10 years ago
Felix Fietkau
aefd3c569c
ramips: split mt7621 spi into a separate driver, increase maximum transfer size
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43807
10 years ago
Imre Kaloz
6bfd210ade
honor the bootloader's bootargs
...
Only overwrite the bootloader's bootargs if "chosen" exists in the dtb
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 43802
10 years ago
John Crispin
0ffb7323d0
ralink: remove partitoon map from mt7621.dtsi
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43720
10 years ago
John Crispin
019ea725aa
add "preinit_regular" diag.sh set_state argument
...
This new argument is used right after starting regular preinit (which
happens if failsafe wasn't triggered). The main purpose of "preinit"
argument is to indicate that failsafe can be triggered, however we were
missing a way to inform user that we don't wait for a trigger anymore.
With this change it's clear when failsafe mode can be triggered.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43715
10 years ago
Rafał Miłecki
fbea00b031
ramips: update mtd patches to apply after changes from r43700
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43709
10 years ago
John Crispin
6f2b7567b8
ralink: drop old pinmux nodes from dts files
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43701
10 years ago
John Crispin
263070a2e7
ramips:Add support for Aigale Ai-BR100
...
Aigale Ai-BR100 is a router with mt7620a soc.
There are only 2 lights on the board (WAN and WLAN) so I used the wlan light as the status led.
Signed-off-by: 郭传鈜 <gch981213@gmail.com>
SVN-Revision: 43681
10 years ago
John Crispin
6c4e7b22eb
ralink: fix lenovo y1 wan port mapping
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43667
10 years ago
John Crispin
b1f7a027da
ralink: make uartf functional on AWM002
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43664
10 years ago
John Crispin
1ef2106725
ralink: mt7621 was missing a symbol that made the CC builder fail
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43629
10 years ago
Felix Fietkau
9a495f6bbb
kernel: refresh patches
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43564
10 years ago
John Crispin
8a123f6f66
ramips: generate factory images for Nexx devices
...
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
SVN-Revision: 43541
10 years ago
John Crispin
d04c4a311e
ralink: mt7621 is a 1004Kc
...
Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
SVN-Revision: 43514
10 years ago
John Crispin
506cf51b53
ralink: fix pci reset patch
...
sorry, forgot to make target/update before commiting the last patch
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43374
10 years ago
John Crispin
41f9765acd
ralink: add proper reset of pci core
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43370
10 years ago
John Crispin
d93dc245e5
ralink: various fixes to the wm8960 setup code
...
still no sound but the codec is properly detected now, powers up and i can hear
noise on the speakers.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43305
10 years ago
John Crispin
989bfd815b
ralink: make the dmaengine driver compile under 3.14
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43304
10 years ago
John Crispin
e1f6d0dd0a
ralink: fix tx vlan offload and hardware status
...
hardware status and tx vlan offload support on all targets
except rt5350. so i modify the IS_ENABLE condition only for
mt7621.
support mt7621 hardware status reference by SDK. but i don't
have mt7621. if not work just set mt7621 FE_REG_FE_COUNTER_BASE
to 0 to let software count.
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 43303
10 years ago
John Crispin
a5f562993e
ralink: support netconsole
...
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 43302
10 years ago
John Crispin
9c5dfd9546
ralink: improve tx vlan offload
...
hardware tx vlan offload only support max 16 vids
now use add/delete vlan interface to update vlan id table
when duplicate vlan id index detect.
disable hardware tx vlan offload support.
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 43301
10 years ago
John Crispin
510ff1f1b8
ralink: merge the mt7620a/n subtargets
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43300
10 years ago
John Crispin
752745a85a
ralink: set ralink_soc on mt7621
...
sdhci failed to init because of this
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43293
10 years ago
John Crispin
32d4348540
ralink: fix pcie reset
...
some old mt7620a uboots dont reset the pcie core properly. work around this
issue in the kernel driver.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43292
10 years ago
Felix Fietkau
28b26fa603
ramips: disable 2.4 ghz on 802.11ac wifi on WHR-1166D
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43283
10 years ago
Felix Fietkau
b3f2d3d01b
ramips: use mediatek,mtd-eeprom instead of ralink for mt76
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43282
10 years ago
Felix Fietkau
02c319c27a
ramips: fix default config breakage on whr-1166d
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43281
10 years ago
John Crispin
c073bf6bdf
ralink: few updates tot he sdhci probe code
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43275
10 years ago
John Crispin
ce1c580efb
ralink: make the sdhci module build again
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43274
10 years ago
John Crispin
7cc72e4b93
ralink: dont define pm_poweroff
...
this makes gpio-poweroff work
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43254
10 years ago
John Crispin
be23eaa8c3
ralink: fix bank detection in mt7621 gpio driver
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43253
10 years ago
John Crispin
6d4282086d
ralink: enable the proper drivers in the mt7621 config
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43252
10 years ago
John Crispin
0767ee848a
ralink: fix broken pinmux function naming inside mt7621.c
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43251
10 years ago
John Crispin
8cde8a05c9
ralink: update sdhci driver
...
the new driver handles newer SoCs
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43250
10 years ago
John Crispin
66463a5b5d
ralink: update pcie driver to load ranges from dts
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43249
10 years ago
John Crispin
7963782b86
ralink: add a new global ralink_soc variable
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43248
10 years ago