linux/arch/arm/mach-kirkwood
Sebastian Hesselbarth ebd7d3ab50 ARM: kirkwood: retain MAC address for DT ethernet
Ethernet IP on Kirkwood SoCs loose their MAC address register content
if clock gated. To allow modular ethernet driver setups and gated clocks
also on non-DT capable bootloaders, we fixup port device nodes with no
valid MAC address property. This patch copies MAC address register
contents set up by bootloaders early, notably before ethernet clocks
are gated. While at it, also reorder call sequence in _dt_init.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Reviewed-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Reviewed-by: Mike Turquette <mturquette@linaro.org>
Tested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
2013-10-08 16:59:21 +00:00
..
include/mach ARM: kirkwood: Add standby support 2013-10-08 15:41:52 +00:00
board-dt.c ARM: kirkwood: retain MAC address for DT ethernet 2013-10-08 16:59:21 +00:00
board-mv88f6281gtw_ge.c ARM: kirkwood: convert the mv88f6281gtw_ge board to DT 2013-08-06 16:14:12 +00:00
common.c ARM: kirkwood: Add standby support 2013-10-08 15:41:52 +00:00
common.h ARM: kirkwood: Add standby support 2013-10-08 15:41:52 +00:00
d2net_v2-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
irq.c ARM: Kirkwood: Fix sparse warnings. 2012-11-19 03:53:46 +00:00
Kconfig ARM: kirkwood: fix DT building and update defconfig 2013-08-12 18:44:28 +00:00
lacie_v2-common.c ARM: Kirkwood: Fix sparse warnings. 2012-11-19 03:53:46 +00:00
lacie_v2-common.h [ARM] Kirkwood: fix timer initialization for LaCie boards 2010-10-21 14:13:58 -04:00
Makefile ARM: kirkwood: Add standby support 2013-10-08 15:41:52 +00:00
Makefile.boot ARM: kirkwood: move new dtbs to common Makefile 2012-09-22 14:24:00 -07:00
mpp.c ARM: Kirkwood: handle mv88f6282 cpu in __kirkwood_variant(). 2013-06-06 18:16:04 +00:00
mpp.h ARM: orion: Fix Orion5x GPIO regression from MPP cleanup 2012-02-09 16:16:31 -08:00
netxbig_v2-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
openrd-setup.c arch/arm/mach-kirkwood: Avoid using ARRAY_AND_SIZE(e) as a function argument 2013-08-12 19:10:23 +00:00
pcie.c ARM: kirkwood: Move to ID based MBus window creation 2013-08-06 14:10:05 +00:00
pm.c ARM: kirkwood: Add standby support 2013-10-08 15:41:52 +00:00
rd88f6192-nas-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
rd88f6281-setup.c arch/arm/mach-kirkwood: Avoid using ARRAY_AND_SIZE(e) as a function argument 2013-08-12 19:10:23 +00:00
t5325-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
ts41x-setup.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
ts219-setup.c Kirkwood: Enable PCIe port 1 on QNAP TS-11x/TS-21x 2013-05-13 15:57:29 +00:00
tsx1x-common.c ARM: Kirkwood: Fix sparse warnings. 2012-11-19 03:53:46 +00:00
tsx1x-common.h ARM: 6265/1: kirkwood: move qnap_tsx1x_register_flash() to .init.text 2010-07-26 10:33:08 +01:00