freebsd-dev/sys/mips/atheros
Adrian Chadd 0348c9f480 Add in the platform specific quirks to get the AR934x SoC ethernet
up and running.

* The MAC FIFO configurations needed updating;
* Reset the MDIO block at the same time the MAC block is reset;
* The default divisor needs changing as the DB120 runs at a higher
  base MDIO bus clock compared to other chips.

The long-term fix is to allow the system to have a target MDIO bus
clock rate and then calculate the most suitable divider to meet
that.  This will likely need implementing before stable external
PHY or switch support can be committed.

Tested:

* AR9344 (mips74k)
* AR9331 (mips24k)
2013-10-16 03:11:18 +00:00
..
apb.c Fix interrupt handling from the APB periperals (ie, UART) - it 2013-10-09 02:01:20 +00:00
apbvar.h
ar71xx_bus_space_reversed.c
ar71xx_bus_space_reversed.h
ar71xx_chip.c Add new features - an MDIO clock, WMAC reset, GMAC reset and ethernet 2013-10-15 01:35:48 +00:00
ar71xx_chip.h MII related infrastructure changes. 2012-05-02 01:21:57 +00:00
ar71xx_cpudef.h Add new features - an MDIO clock, WMAC reset, GMAC reset and ethernet 2013-10-15 01:35:48 +00:00
ar71xx_ehci.c Fix AR933x USB support - this needs the same controller initialisation 2013-04-05 02:01:05 +00:00
ar71xx_fixup.c Introduce the matching PCI ath(4) fixup code from ar71xx_pci into 2012-04-20 08:26:05 +00:00
ar71xx_fixup.h Introduce the matching PCI ath(4) fixup code from ar71xx_pci into 2012-04-20 08:26:05 +00:00
ar71xx_gpio.c Remove the hardcoded limit for the number of gpio_pins that can be used. 2013-09-06 23:47:50 +00:00
ar71xx_gpiovar.h Remove the hardcoded limit for the number of gpio_pins that can be used. 2013-09-06 23:47:50 +00:00
ar71xx_machdep.c Fix the Atheros MIPS startup path a little. 2013-10-15 01:37:00 +00:00
ar71xx_ohci.c Implement better support for USB controller suspend and resume. 2011-12-14 00:28:54 +00:00
ar71xx_pci_bus_space.c
ar71xx_pci_bus_space.h
ar71xx_pci.c Mips Atheros AR71XX: make PCI base slot configurable through hints. 2013-01-06 20:50:31 +00:00
ar71xx_setup.c Implement some initial AR934x support routines. 2013-07-21 03:56:57 +00:00
ar71xx_setup.h Add AR9341, AR9342, AR9344 SoC types. 2013-07-08 06:10:29 +00:00
ar71xx_spi.c Add bus space barriers to the AR71xx SPI code. 2013-10-16 02:10:35 +00:00
ar71xx_wdog.c Preparation work for supporting the AR91xx and AR724x. 2010-08-19 02:03:12 +00:00
ar71xxreg.h Add some missing AR934x register definitions. 2013-10-09 03:19:05 +00:00
ar91xx_chip.c Add new features - an MDIO clock, WMAC reset, GMAC reset and ethernet 2013-10-15 01:35:48 +00:00
ar91xx_chip.h Add initial Atheros AR91XX support. 2010-08-19 11:40:10 +00:00
ar91xxreg.h Fix GPIO_MAXPINS calculation for the AR71xx, AR724x, AR913x SoC. 2011-05-06 02:45:02 +00:00
ar724x_chip.c Add new features - an MDIO clock, WMAC reset, GMAC reset and ethernet 2013-10-15 01:35:48 +00:00
ar724x_chip.h Add some initial AR724X chipset support. 2010-08-19 11:53:55 +00:00
ar724x_pci.c Ensure that BAR(0) is set for the PCI slot before the ath(4) PCI registers 2012-08-26 04:39:20 +00:00
ar724xreg.h Fix GPIO_MAXPINS calculation for the AR71xx, AR724x, AR913x SoC. 2011-05-06 02:45:02 +00:00
ar933x_chip.c Update the AR933x SoC support to include a few new knobs: 2013-10-15 03:23:08 +00:00
ar933x_chip.h Commit initial (unfinished!) support for the AR933x series of embedded 2013-03-27 03:38:58 +00:00
ar933x_uart.h * Fix clock register definitions 2013-03-29 06:32:02 +00:00
ar933xreg.h Add register definitions for the AR933x SoC GMAC (ie, ethernet MAC) 2013-10-14 23:57:12 +00:00
ar934x_chip.c Update the AR934x SoC support. 2013-10-15 03:28:32 +00:00
ar934x_chip.h Implement some initial AR934x support routines. 2013-07-21 03:56:57 +00:00
ar934xreg.h Add the rest of the AR934x SoC reset register definitions. 2013-10-14 23:58:52 +00:00
files.ar71xx Implement some initial AR934x support routines. 2013-07-21 03:56:57 +00:00
if_arge.c Add in the platform specific quirks to get the AR934x SoC ethernet 2013-10-16 03:11:18 +00:00
if_argevar.h Add in a write barrier after each if_arge write. 2013-10-16 02:46:00 +00:00
pcf2123_rtc.c
pcf2123reg.h
std.ar71xx Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH. 2012-03-29 02:54:35 +00:00
uart_bus_ar71xx.c Use the UART frequency when programming the UART clock. 2013-07-21 03:54:39 +00:00
uart_bus_ar933x.c Use the UART frequency when programming the UART clock. 2013-07-21 03:54:39 +00:00
uart_cpu_ar71xx.c Use the UART frequency when programming the UART clock. 2013-07-21 03:54:39 +00:00
uart_cpu_ar933x.c Use the UART frequency when programming the UART clock. 2013-07-21 03:54:39 +00:00
uart_dev_ar933x.c Implement the AR933x interrupt driven UART code. 2013-04-05 00:26:06 +00:00
uart_dev_ar933x.h Bring over the initial, CPU-only UART support for the AR933x SoC. 2013-03-28 19:27:06 +00:00