aboutsummaryrefslogtreecommitdiff
path: root/target/linux/generic/files/include/linux/ar8216_platform.h
Commit message (Collapse)AuthorAge
* ar8216: rework/fix AR8337 MAC swap handlingFelix Fietkau2015-12-20
| | | | | | | | | | | | | | In r45970 the MAC swap handling was made opt-in, however some boards have been forgotten during the conversion. Since the reference design uses this MAC swapping, and pretty much all known boards using this chip seem to do so too, enabling the swapping is a more reasonable default than leaving it disabled. Change the code to still allow boards to opt-out of this. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47956
* ar8216: Fix problem with AR8337 MAC swap handlingFelix Fietkau2015-06-14
| | | | | | | | | | | | | | | | | | | | | AR8337 supports a configuration bit to swap MAC0 and MAC6. Currently this is set in general if an AR8337 is detected and causes issues with devices using an AR8334 (internally an AR8337, just less chip pins). And it might even cause issues with AR8337-based devices with different board designs. Swapping the MAC's however isn't needed for AR8337 in general. It's just needed in case of certain board designs (affected devices seem to be based on Atheros reference board AP135/136-010). Therefore this configuration bit should be moved to platform data. The patch includes the needed changes to the device initialization code of affected devices. Hopefully I didn't miss any .. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 45970
* generic: ar8216: add custom LED support for the AR8327 switchGabor Juhos2014-01-20
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39338
* generic: ar8216: allow to specify SGMII config via platform dataGabor Juhos2013-05-30
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36798
* generic: ar8216: add get_port_link callbackGabor Juhos2013-05-30
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36797
* generic: ar8216: add sgmii_delay_en field to ar8327_platform_dataGabor Juhos2012-12-25
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34881
* generic: ar8316: allow to configure port 6 via platform data on AR8327Gabor Juhos2012-12-22
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34847
* generic: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_dataGabor Juhos2012-12-22
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34846
* generic: ar8216: allow to configure AR8327 LEDs via platform dataGabor Juhos2012-06-19
| | | | SVN-Revision: 32456
* generic: ar8216: add support for the AR8327 chipGabor Juhos2012-03-18
SVN-Revision: 31011