aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.c
Commit message (Collapse)AuthorAgeFilesLines
* ramips: unify eeprom file name for the built-in wireless MACGabor Juhos2012-12-221-1/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34860
* ramips: convert to use {e,o}hci-platform driverGabor Juhos2012-12-221-46/+49
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34843
* ramips: set clk_is_20mhz for rt2x00 on RT3352/RT5350Gabor Juhos2012-11-201-0/+8
| | | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34270
* ramips/rt305x: add initial support for Rt5350 SoCGabor Juhos2012-09-121-1/+1
| | | | | | | | | | | | | Somehow detecting the RAM size in common/setup.c doesn't work here, it always detects 64M and then crashes on devices with less RAM. Probably using MEMC_REG_SDRAM_CFG1 to know the RAM size is how it could be, for now I use the mem=32M kernel parameter to get stuff working. Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 33381
* ramips: Minor ramips_esw.c cleanupGabor Juhos2012-08-291-0/+7
| | | | | | | | | | | | Stop handling VLAN setup in the kernel. Removes the obsolete RT305X_ESW_VLAN_CONFIG_BYPASS option I added for WL-351 and add some extra comments. Also removes the en_vlan per-port flag that isn't very useful really, it now is only controlled by the global enable_vlan flag. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> SVN-Revision: 33301
* ramips: rename rt3352 usb platform devicesGabor Juhos2012-08-121-2/+2
| | | | | | | | | In order to get OHCI/EHCI working on the Rt3352, the platform device must be named so rt3883-?hci will recognize it. Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 33145
* ramips: rt305x: add OHCI/EHCI registration code for RT3352Gabor Juhos2012-04-211-5/+127
| | | | SVN-Revision: 31402
* ramips: rt305x: rename SYSTEM_CONFIG_* defines to RT305X_SYSCFG_*Gabor Juhos2012-03-111-2/+2
| | | | SVN-Revision: 30889
* ramips: rt305x: remove per-board physmap_flash_data instancesGabor Juhos2012-02-121-3/+11
| | | | SVN-Revision: 30473
* ramips: initial support for Sitecom WL-351 v1 002Gabor Juhos2011-12-231-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This add support for the Sitecom WL-351 v1 002. In principle the Engenius ESR9850 should also work with this, but I don't have the hardware to test it. Since an external gigabit switch (RTL8366RB) is used, I had to modify the ramips_esw driver to add a 'bypass' mode, which just configures it to not filter the vlan tags. Also two initialization words (FCT2 and FPA2) are set to different values by u-boot than what the driver is using and it only seems to work correctly when they not overridden by the driver, so I added them to the platform specific data as reg_initval_fct2 and reg_initval_fpa2. With this wired lan works as expected, however I'm still having some trouble with the wireless lan: It only works after I rmmod & re-insmod rt2800pci and then reconfigure it in the webinterface, but not directly after rebooting. The symptom of this is wpad saying: Dec 20 15:45:09 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> IEEE 802.11: associated (aid 1) Dec 20 15:45:09 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> WPA: pairwise key handshake completed (RSN) Dec 20 15:45:22 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> IEEE 802.11: authenticated But wpa_supplicant on the client saying: Authentication with <wl351mac> timed out. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> SVN-Revision: 29604
* ramips: rt305x: add dwc_otg platform deviceGabor Juhos2011-08-151-0/+26
| | | | | | Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su> SVN-Revision: 27995
* ramips: rt305x: introduce rt305x_register_spi helperGabor Juhos2011-07-281-0/+22
| | | | | | Based on a patch by Sergiy <piratfm@gmail.com> SVN-Revision: 27810
* ramips: specify eeprom file name on RT305XGabor Juhos2011-07-031-1/+4
| | | | SVN-Revision: 27392
* ramips: add watchdog device for RT305xGabor Juhos2011-01-261-0/+28
| | | | SVN-Revision: 25127
* ramips: implement clock API for RT305XGabor Juhos2011-01-261-1/+9
| | | | SVN-Revision: 25124
* ramips: ramips_esw: convert it to be a platform driverGabor Juhos2010-12-081-1/+20
| | | | SVN-Revision: 24331
* The ralink rt305x board has a wireless card that can be used with the ↵John Crispin2010-03-301-0/+26
| | | | | | rt2800pci driver (it does not work yet but basically should). Hence, register the appropriate platform device to allow developing/testing the rt2800pci driver. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> SVN-Revision: 20599
* ramips_eth: pass sys_clk via platform_dataGabor Juhos2010-01-311-1/+3
| | | | SVN-Revision: 19462
* ramips: use definitions from rt305x_regs, and nuke the duplicated onesGabor Juhos2009-10-261-2/+2
| | | | SVN-Revision: 18175
* ramips: move ramips_eth_platform_data into a separate fileGabor Juhos2009-10-261-1/+1
| | | | SVN-Revision: 18174
* ramips: use resource to pass irq and base address to the ethernet driverGabor Juhos2009-10-261-4/+16
| | | | SVN-Revision: 18166
* make ethernet a platform deviceJohn Crispin2009-10-241-0/+28
| | | | SVN-Revision: 18135
* initial support for RT288x/RT305xGabor Juhos2009-08-301-0/+96
SVN-Revision: 17439