aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/include
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: fix QCA955X SGMII link lossDavid Bauer2018-09-031-0/+1
| | | | | | | | | | | | | | | | | | | | The QCA955X is affected by a hardware bug which causes link-loss of the SGMII link between SoC and PHY. This happens on change of link-state or speed. It is not really known what causes this bug. It definitely occurs when using a AR8033 Gigabit Ethernet PHY. Qualcomm solves this Bug in a similar fashion. We need to apply the fix on a per-device base via platform-data as performing the fixup work will break connectivity in case the SGMII interface is connected to a Switch. This bug was first proposed to be fixed by Sven Eckelmann in 2016. https://patchwork.ozlabs.org/patch/604782/ Based-on-patch-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit f4f99ec9737c653815268f2efad0210caaa32e2d)
* ar71xx: remove pdata->fifo_cfg*Felix Fietkau2018-03-041-4/+0
| | | | | | The values are the same for all chipsets that use it Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ag71xx: Fix rx ring buffer stall on small packets flood on qca956x and qca953x.Vittorio Gambaletta2017-12-291-1/+1
| | | | | | Backported from Code Aurora QSDK Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
* ar71xx: QCA956X: add missing registerHenryk Heisig2017-01-261-0/+2
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ar71xx: remove a non-upstream spi core patchFelix Fietkau2017-01-051-5/+0
| | | | | | | - use standard flags instead - remove dead code from the rb4xx spi drivers Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: rename ethernet pdata->builtin_switch to use_flow_controlFelix Fietkau2016-06-271-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: enable flow control for ethernet MACs with built-in switchFelix Fietkau2016-06-261-0/+1
| | | | | | | | Should fix LAN speed issues on some devices. This is an updated version of the previously reverted commit with the same name. It improves the check for MACs connected to a built-in switch Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: ag71xx: get max_frame_len and desc_pktlen_mask from platform dataGabor Juhos2013-12-201-0/+3
| | | | | | | | This will allow to use SoC specific values for both. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39145
* ar71xx: implement callback in mdio resetGabor Juhos2013-12-171-0/+2
| | | | | | | | | | | This enables us to add fixups to the board specific code for boards that require special treatment of PHYs on mdio bus reset. Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> http://patchwork.openwrt.org/patch/4614/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39127
* ar71xx: add dynamic MDIO clock calculationGabor Juhos2012-09-091-0/+2
| | | | SVN-Revision: 33342
* ar71xx: fix MII clock settings for various chips, improves ethernet ↵Felix Fietkau2012-05-271-1/+4
| | | | | | stability on AR934x SVN-Revision: 31925
* ar71xx: allow to disable link polling on unused PHYsGabor Juhos2012-04-291-0/+1
| | | | SVN-Revision: 31533
* ar71xx: add initial support for RB750GLGabor Juhos2012-03-191-0/+10
| | | | SVN-Revision: 31025
* ar71xx: make rb750_latch_change 'static void'Gabor Juhos2012-03-191-2/+0
| | | | SVN-Revision: 31024
* ar71xx: add latch_change field to rb750_led_platform_dataGabor Juhos2012-03-191-0/+1
| | | | SVN-Revision: 31023
* ar71xx: add platform data for the RB750 NAND driverGabor Juhos2012-03-191-2/+9
| | | | SVN-Revision: 31022
* ar71xx: merge files-3.2 to filesGabor Juhos2012-02-103-0/+170
| | | | SVN-Revision: 30405
* ar71xx: move arch specific files to files-2.6.39Gabor Juhos2012-01-2214-1489/+0
| | | | SVN-Revision: 29867
* ar71xx: move irq_to_gpio and gpio_to_irq into gpio.cGabor Juhos2012-01-111-12/+2
| | | | SVN-Revision: 29713
* ar71xx: add defines for the AR934X GMAC interfaceGabor Juhos2011-12-151-0/+21
| | | | SVN-Revision: 29556
* ar71xx: ag71xx: allow to connect PHY4 to the CPU on AR934XGabor Juhos2011-12-151-1/+1
| | | | SVN-Revision: 29553
* ar71xx: introduce ar71xx_switch_dataGabor Juhos2011-12-151-1/+6
| | | | SVN-Revision: 29549
* ar71xx: add GPIO function bit defines for AR933XGabor Juhos2011-12-141-0/+21
| | | | SVN-Revision: 29534
* ar71xx: fix gpio count for ar7241/ar7242Felix Fietkau2011-12-141-1/+2
| | | | SVN-Revision: 29532
* ar71xx: fix USB LED on the DB120 boardGabor Juhos2011-11-141-0/+2
| | | | SVN-Revision: 29126
* ar71xx: add a function for selecting output signal on a given GPIO pinGabor Juhos2011-11-141-0/+7
| | | | SVN-Revision: 29125
* ar71xx: fix GPIO function handling on AR934xGabor Juhos2011-11-141-0/+2
| | | | SVN-Revision: 29124
* ar71xx: add AR71XX_ prefix to GPIO_REG_* definesGabor Juhos2011-11-141-11/+11
| | | | SVN-Revision: 29123
* ar71xx: fix GPIO count for AR934xGabor Juhos2011-11-141-1/+1
| | | | SVN-Revision: 29109
* ar71xx: flush DDR writeback buffers for WMAC and PCIe on AR934XGabor Juhos2011-11-141-0/+1
| | | | SVN-Revision: 29108
* ar71xx: use a dummy irq chip for WMAC and PCIe irq hadlingGabor Juhos2011-11-141-1/+6
| | | | SVN-Revision: 29107
* ar71xx: add AR934X_RESET_REG_PCIE_WMAC_INT_STATUS definesGabor Juhos2011-11-141-0/+20
| | | | SVN-Revision: 29106
* ar71xx: add an irq parameter for ar724x_pcibios_initGabor Juhos2011-11-141-1/+1
| | | | SVN-Revision: 29105
* ar71xx: set MII interface speed from the set_speed callbacksGabor Juhos2011-11-131-0/+5
| | | | SVN-Revision: 29013
* ar71xx: rename set_pll callback to set_speed in ag71xx_platform_dataGabor Juhos2011-11-131-1/+1
| | | | | | Also rename the corresponding callback functions. SVN-Revision: 29012
* ar71xx: ag71xx: remove MII interface setup codeGabor Juhos2011-11-131-1/+0
| | | | SVN-Revision: 29011
* ar71xx: configure MII interface type from ar71xx_setup_phy_if_modeGabor Juhos2011-11-131-0/+2
| | | | SVN-Revision: 29010
* ar71xx: add AR934X specific bootstrap and reset register bitsGabor Juhos2011-11-121-2/+48
| | | | SVN-Revision: 28976
* ar71xx: fix AR934X clock frequency calculationGabor Juhos2011-11-121-0/+8
| | | | SVN-Revision: 28973
* ar71xx: add AR933X GMAC register definesGabor Juhos2011-11-011-0/+19
| | | | SVN-Revision: 28705
* ar71xx: add AR933x specific USB setup functionGabor Juhos2011-09-211-0/+3
| | | | SVN-Revision: 28276
* ar71xx: add ar71xx_device_reset_rmw helperGabor Juhos2011-09-211-0/+1
| | | | SVN-Revision: 28275
* ar71xx: add some code to detect DMA stuck conditions on ar7240Felix Fietkau2011-08-131-0/+1
| | | | SVN-Revision: 27975
* ar71xx: cleanup AR933X UART driverGabor Juhos2011-06-191-2/+11
| | | | SVN-Revision: 27222
* ar71xx: update early_printk codeGabor Juhos2011-06-131-0/+58
| | | | SVN-Revision: 27165
* ar71xx: init external_reset for AR933XGabor Juhos2011-06-011-0/+2
| | | | SVN-Revision: 27083
* ar71xx: export SoC revisionGabor Juhos2011-06-011-0/+1
| | | | SVN-Revision: 27079
* ar71xx: add serial driver for the AR933X UARTGabor Juhos2011-05-311-0/+18
| | | | SVN-Revision: 27065
* ar71xx: add WMAC initialization code for the AR933X SoCsGabor Juhos2011-05-311-0/+2
| | | | SVN-Revision: 27064
* ar71xx: add ethernet initialization for the AR933X SoCsGabor Juhos2011-05-311-0/+5
| | | | SVN-Revision: 27063